Re: Bug: :results raw replace header args for a code block don't replace [9.3.7 (9.3.7-18-g093b47-elpaplus @ /Users/skoshelev/.emacs.d/elpa/26.2/develop/org-plus-contrib-20200810/)]

2020-08-21 Thread Nick Dokos
TEC writes: > Julius Dittmar writes: >> as far as I know this is no bug. Reason: How could org tell where >> the old results end? There's no end marker. Thus instead of removing >> everything that follows, it refrains from removing anything. > > This is my understanding. It's also why I tend

Re: [ANN] Org-webring

2020-08-21 Thread Marvin ‘quintus’ Gülker
Am Freitag, dem 21. August 2020 schrieb Brett Gilio: > I hope this post is well received. Today marks the first stable release > of org-webring. Org-webring is an alternative implementation of a > feed-based webring, taking inspiration from openring by Drew DeVault. > Intended to integrate with

Re: configure separator in org-table-insert-hline

2020-08-21 Thread Vladimir Alexiev
> That will not work without changing Org syntax. Markdown and Org table are incompatible. I guess you're right re support for formulas, table export, table input/output from code, etc. But I don't expect any of that of Markdown tables. All I expect is that I can use table editing and alignment,

Indirect buffers, org-store-link, and org-insert-link

2020-08-21 Thread Maxim Nikulin
#+TITLE: Indirect buffers, ~org-store-link~, and ~org-insert-link~ #+begin_abstract It is inconvenient to work with links pointing to =CUSTOM_ID= anchors when indirect buffers are involved. Either file name is added to link or appropriate link target is not stored at all. #+end_abstract *

Re: configure separator in org-table-insert-hline

2020-08-21 Thread Nicolas Goaziou
Hello, Vladimir Alexiev writes: > org-table-insert-hline (org-table.el) inserts lines like this > |++| > > But I often use orgtbl-mode in markdown-mode, > and in markdown the hlines should be like this: > |||| > > Perhaps all that's needed is to make this conditional: >

Re: configure separator in org-table-insert-hline

2020-08-21 Thread Nicolas Goaziou
Vladimir Alexiev writes: > Here's some code that works for me. > It overwrites 2 org table functions, changing just one line (see "FIXED"). > Would be nice if this can be adopted in org; of course with a proper option > etc. You may suggest it to Markdown mode. I think this is a terrible idea

Re: configure separator in org-table-insert-hline

