Multiline Macros

2024-08-26 Thread Thuna
Here's a package which allows defining multiline Org macros via #+BEGIN_MACRO ... #+END_MACRO: https://git.sr.ht/~thuna/org-multiline-macro (I've also attached the elisp file here.) The README should explain it (hopefully) well enough, but I'll also try explain it here: - To def

Re: [BUG] org-protocol-store-link does not account for argument type

2022-01-27 Thread Thuna
> See the last paragraph of the docstring: > >> FNAME should be a property list. If not, an old-style link of the > ^^ >> form URL/TITLE can also be used." > > You pass a string for *new* URI style. I see, it seems I have misunderstood the documentation then. M

Re: [BUG] org-protocol-store-link does not account for argument type

2022-01-27 Thread Thuna
> Could you, please, describe your actual problem? Currently, org-protocol-store-link, as a function, fails to work for new-style links. Doing the following: 1. M-: (org-protocol-store-link "url=U&title=T") 2. M-x org-insert-link and accepting the suggestions for the link and the description i

[BUG] org-protocol-store-link does not account for argument type

2022-01-27 Thread Thuna
Currently org-protocol-store-link assumes FNAME to be in the old-style. Changing the nil in line 467 of org-protocol.el to (listp fname) fixes the issue.