Table formula format string doesn't recognize %

2024-05-20 Thread Daniel Clemente
Hi, this stopped working, possibly after a related change to org-table-eval-formula 2 days ago. | a | b | percent of a in b | |++---| | 10 | 20 | #ERROR| | 20 | 30 | #ERROR| #+TBLFM: $3=($1/$2)*100;%.2f%% A simpler format string like ;%.2f also fa

[BUG] Reference chains (C refers to B refers to A) in tangle do not behave as expected [9.5.5 (release_9.5.5 @ /usr/local/share/emacs/28.2/lisp/org/)]

2024-05-20 Thread C. M. Sperberg-McQueen
Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See https://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org mailing list. ---

Re: Adding custom providers for thingatpt.el (was: [PATCH] Add support for 'thing-at-point' to get URL at point)

2024-05-20 Thread Jim Porter
On 5/20/2024 3:41 AM, Ihor Radchenko wrote: Jim Porter writes: + (when (boundp 'forward-thing-provider-alist) +(setq-local forward-thing-provider-alist +(cons '(url . org-next-link) + forward-thing-provider-alist))) According to the docstring, functi

Re: bug#66790: [BUG] org, ispell [9.6.6 (release_9.6.6 @ /Applications/Emacs.app/Contents/Resources/lisp/org/)]

2024-05-20 Thread Stefan Kangas
Ihor Radchenko writes: > Ihor Radchenko writes: > >> Confirmed. >> >> At this point, I feel that supporting isearch + text properties is an >> uphill battle. I was hoping to contribute isearch.el patch upstream, but >> apparently numerous other libraries (ispell, regexp-search, evil, >> swiper)

Re: [PATCH] Add org-after-note-stored-hook

2024-05-20 Thread General discussions about Org-mode.
Ihor Radchenko writes: > Right. Yet, using a hook is still not ideal - what if you configure todo > keywords to not store note at all in future? Then, the hook will never > be executed or will be executed at the time you don't expect. > > Note-taking mechanisms is generally tricky - it is sched

Re: org-babel shell in windows not finishing command

2024-05-20 Thread Ihor Radchenko
Ihor Radchenko writes: > This looks like Emacs bug, because the same problem with all that > boilerplate text happens when using shell-command-on-region. > > I reported it as > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=71081 > > Let's see what Emacs devs say. ... and they say that it is not

Re: org-babel shell in windows not finishing command

2024-05-20 Thread Ihor Radchenko
Ihor Radchenko writes: > Vlastimil Vondra writes: > >> after upgrading to 9.6. The output is exactly the same. > > It would be great if someone with access to Windows could debug this. No takers, so I went ahead with installing virtual machine. Confirmed. The culprit is the fact that org-babe

Re: [DISCUSSION] The meaning of :cmdline header argument across babel backends

2024-05-20 Thread Matt
On Fri, 03 May 2024 14:11:56 +0200 Ihor Radchenko wrote --- > Maybe instead use two different extra arguments: > :interpreter-args / :compiler-args ? > > Then, also :script-args / :program-args I'm okay with these. I can start on a patch for :script-args and :program-args withi

Re: [PATCH] function and symbol for headline and olp for org-capture-templates

2024-05-20 Thread Nafiz Islam
Sorry. I forgot to actually attach the patch. On Sun, May 19, 2024 at 7:34 PM Nafiz Islam wrote: > > would you consider doing the paperwork? > > Yes. I sent an email to ass...@gnu.org with the form. > > I've also updated the docstring for `org-capture-templates', filtered out > incorrect target,

Re: [PATCH] function and symbol for headline and olp for org-capture-templates

2024-05-20 Thread Nafiz Islam
> would you consider doing the paperwork? Yes. I sent an email to ass...@gnu.org with the form. I've also updated the docstring for `org-capture-templates', filtered out incorrect target, and updated `org-capture-expand-olp' to take file argument. Additionally, I added a few test cases to ensure

Re: [PATCH] org-manual: Rewrite opening section in Citation handling

2024-05-20 Thread Ihor Radchenko
Rens Oliemans writes: > Ihor Radchenko writes: > >> Thanks! I have incorporated all your suggestions into the new version of >> the patch (attached). > > Thanks, it looks good to me! Applied, onto main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=3f539bc3d -- Ihor Radchenk

Possible bug in sparse trees Todo keywords

2024-05-20 Thread Kepa
Sparse tree doesn't seem to work if the Todo states finishes with a dot. For example "PROJ." Best regards

Re: Using a custom environment for a src language

2024-05-20 Thread Ihor Radchenko
Rustom Mody writes: > I have my own Python environment called PYT. > #+BEGIN_PYT > contents > #+END_PYT > generates > > \begin{PYT} > org transcoded contents > \end{PYT} > > But I dont want org transcoded contents but verbatim contents. > > Is there some way to tell org? > 1. Translate the headli

Re: Saving some kitten, plus some questions along the way

2024-05-20 Thread Ihor Radchenko
Stefan Monnier writes: > OK, changed it to `with-current-buffer`. > > I pushed the resulting patch (along with three other patches resulting > from running the tests) to `scratch/org` on `elpa.git`. > > You can also find them attached, Thanks! > Subject: [PATCH 1/4] (org-*-in-calendar): Prefer

Re: [PATCH] function and symbol for headline and olp for org-capture-templates

2024-05-20 Thread Ihor Radchenko
Nafiz Islam writes: >> I've also updated the docstring for `org-capture-templates', filtered out >> incorrect target, and updated `org-capture-expand-olp' to take file >> argument. I do not think that it does what you expect. AFAIU, the idea was to pass the FILE and extra OLP arguments to the cu

Re: Adding custom providers for thingatpt.el (was: [PATCH] Add support for 'thing-at-point' to get URL at point)

2024-05-20 Thread Ihor Radchenko
Jim Porter writes: >> Ihor, I'll update the Org-mode part of this next and post the new patch >> for that to the Org list once it's ready. > > ... and here's the Org-mode patch for this. Thanks! > + (when (boundp 'forward-thing-provider-alist) > +(setq-local forward-thing-provider-alist >