Re: [BUG] cache file conflict? [9.7-pre (release_9.6.29-1441-gaa71fa @ /home/minshall/.emacs.d/straight/build/org/)]

2024-05-18 Thread Greg Minshall
hi, Ihor, i have a recurrence of the same problem. see below. cheers, Greg Subject: [BUG] still fails... [9.7-pre (release_9.6.29-1441-gaa71fa @ /home/minshall/.emacs.d/straight/build/org/)] Fcc: outbox X-Mailer: MH-E 8.6+git; nmh 1.8; Emacs 30.0.50 >

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

2024-05-18 Thread Rens Oliemans
Ihor Radchenko writes: > Thanks! I have incorporated all your suggestions into the new version of > the patch (attached). Thanks, it looks good to me! > Yes, it is. Applying diff is easy - easier than manually editing the > changes according to comments in the email. Great, good to know.

Re: LOGBOOK drawer now being created with blank line afterwards

2024-05-18 Thread Kris Nelson
On 2024-05-17 05:22, Ihor Radchenko wrote: Fixed, on main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=288c7069c Thanks Kris for reporting, and thanks Rens for hunting down the cause! Thanks for the prompt fix, Ihor! I tested it out and confirmed I'm not seeing a blank

Re: Using search options in HTTP-style links

2024-05-18 Thread Ihor Radchenko
Joseph Turner writes: >> You probably meant to link to some different ticket here. > > https://todo.sr.ht/~ushin/ushin/188 So, you want an equivalent of `org-safe-remote-resources'. Generally, we might eventually move it to Emacs core, making a more general Emacs safety framework with unified

Re: Using search options in HTTP-style links

2024-05-18 Thread Joseph Turner
Ihor Radchenko writes: > Joseph Turner writes: > >>> The case with hyperdrive.el is not the same. >>> You may want to discuss it on emacs-devel. >> >> Thank you! It is a good idea to get more input on securing >> hyperdrive.el. For now, I went through bug#58744 and took some notes in >> two

Saving some kitten, plus some questions along the way

2024-05-18 Thread Stefan Monnier
The patch below replaces a use of `eval` with `apply`, but along the way I wondered about some of the details of `org-eval-in-calendar` (see the FIXMEs), the most important of them being: why doesn't it use `with-selected-window`? Assuming the change from `eval` to `apply` is OK, I'll upgrade my

Re: [POLL] Dealing with +1m/y repeaters when jumping to impossible date (should 05-31 +1m be 07-01 or 06-30?)

2024-05-18 Thread Ihor Radchenko
Stefan Nobis writes: > Ihor Radchenko writes: > >> It does not have to be lost. We can adjust the repeater function to >> handle negative dates/months specially, so that > >> [2024-05--1 +1m] -> [2024-06--1 +1m] > > Hmmm... I do not like, that here the wrong month is displayed. On a > cursory

Re: [POLL] Dealing with +1m/y repeaters when jumping to impossible date (should 05-31 +1m be 07-01 or 06-30?)

2024-05-18 Thread Stefan Nobis
Ihor Radchenko writes: > It does not have to be lost. We can adjust the repeater function to > handle negative dates/months specially, so that > [2024-05--1 +1m] -> [2024-06--1 +1m] Hmmm... I do not like, that here the wrong month is displayed. On a cursory look, it's easy to assume the wrong

Re: [POLL] Dealing with +1m/y repeaters when jumping to impossible date (should 05-31 +1m be 07-01 or 06-30?)

