Re: [O] Org src blocks and multiline macros

2018-08-02 Thread Jarmo Hurri
"Berry, Charles" writes: > ob-org does not provide for variables AFAICS. I have been trying to advocate for multiline macros for years, because those are the _only_ thing I am really missing in org, again and again. For example, right now I am writing teaching material where I need to reuse cer

Re: [O] BUG in ob-scheme WAS: Re: Babel: verbatim results yield a table

2018-08-02 Thread Jarmo Hurri
"Berry, Charles" writes: >> The org manual states that in the :results header argument of a block >> >> verbatim Interpret literally and insert as quoted text. Do not create a >> table. Usage example: :results value verbatim > > Unfortunately, `org-babel-scheme--table-or-string' does not

Re: [O] Org speed keys anywhere

2018-08-02 Thread Kyle Meyer
orguser writes: [...] > A few days ago a method was posted to emacs-devel which allows > the user to use single key bindings in editor buffers too: > > https://lists.gnu.org/archive/html/emacs-devel/2018-07/msg01136.html Looks like a nice idea. I hope someone does take the time to make it into

[O] BUG in ob-scheme WAS: Re: Babel: verbatim results yield a table

2018-08-02 Thread Berry, Charles
> On Aug 2, 2018, at 5:19 AM, Jarmo Hurri wrote: > > > Greetings. > > The org manual states that in the :results header argument of a block > > verbatim Interpret literally and insert as quoted text. Do not create a > table. Usage example: :results value verbatim Unfortunately, `or

Re: [O] Org src blocks and multiline macros

2018-08-02 Thread Berry, Charles
> On Aug 2, 2018, at 5:32 AM, Jarmo Hurri wrote: > >> >> Org macros don't get evaluated inside src blocks as far as I know. But >> Noweb might help you. Look for this feature in Org manual. I use Noweb as >> "macros for src blocks". > Me, too. But maybe Jarmo just wants a template for some

Re: [O] [solved] target file of capture template does not save

2018-08-02 Thread tom
On Thu, Aug 2, 2018 at 8:13 AM tom wrote: > You guys are so skillful and awesome you helped me without saying a word! > > After looking around at > > https://emacs.stackexchange.com/questions/477/how-do-i-automatically-save-org-mode-buffers > > I just added a third hook, > (add-hook 'org-capture-

Re: [O] target file of capture template does not save

2018-08-02 Thread tom
You guys are so skillful and awesome you helped me without saying a word! After looking around at https://emacs.stackexchange.com/questions/477/how-do-i-automatically-save-org-mode-buffers I just added a third hook, (add-hook 'org-capture-mode-hook 'org-save-all-org-buffers) I'll mark this solve

Re: [O] Org src blocks and multiline macros

2018-08-02 Thread Jarmo Hurri
>> I am once again facing a situation where I would like to define a >> multiline org macro. > > > I'm not sure what that means, but based on your example a different > solution might work for you. > > 2. If not, could we have this feature? This would give us immediate >>multiline macros in t

[O] Babel: verbatim results yield a table

2018-08-02 Thread Jarmo Hurri
Greetings. The org manual states that in the :results header argument of a block verbatim Interpret literally and insert as quoted text. Do not create a table. Usage example: :results value verbatim The quote above is from https://orgmode.org/manual/results.html Given this descriptio

[O] Org speed keys anywhere

2018-08-02 Thread orguser
Org has a speed keys feature, so that at the beginning of headlines one can use single key commands:   https://orgmode.org/manual/Speed-keys.html     A few days ago a method was posted to emacs-devel which allows the user to use single key bindings in editor buffers too:   https://lists.gnu

Re: [O] Org src blocks and multiline macros

2018-08-02 Thread Kaushal Modi
Hello, On Thu, Aug 2, 2018, 2:34 AM Jarmo Hurri wrote: > > Greetings. > > I am once again facing a situation where I would like to define a > multiline org macro. I'm not sure what that means, but based on your example a different solution might work for you. 2. If not, could we have this fea