2020-08-21 Thread Vladimir Alexiev
> > You may suggest it to Markdown mode. I think this is a terrible idea for > Org mode: syntax should not be optional. > But I'm not talking about org-mode ! I'm talking about orgtbl minor mode. That minor mode is supposed to work in other modes (that's the whole purpose of its existence), and

Re: [ANN] Org-webring

2020-08-21 Thread Brett Gilio
Marvin ‘quintus’ Gülker writes: > Am Freitag, dem 21. August 2020 schrieb Brett Gilio: >> I hope this post is well received. Today marks the first stable release >> of org-webring. Org-webring is an alternative implementation of a >> feed-based webring, taking inspiration from openring by Drew

Re: Bug: :results raw replace header args for a code block don't replace [9.3.7 (9.3.7-18-g093b47-elpaplus @ /Users/skoshelev/.emacs.d/elpa/26.2/develop/org-plus-contrib-20200810/)]

2020-08-21 Thread TEC
Nick Dokos writes: TEC writes: :results raw drawer You mean `:results drawer'? There is no reason to include `raw'. Ah yes, I mean instead of "raw" use ":results drawer"  Timothy.

Re: configure separator in org-table-insert-hline

2020-08-21 Thread Nicolas Goaziou
Hello, Vladimir Alexiev writes: > But I'm not talking about org-mode ! > I'm talking about orgtbl minor mode. Of course you are talking about Org mode. You modified org-table-align, which is clearly an Org function. Also, Orgtbl minor mode is a part of Org. > That minor mode is supposed to

Bug: Infinite loop in org-agenda-dim-blocked-tasks

2020-08-21 Thread Al Haji-Ali
On the latest release (9.3.7), I am running into an infinite loop when clocking in a blocked task if `org-enforce-todo-dependencies` is set to `t`. The (manual) call stack is: org-agenda-clock-in org-agenda.el:9760 org-agenda-change-all-lines org-agenda.el:9391 org-agenda-finalize

Re: using completion on header name to insert link

2020-08-21 Thread Samuel Wales
thank you. i think the problem needs specifying better than i specified it. basically, i use org-refile for refile and goto, and i just want exactly the same thing for inserting links also. this is close to that other thread, but i want to emphasize that the goal is specifically to merely use

Re: [BUG] babel runs bash instead of zsh when sessions are used

2020-08-21 Thread Kyle Meyer
Rudi C writes: > #+BEGIN_SRC zsh :session z1 > echo $HOME $0 > #+END_SRC > > #+RESULTS: > : /Users/evar /bin/bash What version of Org are you using? I tried with both the latest release (9.3.7) and the current master branch (220f2b0d9), using default configuration aside from

Re: [bug] deleting backward char does not do undo-boundary

2020-08-21 Thread Samuel Wales
ah, so org did the remap and i tried to remap the remap? my brain is not working right now, but i think you might be right. in either case, your solution works and is straightforward. thank you. On 8/21/20, Kyle Meyer wrote: > Samuel Wales writes: > >> here is my code to try to fix it [note

Re: using completion on header name to insert link

2020-08-21 Thread Kyle Meyer
Samuel Wales writes: > i frequently use refile with ido to refile to and go to entries. > > is there a command to use the same completion to insert a link at point? > > for example, if i have an entry named pharmacy, and it has an org id, > i can refile to it or go to it using ido. > > but can i

Re: [bug] deleting backward char does not do undo-boundary

2020-08-21 Thread Kyle Meyer
Samuel Wales writes: > here is my code to try to fix it [note that i fix teh rest of emacs 25 > also]. but that one command does not accept the undo-boundary that i > call. i do not udnerstand why this is the case. Without looking at this too closely, I'd guess it's because ... >

Re: [bug] deleting backward char does not do undo-boundary

2020-08-21 Thread Kyle Meyer
Samuel Wales writes: > ah, so org did the remap and i tried to remap the remap? Yes, with the standard value for org-mode-map, here's what describe-variable (C-h v) says: (remap keymap ... (delete-backward-char . org-delete-backward-char)

Re: Bug: Total shown clocked time of inlinetask includes the clocking of the parent task [9.3.7 (release_9.3.7-783-gd307b6 @ /home/yantar92/.emacs.d/straight/build/org/)]

2020-08-21 Thread Kyle Meyer
Ihor Radchenko writes: > I have noticed that total clocked time shown while clocked-in into > inlinetask includes the clocked time of its parent task. > > Expected behaviour: only the clocking time for the inline task itself > should be shown. > > This can be fixed if org-clock-sum-current-item

Re: Bug: org-set-tags-command deletes inherited tags [9.3.7 (9.3.7-18-g093b47-elpaplus @ /home/ionasal/.emacs.d/elpa/org-plus-contrib-20200810/)]

2020-08-21 Thread Allen Li
Kyle Meyer writes: > That looks good as far as fixing the misbehavior you report. I wonder > though whether there's a deeper org-get-tags issue here worth > considering. Its documentation says > > ... the returned list of tags contains tags in this order: file > tags, tags inherited

configure separator in org-table-insert-hline

2020-08-21 Thread Vladimir Alexiev
org-table-insert-hline (org-table.el) inserts lines like this |++| But I often use orgtbl-mode in markdown-mode, and in markdown the hlines should be like this: |||| Perhaps all that's needed is to make this conditional: (concat "+"

Re: Bug: :results raw replace header args for a code block don't replace [9.3.7 (9.3.7-18-g093b47-elpaplus @ /Users/skoshelev/.emacs.d/elpa/26.2/develop/org-plus-contrib-20200810/)]

2020-08-21 Thread Julius Dittmar
Hi Sergey, Am 18.08.20 um 00:36 schrieb Sergey Koshelev: > When a source block (I have tested with python, see below) has `raw` > header arg it ignores `replace` argument. The result instead is prepended. > > Example: > > #+begin_src python :results output raw replace >   print('This line will be

Re: Bug: :results raw replace header args for a code block don't replace [9.3.7 (9.3.7-18-g093b47-elpaplus @ /Users/skoshelev/.emacs.d/elpa/26.2/develop/org-plus-contrib-20200810/)]

2020-08-21 Thread TEC
Julius Dittmar writes: as far as I know this is no bug. Reason: How could org tell where the old results end? There's no end marker. Thus instead of removing everything that follows, it refrains from removing anything. This is my understanding. It's also why I tend to use :results raw