Re: [PATCH] minor typo fix in org-tutorials/org-protocol-custom-handler.org

2021-08-14 Thread Eric Abrahamsen
Tim Cross writes: > this is a trivial fix and should be applied. > > Atlas Cove writes: > >> From: Atlas48 >> >> As it says, this is a minor fix to worg. Turns out I have push access; in it goes!

Re: [PATCH] minor typo fix in org-tutorials/org-protocol-custom-handler.org

2021-08-14 Thread Tim Cross
this is a trivial fix and should be applied. Atlas Cove writes: > From: Atlas48 > > As it says, this is a minor fix to worg. > > --- > org-tutorials/org-protocol-custom-handler.org | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

Re: [PATCH] Rename headline to heading

2021-08-14 Thread Tim Cross
this patch looks pretty good to me. My only suggestion is that the need to update capture templates be made more explicit in the NEWS.org file. I'm assuming this patch would only be applied to the next release and not maint branch. Probably important to try and apply this before the main branch

Re: [PATCH] Rename headline to heading

2021-08-14 Thread Tim Cross
Maxim Nikulin writes: > On 05/08/2021 19:12, André A. Gomes wrote: >> @@ -963,7 +963,7 @@ Store them in the capture property list." >> (org-capture-put-target-region-and-position) >> (goto-char position)) >> (_ (error "Cannot find target ID \"%s\"" id >> -

Smart quotes for Greek (questions for a possible patch)

2021-08-14 Thread Juan Manuel Macías
Hi, I would like to submit a patch to add smart quotes for Greek in `org-export-smart-quotes-alist', but I have a couple of questions. First of all, I am not a native speaker of Greek but of Spanish, so I would also like to have the opinion of some Greek native speaker, to see if my solutions

Re: Custom function for killing the thing at point

2021-08-14 Thread Ihor Radchenko
John Kitchin writes: > alternatively, fall back to org-mark-element. I am not sure what > differences in what you are trying to achieve and this are, but this should > cover all org elements: Sounds more reasonable as a default. (org-mark-element) will mark everything including affiliated

Re: Function for retrieving the link of an Org Mode buffer

2021-08-14 Thread John Kitchin
I would probably do it like this: (org-element-map (org-element-parse-buffer) 'link (lambda (lnk) (let ((lnkplist '())) (setq lnkplist (plist-put lnkplist :link (org-element-property :raw-link lnk))) (when (org-element-property :contents-begin lnk) (setq lnkplist (plist-put

Re: Custom function for killing the thing at point

2021-08-14 Thread John Kitchin
alternatively, fall back to org-mark-element. I am not sure what differences in what you are trying to achieve and this are, but this should cover all org elements: (defun org-kill-element () (interactive) (org-mark-element) (call-interactively #'kill-region)) John

Re: return column from table as a column

2021-08-14 Thread Maxim Nikulin
On 13/08/2021 21:17, Roger Mason wrote: I need to extract a column from a table to use as input to a source block. I want the extracted column to be returned as a column but it is returned as a row. The following illustrates the problem: #+name: s1 | scale | scale1 | scale3 | jid | | -

Re: return column from table as a column

2021-08-14 Thread Roger Mason
Hello Juan, Juan Manuel Macías writes: > You're welcome. Just a minor fix: although the code works fine, > naturally the asterisk in `let' was unnecessary. This is a new version > with the code explained, in case you find it useful: > > #+begin_src emacs-lisp :var data=s1 col=3 > (let* ( >