2024-05-18 Thread Ihor Radchenko
Stefan Nobis writes: > Ihor Radchenko writes: > >> +1m! is awkward - what if [2024-05-12 +1m!]? > > You are right. I have not really spent time to think about a nice > syntax. But I think it needs to be encoded in the increment part, not > in the date part (because after the first increment,

Re: [POLL] Dealing with +1m/y repeaters when jumping to impossible date (should 05-31 +1m be 07-01 or 06-30?)

2024-05-18 Thread Stefan Nobis
Ihor Radchenko writes: > +1m! is awkward - what if [2024-05-12 +1m!]? You are right. I have not really spent time to think about a nice syntax. But I think it needs to be encoded in the increment part, not in the date part (because after the first increment, the information that we want the

Re: Using a latex auxdir

2024-05-18 Thread Ihor Radchenko
Rustom Mody writes: > But I'd still like to ask: What is the correct way of having *even the tex > file* in the auxdir? Well. `org-latex-pdf-process' should be the right place to poke around. Org mode only cares about the produced file to be in the expected place and nothing more. -- Ihor

Re: [POLL] Dealing with +1m/y repeaters when jumping to impossible date (should 05-31 +1m be 07-01 or 06-30?)

2024-05-18 Thread Ihor Radchenko
Max Nikulin writes: +(defun org-time-inc (unit value time) >>> Is there a chance that support of intervals like 1h20m will be required >>> later? >> >> Not sure again. I simply used ts-inc function signature from Adam's >> ts.el as reference. > > ts.el has `ts-adjust' that may change

Re: [POLL] Dealing with +1m/y repeaters when jumping to impossible date (should 05-31 +1m be 07-01 or 06-30?)

2024-05-18 Thread Ihor Radchenko
Max Nikulin writes: >>> On 13/05/2024 17:07, Ihor Radchenko wrote: <2025-01-31 Fri +1m> <2025-02-28 Fri +1m> <2025-03-28 Fri +1m> >>> >>> Instead of using timestamp obtained on previous step, use original >>> timestamp and multiple of the interval. >> >> This is not possible

Re: [POLL] Dealing with +1m/y repeaters when jumping to impossible date (should 05-31 +1m be 07-01 or 06-30?)

2024-05-18 Thread Ihor Radchenko
Stefan Nobis writes: > ... > And even if we would have access to the original date: It may be > something like the last day of February and from that alone it is not > evident, wether e.g. the 28. of each month should be used or the last > day of month. > > Therefore, I think, the only solution

Re: Using search options in HTTP-style links

2024-05-18 Thread Ihor Radchenko
Joseph Turner writes: >> The case with hyperdrive.el is not the same. >> You may want to discuss it on emacs-devel. > > Thank you! It is a good idea to get more input on securing > hyperdrive.el. For now, I went through bug#58744 and took some notes in > two relevant hyperdrive.el issues: > >

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

2024-05-18 Thread Ihor Radchenko
Joris Caravati writes: >> An easier way would be forcing note earlier by calling >> `org-add-log-note' from your hook. > > I remember trying that before adding the hook (and I tried again today) > but the problem with adding the note directly is that I only seem to > manage storing the note

Re: [BUG] org-publish: org-element--cache: Got empty parent while parsing [9.6.18 ( @ /home/arne/.emacs.d/elpa/org-9.6.18/)]

2024-05-18 Thread Ihor Radchenko
"Dr. Arne Babenhauserheide" writes: > I often see a huge number of warnings while publishing my website with > org-publish: > > Warning (org-element-cache): org-element--cache: Got empty parent while > parsing. > ... > To reproduce (though I’m not sure whether this will work outside my >

[BUG] org-publish: org-element--cache: Got empty parent while parsing [9.6.18 ( @ /home/arne/.emacs.d/elpa/org-9.6.18/)]

2024-05-18 Thread Dr. Arne Babenhauserheide
I often see a huge number of warnings while publishing my website with org-publish: Warning (org-element-cache): org-element--cache: Got empty parent while parsing. … Backtrace: nil This doesn’t happen always. It seems to be the case more often when I add a new org-file to my site. To reproduce

Re: Bug: org-capture does not work if called from minibuffer (Org mode version 9.6.10 (9.6.10-n/a-g902975)

2024-05-18 Thread Ihor Radchenko
Cletip Cletip writes: > It's almost the same as described here: > https://mail.gnu.org/archive/html/emacs-orgmode/2020-12/msg00199.html. BUT, > this only comes into play in the following case: > > Suppose you want to complete an org-capture template with this: “%^{Title}”. > When you call this

Re: [PATCH] lisp/org-capture.el: Restore org-store-link-plist

2024-05-18 Thread Ihor Radchenko
Anand Deopurkar writes: > From 8f603b721ddd7edf1e622a39dc80f4b74a5b5198 Mon Sep 17 00:00:00 2001 > From: Anand Deopurkar > Date: Fri, 17 May 2024 20:39:51 +1000 > Subject: [PATCH] lisp/org-capture.el: Restore org-store-link-plist Applied, onto main.

Re: Testing issues for Ada/SPARK support in Babel

2024-05-18 Thread Ihor Radchenko
Francesc Rocher writes: > If you don't mind, I attach here the patch in its current state for > reviewing purposes. Sure. See my comments inline. > +;; Author: Francesc Rocher > +;; Maintainer: Francesc Rocher If you can, please provide a contact email here. > + > +(require 'ob) > +(require

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

2024-05-18 Thread Eli Zaretskii
> Date: Tue, 30 Apr 2024 11:27:04 -0700 > Cc: e...@gnu.org, emacs-de...@gnu.org, emacs-orgmode@gnu.org > From: Jim Porter > > On 4/30/2024 4:39 AM, Ihor Radchenko wrote: > > What happens if you have multiple providers for an URL? > > You add the provider to the end, so it will have the lower