Variable Hyperlinks ?

2024-06-20 Thread David Masterson
I use Org with Emacs 28.2 on Linux and BeOrg on iPhones. I don't believe iPhones support "symbolic links". Therefore, where I mount a USB key on each is going to be a different directory. I'd like to store pictures on my USB key and reference them via "file:" hyperlinks in Org. My problem is

Re: [BUG] org-refile-get-location a symlinked file [9.7-pre (release_9.6.29-1443-gb4d17c)]

2024-06-20 Thread Ihor Radchenko
Al Haji-Ali writes: >> Maybe. I am slightly cautious about adding it without public discussion >> though - (1) I can see how people may not expect >> `find-file-visit-truename` to affect `org-refile'; (2) I am not 100% >> familiar with this area of Org codebase, and I am not 100% confident that

Re: [BUG] org-refile-get-location a symlinked file [9.7-pre (release_9.6.29-1443-gb4d17c)]

2024-06-20 Thread Al Haji-Ali
On 20/06/2024, Ihor Radchenko wrote: > Al Haji-Ali writes: > Makes sense. > Applied, onto bugfix. > Fixed. > https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?h=bugfix=a4ff518 Thanks! > > Maybe. I am slightly cautious about adding it without public discussion > though - (1) I can see

Re: [BUG] org-refile-get-location a symlinked file [9.7-pre (release_9.6.29-1443-gb4d17c)]

2024-06-20 Thread Ihor Radchenko
Al Haji-Ali writes: >> I am thus attaching an alternative patch. >> May you please test if it fixes the problem on your side? > I think it's missing calling `file-truename` call on `filename`, see attached > patch. Makes sense. Applied, onto bugfix. Fixed.

Re: [BUG] setting org-element-use-cache to nil doesn't seem to disable element cache [9.7.3 (release_9.7.3 @ /usr/share/emacs/30.0.50/lisp/org/)]

2024-06-20 Thread Ihor Radchenko
Platon Pronko writes: >> Any chance you can create a reproducer? > ... > Yes. Looks like this particular error is related to org-startup-indented: > > 1. Create file reproducer.org with contents: > * TODO item > DEADLINE: <2024-07-10 .+1d> > > 2. Launch Emacs with org-startup-indented=t: > $

Re: Case insensitivity of simple [[links]]

2024-06-20 Thread Rudolf Adamkovič
Ihor Radchenko writes: > What you want is very hard to implement in Org mode for all the backends > - the export API, when querying a link target, returns that target as > AST element. Individual backends then decide what to do with that target > in order to extract the actual exported link

Re: [PATCH] Re: [feature request] startup variable for link display

2024-06-20 Thread Rudolf Adamkovič
Ihor Radchenko writes: > Applied, onto main; after changing the terms to > literallinks/descriptivelinks as suggested. > https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=dd4fd0299 > Done. Thank you, Ihor! Rudy -- "I do not fear death. I had been dead for billions and billions

Re: does org mode require a separate LaTeX installation to export?

2024-06-20 Thread Christopher W. Ryan
Thanks Bill! William Denton wrote: > On Wednesday, June 19th, 2024 at 08:55, Christopher W. Ryan > wrote: > >> In other words, if a complete novice, knowing nothing about LaTeX and >> not having it on their machine ever, installed emacs and created an org >> mode file, could they export via

Re: [BUG] Trailing dash is not included in link [9.7.3 (9.7.3-2f1844 @ /home/mwillcock/.emacs.d/elpa/org-9.7.3/)]

2024-06-20 Thread Max Nikulin
On 16/06/2024 22:59, Ihor Radchenko wrote: Max Nikulin writes: I suspect, it worked prior to v9.5. Without a unit test it may be accidentally broken again. No, it did not work. If you can, please do not make such assertions without testing. I am sorry, I had no intention to offend you. I

Re: [PATCH] lisp/org-clock.el (org-clock-sum): Rewrite regex using rx

2024-06-20 Thread Ihor Radchenko
Morgan Smith writes: >> That's expected. >> We have the following _syntax_ description for clock lines: >> >> https://orgmode.org/worg/org-syntax.html#Clocks... >> clock: INACTIVE-TIMESTAMP-RANGE DURATION > ... > My specific issue is that the ":*-end" stuff can be set when the > "*-start" stuff

Re: [BUG] org-refile-get-location a symlinked file [9.7-pre (release_9.6.29-1443-gb4d17c)]

2024-06-20 Thread Al Haji-Ali
On 19/06/2024, Ihor Radchenko wrote: > Al Haji-Ali writes: > >> On 18/06/2024, Ihor Radchenko wrote: >>> Hmm. Thanks, but the patch does not apply on my side. >>> May you instead create a patch as a separate file, add the commit >>> message, and attach that patch file in the email reply? >> >>

Re: [BUG] setting org-element-use-cache to nil doesn't seem to disable element cache [9.7.3 (release_9.7.3 @ /usr/share/emacs/30.0.50/lisp/org/)]

2024-06-20 Thread Platon Pronko
This particular warning may also happen when cache is disabled. You encountered some error with Org parser. Any chance you can create a reproducer? Yes. Looks like this particular error is related to org-startup-indented: 1. Create file reproducer.org with contents: * TODO item DEADLINE: