[O] html export entire code block including template?

2019-04-15 Thread Lawrence Bottorff
I'm doing this: #+begin_example #+begin_src emacs-lisp :var table=sandbox :exports both (message "%S" table) #+end_src #+end_example to force html export into displaying the entire block, including the code block wrapper. Is there a more elegant way, perhaps in the #+begin line to tell export

[O] Automatically naming and linking to an external file

2019-04-15 Thread Marvin Doyley
Hi there, I trying to make a script that (a) automatically creates a file e.g. notes-04-15-2019.org (b) makes a link to notes-40-15-2019.org automatically in index.org under a specific heading (c) open

[O] Script for automatically linking to an external file

2019-04-15 Thread Doyley, Marvin M.
Hi there, I trying to make a script that (a) automatically creates a file e.g. notes-04-15-2019.org (b) makes a link to notes-40-15-2019.org automatically in index.org under a specific heading (c) open

Re: [O] [PATCH] ob-sql.el: Option to reference connections in `sql-connection-alist'

2019-04-15 Thread Stefano Rodighiero
On Mon, Apr 15, 2019 at 6:11 PM Nicolas Goaziou wrote: > Thank you. I applied your patch. > Great, thank you again for your help. > Could you also provide an entry in ORG-NEWS? > Attached. regards, s. -- www.stefanorodighiero.net From 802cbc9c8e631c4457934c4ad00b3c6ac2a62105 Mon Sep 17

Re: [O] Manual does not mention LEVEL special property

2019-04-15 Thread Nick Dokos
Nicolas Goaziou writes: > Hello, > > Omari Norman writes: > >> The Org mode manual does not mention the LEVEL special property; can you >> please add it? >> >> https://orgmode.org/manual/Special-properties.html > > I don't think LEVEL is a special property. Why do you think it should be > one?

Re: [O] part of table name in remote(NAME, ...) is mangled by org-edit-special

2019-04-15 Thread Tony E. Bennett
On Mon, Apr 15, 2019 at 6:30 AM Nicolas Goaziou wrote: > > "Tony E. Bennett" writes: > > > A reference to a table name such as '2019-Q1-X' is rewritten to '2019-@1 > $17-X' > > by org-edit-special. And also for '2019_Q1_X'. v9.2.3 > ... > > A workaround is to use 1Q instead of Q1

Re: [O] [PATCH] ob-sql.el: Option to reference connections in `sql-connection-alist'

2019-04-15 Thread Nicolas Goaziou
Hello, Stefano Rodighiero writes: > I am attaching a new patch that should address your remarks. > Also, see comments below. Thank you. I applied your patch. Could you also provide an entry in ORG-NEWS? Regards, -- Nicolas Goaziou

Re: [O] Manual does not mention LEVEL special property

2019-04-15 Thread Nicolas Goaziou
Hello, Omari Norman writes: > The Org mode manual does not mention the LEVEL special property; can you > please add it? > > https://orgmode.org/manual/Special-properties.html I don't think LEVEL is a special property. Why do you think it should be one? Regards, -- Nicolas Goaziou

[O] Converting tags to TODO states

2019-04-15 Thread garjola
Hi, For my GTD implementation with org-mode, I have been using the :next: tag for my next actions. I would like now to use a "NEXT" TODO keyword, which means that I need to convert all :next: tags with "TODO" headlines into "NEXT" headlines without the :next: tag. I have *a lot* of org files,

Re: [O] #+PROPERTY: header-args:C++ will not work

2019-04-15 Thread Alexandre Duret-Lutz
On Mon, Apr 15, 2019 at 2:53 PM Alexandre Duret-Lutz wrote: > Unfortunately, this does not work for C++ blocks. I just noticed that I could change all my C++ blocks into cpp blocks and then use header-args:cpp without any problem. The org-mode manual states that the identifier for the C++

[O] #+PROPERTY: header-args:C++ will not work

2019-04-15 Thread Alexandre Duret-Lutz
Hi, I'm currently simplifying some documentation that evaluates a lot of sh/python/C++ blocks by defining the :results and :exports flags commonly used in header-args properties like so: #+PROPERTY: header-args:sh :results verbatim :exports both #+PROPERTY: header-args:python :results output

Re: [O] Shrinking columns after formula recalculation

2019-04-15 Thread Nick Dokos
Nicolas Goaziou writes: > Hello, > > Nick Dokos writes: > >> But since no good deed shall go unpunished, here's another related >> problem I ran into: with shrunk columns, I add a few more rows to the >> table with S-RET on the first column, recalculate to populate the >> added rows and then do

Re: [O] part of table name in remote(NAME, ...) is mangled by org-edit-special

2019-04-15 Thread Nicolas Goaziou
Hello, "Tony E. Bennett" writes: > A reference to a table name such as '2019-Q1-X' is rewritten to '2019-@1$17-X' > by org-edit-special. And also for '2019_Q1_X'. v9.2.3 > > Test case: > > |---++| > | # | Q1 | 600.00 | > |---++| > > #+TBLFM:

Re: [O] Shrinking columns after formula recalculation

2019-04-15 Thread Nicolas Goaziou
Hello, Nick Dokos writes: > But since no good deed shall go unpunished, here's another related > problem I ran into: with shrunk columns, I add a few more rows to the > table with S-RET on the first column, recalculate to populate the > added rows and then do an undo. That undoes the results of