Re: Proposal: 'executable' org-capture-templaes

2022-06-04 Thread Ihor Radchenko
Arthur Miller writes: > Hello again; I have been playing with this, and so far the biggest problem is > that I get too many ideas as longer I refactor the existing code :). :) > However, I have a question: would it be acceptable for org-capture to change > the > input model? > > I have

Re: [DISCUSSION] Refactoring fontification system

2022-06-04 Thread General discussions about Org-mode.
Ihor Radchenko writes: > Have you tried > #+begin_src http :pretty :wrap "src json :eval no" > ? It does work the same, thanks! -- Ted Reed

Re: [DISCUSSION, default settings] Using mailcap as default handler for opening file links (was: [PATCH v3] Re: Bug in 9.5.3 org--file-default-apps)

2022-06-04 Thread Greg Minshall
hi, Ihor, > It appears that using mailcap is giving us more trouble than benefits. > I am not sure about the situation on Windows and Mac though. > Should we change the default file handlers to Emacs globally (unless > user customizes otherwise)? Should we continue efforts to work around >

Re: Abbreviations support

2022-06-04 Thread John Kitchin
Org-ref supports this for glossaries and acronyms. See https://youtu.be/sebs2vSIEk4 For an overview. On Sat, Jun 4, 2022 at 6:13 AM Timothy wrote: > Hi Denis, > > > Is there support for abbreviations in org-mode? Something like what the > acro > > package provides for latex, i.e., assemble a

Re: Proposal: 'executable' org-capture-templaes

2022-06-04 Thread Arthur Miller
Ihor Radchenko writes: >>> The above statement is a hint that patches are welcome :) >> >> As said, I am not that well familiar with org in-depth, and with other places >> that might need to be factored out, so I don't promise anything. Initially I >> just got a quick idea while working on a

Re: [DISCUSSION] Refactoring fontification system

2022-06-04 Thread Ihor Radchenko
Ted Reed writes: > #+begin_src http :pretty :wrap example json > ... > In this case, ob-http seems to default to generating example blocks. I > realized I could add a bit there to get it to fontify as JSON. Have you tried #+begin_src http :pretty :wrap "src json :eval no" ? It should give the

[DISCUSSION, default settings] Using mailcap as default handler for opening file links (was: [PATCH v3] Re: Bug in 9.5.3 org--file-default-apps)

2022-06-04 Thread Ihor Radchenko
Max Nikulin writes: >> I am confused here. org-file-apps-gnu says that we rely on mailcap: >> >> ((remote . emacs) >> (system . mailcap) >> (t . mailcap)) >> >> So, is (3) following what you would expect from mailcap (regardless >> whether it is incorrectly configured or not)? Wrong

Re: [PATCH] lisp/org-persist.el (org-persist-gc): Fix pcase pattern

2022-06-04 Thread Ihor Radchenko
Leo Vivier writes: > Quick patch to fix a typo in a pcase pattern which quotes a function. > It results in `(function numberp foo)' when expanded, which in turns > throws `(wrong-number-of-arguments function 2)' when eval’d. Thanks! Applied onto main via cde5c5d78 adding a missing full-stop in

Re: Abbreviations support

2022-06-04 Thread Timothy
Hi Denis, > Is there support for abbreviations in org-mode? Something like what the acro > package provides for latex, i.e., assemble a list of all used abbreviations, > use > a full form when an abbreviation is used for the first time, the abbreviated > form afterwards. If that does not exist:

[PATCH] lisp/org-persist.el (org-persist-gc): Fix pcase pattern

2022-06-04 Thread Leo Vivier
Hi there, Quick patch to fix a typo in a pcase pattern which quotes a function. It results in `(function numberp foo)' when expanded, which in turns throws `(wrong-number-of-arguments function 2)' when eval’d. Best, -- Leo Vivier Freelance Software Developer Website: www.leovivier.com | Blog:

Re: Error with org-agenda with 9.5.3

2022-06-04 Thread Bastien Guerry
Hi Ihor, Ihor Radchenko writes: > Bastien, can we bump the Org version to 9.5.4 and trigger ELPA update? Done yesterday, thanks for the heads up. -- Bastien