[PATCH] lisp/org-capture.el: Add hook & hook options to org-capture

2022-02-06 Thread Valentin Herrmann
* lisp/org-capture.el: (org-capture-templates): Document the new template options. (org-capture-before-view-hook): Add new hook for parity with the template options. (org-capture): Implement the new template options. (org-capture-finalize): Implement the new template options. (org-capture-kill): Re

Re: [PATCH] Add support for $…$ latex fragments followed by a dash

2022-02-06 Thread Tim Cross
Rudolf Adamkovič writes: > João Pedro de Amorim Paula writes: > >> On 01 February 2022 22:00, Rudolf Adamkovič wrote: >> >>> Me, I cannot use any of these "pretty" features because, simply put, >>> they break plain text. For example, they cause misaligned tables and >>> make the text overflo

Re: [PATCH] org-list-send-item: allow dest to be a buffer position

2022-02-06 Thread Sacha Chua
Ihor Radchenko writes: >> Passing an integer representing a buffer position to org-list-send-item >> was failing because of the string-match-p, so here's something that lets >> integers skip that part. I have copyright assignment papers on file. > LGTM! Would you mind supplying a test for this fu

Re: Minor patch for org-attach.el

2022-02-06 Thread Stefan Monnier
> I pushed this to the development branch 'main' of Org. Perfect, thanks, Stefan

Re: Minor patch for org-attach.el

2022-02-06 Thread Marco Wahl
Stefan Monnier writes: > Here's a patch which cleans up some magic numbers in > `org-attach.el` and gets rif of the use of the second arg of `commandp`, > by making `org-attach-commands` accept any commands (including keyboard > macros). > > > Stefan > > > diff --git a/lisp/org/org-attach

Minor patch for org-attach.el

2022-02-06 Thread Stefan Monnier
Here's a patch which cleans up some magic numbers in `org-attach.el` and gets rif of the use of the second arg of `commandp`, by making `org-attach-commands` accept any commands (including keyboard macros). Stefan diff --git a/lisp/org/org-attach.el b/lisp/org/org-attach.el index 36c21b

Re: [PATCH] Add support for $…$ latex fragments followed by a dash

2022-02-06 Thread Rudolf Adamkovič
João Pedro de Amorim Paula writes: > On 01 February 2022 22:00, Rudolf Adamkovič wrote: > >> Me, I cannot use any of these "pretty" features because, simply put, >> they break plain text. For example, they cause misaligned tables and >> make the text overflow the fill column, which I keep at 72

Re: Lazy load of org-protocol

2022-02-06 Thread Jim Porter
On 2/6/2022 8:42 AM, Max Nikulin wrote: On 06/02/2022 01:27, Jim Porter wrote: As a result, I think a good first step might be to add support for "--funcall" to emacsclient, just like the regular emacs binary. (The "-f" shorthand won't work though, since emacsclient already uses that for "--se

Re: Request For Approval To Contribute To Org Mode

2022-02-06 Thread Corwin Brust
On Sun, Feb 6, 2022 at 1:28 PM Samuel Banya wrote: > > Hey there, > > I can't find my previous email thread, but I asked if anyone could approve my > Sourcehub registration to be able to make commits to Org Mode's repo going > forward. > > I wasn't sure if Bastien was around to do this though, s

Request For Approval To Contribute To Org Mode

2022-02-06 Thread Samuel Banya
Hey there, I can't find my previous email thread, but I asked if anyone could approve my Sourcehub registration to be able to make commits to Org Mode's repo going forward. I wasn't sure if Bastien was around to do this though, so I wanted to check in about this. Thanks, Samuel Banya

Re: Shell SRC blocks under Windows

2022-02-06 Thread H. Dieter Wilhelm
Matt writes: > On Sat, 05 Feb 2022 17:22:29 -0500 Matt wrote > > > > But I'm not sure if I'm halfway there with "sh"? I need to run the > > > following MSYS2 command AND switch between two arguments (for building > > > Emacs). > > > > > > \MSYS2\msys2_shell.cmd -mingw64

Re: Lazy load of org-protocol

2022-02-06 Thread Max Nikulin
On 06/02/2022 01:27, Jim Porter wrote: On 2/5/2022 3:54 AM, Max Nikulin wrote: etc/emacsclient-mail.desktop in the Emacs repo does this.) The command to use for a new Emacs instance is simple:   emacs -f message-mailto %u However, doing this for emacsclient is harder:   emacsclient --alter

Re: Shell SRC blocks under Windows

2022-02-06 Thread Matt
On Sat, 05 Feb 2022 17:22:29 -0500 Matt wrote > > But I'm not sure if I'm halfway there with "sh"? I need to run the > > following MSYS2 command AND switch between two arguments (for building > > Emacs). > > > > \MSYS2\msys2_shell.cmd -mingw64 > > > > and > > >

[PATCH] lisp/org-capture.el: Add hook & hook options to org-capture

2022-02-06 Thread Valentin Herrmann
* lisp/org-capture.el: (org-capture-templates): Document the new template options. (org-capture-before-view-hook): Add new hook for parity with the template options. (org-capture): Implement the new template options. (org-capture-finalize): Implement the new template options. (org-capture-kill): Re

Suggestion about org-num

2022-02-06 Thread Ypo
I am not sure if this is the proper place to make this suggestion, and I know you are working hard, but there is a thing about /org-num-mode/ that I miss since day 1. To be a better asset in reading or studying directly from org-mode, I think it could be a good addition the numbered headlines

Re: [PATCH] update ob-scheme to latest changes in geiser package

2022-02-06 Thread Ihor Radchenko
The patch appears to solve the real issue others already experience. See https://list.orgmode.org/20220205221049.ymkzevpc2ivlxwbc@bob-mtu/T/#t Dear Felipe, Could you kindly update the patch as requested by Max? Best, Ihor

Re: [PATCH] org-list-send-item: allow dest to be a buffer position

2022-02-06 Thread Ihor Radchenko
Sacha Chua writes: > Passing an integer representing a buffer position to org-list-send-item > was failing because of the string-match-p, so here's something that lets > integers skip that part. I have copyright assignment papers on file. LGTM! Would you mind supplying a test for this function?

Re: [PATCH] org-agenda: Skip formatting if format string is ""

2022-02-06 Thread Ihor Radchenko
Samim Pezeshki writes: > This commit prevents having extra spaces when the TODO format string is an > empty string (""). It was not working properly, with this patch now it > works correctly. Thanks for the patch! > (concat > (substring x 0 (match-end 1)) > ...