Re: Inserting org-mode heading links the org-refile way

2020-05-03 Thread Ihor Radchenko
If I understand you correctly, the following code should achieve what you want. The code reuses org-refile interface to complete id: links. (defun org-id-prompt-id () "Prompt for the id during completion of id: link." (let ((org-refile-history nil) (org-refile-cache nil)

Re: Tricking org-mode into using markdown conventions

2020-05-03 Thread Ihor Radchenko
> I did a quick test, and it seems > that =prettify-symbols-alist= (which is what this code uses) can only > replace for a single character, so I was not able to make it display > the three backticks, but there might be other techniques that can be > used. Yes, there is another technique. See

Inserting org-mode heading links the org-refile way

2020-05-03 Thread Daryl Manning
I use ivy and org-refile to process my inbox.org file hyper-efficiently and get things into my GTD system. In a recent discussion on org-roam (which nicely links to files in a nice wiki-like manner) it occurred to me if I had a similar interface to search for headlines in the manner of org-refile

[PATCH] Allow org-capture-mode-hook to access org-capture-current-plist [9.3.6 (release_9.3.6-443-g0e8aff @ /home/n/.emacs.d/straight/build/org/)]

2020-05-03 Thread No Wayman
I'm proposing the following trivial patch to bring more consistency to org-capture-mode's hooks. By setting org-capture-current-plist before invoking org-capture-mode in the capture buffer, users can access the same variable in org-capture-mode-hook as they would in

Re: Tricking org-mode into using markdown conventions

2020-05-03 Thread Diego Zamboni
Hi Daryl, If it's for display purposes only, you might be able to simply use display substitutions for things to appear the way you want. For example, I use the technique described here: https://pank.eu/blog/pretty-babel-src-blocks.html to replace the begin/end_src strings with symbols. I did a

Tricking org-mode into using markdown conventions

2020-05-03 Thread Daryl Manning
While using C-c C-, is easy enough for insertion and such, I was wondering if there was any way of having org-mode honour markdown conventions for things like code fences and quotes. ``` elisp #+begin_src #+end_src #+begin_quote #+end_quote ``` being a bit nicer to read with ``` go code block

Re: error message at line break

2020-05-03 Thread Étienne Deparis
Hello, sam. 02 mai 2020 à 19:33, m...@nicolasgoaziou.fr a écrit : > [...] > >> I confirm that I've the same variable set in my Emacs config file: >> >> (setq-default auto-fill-function 'do-auto-fill) >> >> Which I take from the Emacs Wiki AutoFill page¹, with the explanation >> of: « If you

Bug: Code block returned no value [9.1.9 (release_9.1.9-65-g5e4542 @ /usr/share/emacs/26.3/lisp/org/)]

2020-05-03 Thread Greg Minshall
hi. i'm running R code from an org mode file. i was having a problem where a code block that *was* returning a value result was not returning the results into the buffer. (after long head-scratching) this appears to be because my code was returning more lines of results than

Re: TODO or checkboxes in org tables

2020-05-03 Thread Axel Kielhorn
> Am 02.05.2020 um 21:33 schrieb Uwe Brauer : > "AK" == Axel Kielhorn writes: > > Hi Alex, > > I am not sure my first answer made it, so I apologize for a possible > crossposting. It didn’t reach me. > A last question, which the command to generate the table >

Manual 7.5.3 Capturing column view outdated

2020-05-03 Thread Axel Kielhorn
Hello, while exchanging mails with Uwe Brauer I discovered some errors in the manual: 7.5.3 Capturing column view links to A.6 Dynamic Blocks which describes org-dynamic-block-insert-dblock But this commands does not know about columnview Further down it says: C-c C-x i