Re: [O] function for inserting a block

2017-12-10 Thread Thorsten Jolitz
Hello, this is a long thread so I did not read everything, just want to mention that in org-dp.el I did something similar using - tempo templates (for a programmer who wants to insert an org-dp-create call in his emacs-lisp program) and - a universal (org) prompt function for a user who wants t

Re: [O] [patch] structure snippet completions

2017-12-10 Thread Rasmus
"Berry, Charles" writes: >> On Dec 8, 2017, at 1:20 PM, Rasmus wrote: >> > >>> >>> A minor gotcha: if you `(require 'org-tempo)' after an org buffer has >>> been created you will need to (org-mode-restart) the buffer to enable >>> completions. I got stuck trying to add custom templates until

Re: [O] Poll: new keybinding for org-insert-structure-template?

2017-12-10 Thread Rasmus
Eric Abrahamsen writes: > Hello all, > > Rasmus' org-tempo patch has landed, and it's time to make a few > adjustments to org-insert-structure-template: I think we're moving to > string keys in the template alist, rather than character keys, Let me know when you want me to do the change to strin

Re: [O] Bug: shiftmeta[left|right] on multi line items [9.1.2 (release_9.1.2-40-g6ca906 @ /usr/local/share/emacs/27.0.50/lisp/org/)]

2017-12-10 Thread Nicolas Goaziou
Hello, Nathan Aclander writes: > Using ^ as point like you did, what I am expecting to happen is: > > Case 1: > > * Heading > > - foo > - ^bar > second bar line > > M-S-left/right moves > > - bar > second bar line > > left and right. > > Case 2: > > - foo > - bar > ^second bar l

Re: [O] Bug: shiftmeta[left|right] on multi line items [9.1.2 (release_9.1.2-40-g6ca906 @ /usr/local/share/emacs/27.0.50/lisp/org/)]

2017-12-10 Thread Nathan Aclander
Nicolas Goaziou writes: > This is confusing because it is ambiguous. The same point could > correspond to a table, multiple lists, and multiple headings, all > reclaiming S-M-left binding. I think I agree with your point that having the S-M-left bindings overloaded by other modes reclaiming S-M-

Re: [O] Poll: new keybinding for org-insert-structure-template?

2017-12-10 Thread Eric Abrahamsen
Rasmus writes: > Eric Abrahamsen writes: > >> Hello all, >> >> Rasmus' org-tempo patch has landed, and it's time to make a few >> adjustments to org-insert-structure-template: I think we're moving to >> string keys in the template alist, rather than character keys, > > Let me know when you want

[O] Parsing org table from Linux command line

2017-12-10 Thread ST
Hello, I have an org table and its third column are emails. I would like to send an email from command line (with the "mail" cli tool) to all those addresses. 1. How do I extract them from the table and pass to CC of "mail"? 2. Is the same possible somehow if I have several tables with different

[O] BUG: TODO statistics in parent heading prevent evaluation of TODOs with TRIGGER property

2017-12-10 Thread Adrian Bradd
Hi, Please see the patch attached. When completing a TODO with a TRIGGER property that has statistics in the parent headline the trigger would not evaluate because the :position property in `change-plist' may now refer to the line above the original TODO. I have used a marker to avoid the issue

Re: [O] BUG: TODO statistics in parent heading prevent evaluation of TODOs with TRIGGER property

2017-12-10 Thread Nicolas Goaziou
Hello, Adrian Bradd writes: > Please see the patch attached. > > When completing a TODO with a TRIGGER property that has statistics in the > parent headline the trigger would not evaluate because the :position > property in `change-plist' may now refer to the line above the original > TODO. > >

Re: [O] bug report: + is not escaped in org-link-escape

2017-12-10 Thread Nicolas Goaziou
Hello, dmg writes: > org-link-escape only replaces space, [, ], and % > > but search in google/gmail is replacing + also. > > The simplest solution is to add 43 to org-link-escape-chars: > >org-link-escape-chars is a variable defined in ‘org.el’. >Its value is (32 91 93 37) > > This va

Re: [O] Still there are some places that the new org-babel markers are not unified yet

2017-12-10 Thread Nicolas Goaziou
Hello, stardiviner writes: > By default, the org-babel markers is lower-case now. > But I found in the following case, it is upper-case still. > ``` > > #+begin_src clojure :results code :wrap src html > (:body (clj-http.client/get "http://localhost:80";)) > #+end_src > > > #+RESULTS: > > #+BEGI

Re: [O] BUG: TODO statistics in parent heading prevent evaluation of TODOs with TRIGGER property

2017-12-10 Thread Adrian Bradd
Hello, ECM: * Top-Heading with process indicator [/] ** TODO Here I invoke org-todo to DONE :PROPERTIES: :TRIGGER: 2021-12-03-target(TODO) :END: ** This should be changed to TODO :PROPERTIES: :ID: 2021-12-03-target :END: If you run org-todo on the "Here I invoke org-todo to DONE" headline the

Re: [O] BUG: TODO statistics in parent heading prevent evaluation of TODOs with TRIGGER property

2017-12-10 Thread Adrian Bradd
I should probably add that this will require org-depend.el to be loaded. On 10 December 2017 at 17:50, Adrian Bradd wrote: > Hello, > > ECM: > > * Top-Heading with process indicator [/] > > ** TODO Here I invoke org-todo to DONE > :PROPERTIES: > :TRIGGER: 2021-12-03-target(TODO) > :END: > > **

[O] Bug: Inline src block results no longer exported

2017-12-10 Thread Berry, Charles
This commit --- commit 5f5d82ed516b7b385a9258271becbfa247e94af3 Author: Nicolas Goaziou Date: Tue Nov 21 22:25:17 2017 +0100 Remove second pass for macro expansion --- breaks the processing of inline src block results wrapped as {{{results(=my result=)}}}. ECM: Copy the follow org

[O] Problem with J Source Code Blocks in Org Mode

2017-12-10 Thread Bill Harris
I recently tried to set up J as described in http://orgmode.org/worg/ org-contrib/babel/languages/ob-doc-J.html, starting by loading j-mode from stable melpa, but I get an org-babel error output when I try to execute a J source code block: "/bin/bash: jconsole: command not found". That makes it so

Re: [O] Parsing org table from Linux command line

2017-12-10 Thread John Kitchin
Check out Listing 7 in http://pubs.acs.org/doi/pdf/10.1021/acscatal.5b00538. It is a pretty minimal Python script to get data from a table. You could then use it to print column 3 to stdout maybe so it could get piped to mail, or build up some command you can call. ST writes: > Hello, > > I have

[O] Irrelevant src blocks can break noweb expansion

2017-12-10 Thread Berry, Charles
I used to avoid this by `(setq org-babel-use-quick-and-dirty-noweb-expansion t)'. This illustrates the issue: #+begin_src org ,* abc ,#+begin_src R :comment (message "running on empty") ,#+end_src ,#+begin_src R :noweb yes 1 ,#+end_src #+end_src The irrelevant, unnamed, empty

Re: [O] bug report: + is not escaped in org-link-escape

2017-12-10 Thread D M German
Nicolas Goaziou twisted the bytes to say: Nicolas> Hello, Nicolas> dmg writes: >> org-link-escape only replaces space, [, ], and % >> >> but search in google/gmail is replacing + also. >> >> The simplest solution is to add 43 to org-link-escape-chars: >> >> org-link-escape-chars is