Re: [O] Bug: org-paste-subtree may delete headline at point [9.1.14 (release_9.1.14-961-g5abfde)]

2018-10-04 Thread Nicolas Goaziou
Hello, Dale Sedivec writes: > Hi, I think I may have found a bug in org-paste-subtree in master branch > where it will delete the content of the headline at point before yanking. > Steps to reproduce: > > 1. Start a fresh Emacs along the lines of: > > mkdir /tmp/fake-home > cd /tmp/fake-home > g

[O] Bug: org-paste-subtree may delete headline at point [9.1.14 (release_9.1.14-961-g5abfde)]

2018-10-04 Thread Dale Sedivec
Hi, I think I may have found a bug in org-paste-subtree in master branch where it will delete the content of the headline at point before yanking. Steps to reproduce: 1. Start a fresh Emacs along the lines of: mkdir /tmp/fake-home cd /tmp/fake-home git clone https://code.orgmode.org/bzg/org-mode.

Re: [O] Calculate differences of remote table numbers

2018-10-04 Thread Nick Dokos
Karl Voit writes: >> >> @# is the row number, so to refer to that row, you need @@#. Something like >> this, >> although I didn't test to see if everything gets parsed correctly: >> >> #+TBLFM: $2=if(2 == @#, 0, remote(my-table,@@#$1))::$3=if(2 == @#, >> 0, remote(my-table,@@#-1$1))::$4=if(2 ==

Re: [O] org-babel-detangle issue on 9.1.14

2018-10-04 Thread Brad Knotwell
Thanks for the response.  At a minimum, I'd recommend changing the error message from "Not in a source block" to something more descriptive as most people's initial response will be, "uhhh, but it looks like I am."   Ideally, an additional comment marker would delineate the source block from the

Re: [O] org-babel-detangle issue on 9.1.14

2018-10-04 Thread Grant Rettke
On Thu, Oct 4, 2018 at 2:09 AM Brad Knotwell wrote: > I've been playing with org-babel-detangle and I've noticed something that's > either a bug or a limitation. It's confusing enough that > it's worth writing down if it's expected. Basically, it doesn't work if > there are variables defined i

[O] [RFC] Replace lambda functions added to org-mode-hook with named funcs

2018-10-04 Thread Kaushal Modi
Hello, Yesterday, while helping someone out[0] with why their custom functions added to org-mode-hook didn't work, I asked them to reveal the value of org-mode-hook, and they presented this as the default value of org-mode-hook once Org was loaded: = '(org-mode-hook (quote (#[0 "\300\3

Re: [O] org-babel: capturing the output of a shell command that does not return

2018-10-04 Thread Grant Rettke
On Wed, Sep 19, 2018 at 3:35 PM wrote: > Maybe there is another way to run the shell command and extract the file name > I need (in elisp?), but I don't know how. What if you start Emacs, have it create a temp file, then in a separate terminal start Jupyter with stdout redirected to that file.

Re: [O] Section on #+include keyword is missing quite some info in the org-manual.org

2018-10-04 Thread Kaushal Modi
On Mon, Oct 1, 2018 at 3:25 PM Kaushal Modi wrote: > I was thinking of adding cindices like the ones you added for header > arguments. > > #+cindex: @samp{minlevel}, include > #+cindex: @samp{lines}, include > .. etc. > > Would that be OK? > I went ahead as this wasn't a major edit, and committe

[O] blogging with lazyblorg (was: Visualizing org files)

2018-10-04 Thread Karl Voit
* Marcelo de Moraes Serpa wrote: > > Oh wow Karl, lot's of 'hidden' gems there. Thanks. Glad that you like it. Consider following Atom/RSS feeds of https://karl-voit.at/ to get updates on my PIM/Emacs activity. I hope that I'm going to implement tag-specific feeds so that you are able to follow

Re: [O] Calculate differences of remote table numbers

2018-10-04 Thread Karl Voit
Hi Nick, * Nick Dokos wrote: > Karl Voit writes: > >> I'd like to calculate the differences between rows of numbers of a >> different table. >> >> Here is a minimal example showing the issue: >> >> #+NAME: my-table >> | Numbers | >> >> |-| >> | 1 | >> | 5