Re: [BUG] Org parser error: invalid search bound (wrong side of point) [9.7.7 (9.7.7-1ee080 @ /home/talmage/.emacs.d/elpa/org-9.7.7/)]

2024-08-18 Thread Ihor Radchenko
David Talmage writes: >> David, may I know if you keep seeing the problem? > > Thank you for asking, Ihor. The problem went away. I don't know why. Then, I am closing the bug. Canceled. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at .

[SOLVED]: Issue opening files with accented words, using org-attach-open

2024-08-18 Thread Kepa
Thanks, Ihor. That change worked. (when (eq system-type 'windows-nt) (setq org-file-apps '((\\.\\(docx\\|doc\\)\\' . system) (\\.\\(xlsx\\|xls\\)\\' . system) (\\.\\(pdf\\)\\' . system) (\\.\\(pptx\\|ppt\\)\\' . system) (auto-mode . emacs

Re: [BUG] Org parser error: invalid search bound (wrong side of point) [9.7.7 (9.7.7-1ee080 @ /home/talmage/.emacs.d/elpa/org-9.7.7/)]

2024-08-18 Thread David Talmage
On Sunday, August 18, 2024 3:34:59 AM EDT Ihor Radchenko wrote: > David Talmage writes: > >> Are you seeing this problem frequently? > > > > Yesterday, I saw it every time I loaded Planning.org. Today, I loaded the > > file and Emacs didn't complain. I'll send more info when I have it. At > >

Re: [RFC] latex preview and pdflatex-only packages

2024-08-18 Thread Juergen Fenn
> The TeX Live team replaced > latex as an engine proper some years ago and introduced pdftex as the > default engine. They switched to pdftex as the default engine in 2004: https://tug.org/texlive/doc/texlive-en/texlive-en.html#x1-740009.1.2 Best regards, Jürgen.

Re: [RFC] latex preview and pdflatex-only packages

2024-08-18 Thread Juergen Fenn
Am 18.08.24 um 16:31 Uhr schrieb Ihor Radchenko: > Juergen Fenn writes: > >> If you call latex then pdflatex is executed and you get a PDF file by >> default, not a DVI: > > Not, by default, .dvi is produced when using latex command. > > Try the attached file: > 1. latex test.tex > 2. dvisvgm t

Re: [RFC] latex preview and pdflatex-only packages

2024-08-18 Thread Ihor Radchenko
Juergen Fenn writes: > If you call latex then pdflatex is executed and you get a PDF file by > default, not a DVI: Not, by default, .dvi is produced when using latex command. Try the attached file: 1. latex test.tex 2. dvisvgm test.tex test.svg then, try 1. pdflatex test.tex You will see a di

Re: [RFC] latex preview and pdflatex-only packages

2024-08-18 Thread Juergen Fenn
Am 18.08.24 um 15:47 Uhr schrieb Ihor Radchenko: > Juergen Fenn writes: > >> There have been two lines of development in TeX lately. On the one hand >> there are packages that require features from the LaTeX3 kernel. This >> should not pose a problem because LaTeX3 will be installed on a recent

Re: Org-mode element API: How to extract link description

2024-08-18 Thread Sébastien Gendre
Thank you very much. Ihor Radchenko writes: > Sébastien Gendre writes: > >> With the Org-mode element API, when I get an element of type "link", how >> do I extract the link description ? > >> It's not a property of a link, from what I can see in when explore the >> content of a link element.

Re: [RFC] latex preview and pdflatex-only packages

2024-08-18 Thread Ihor Radchenko
Juergen Fenn writes: > There have been two lines of development in TeX lately. On the one hand > there are packages that require features from the LaTeX3 kernel. This > should not pose a problem because LaTeX3 will be installed on a recent > TeX Live system. And then, there are packages that requ

Re: [RFC] latex preview and pdflatex-only packages

2024-08-18 Thread Juergen Fenn
Am 18.08.24 um 14:01 Uhr schrieb Ihor Radchenko: >> More general: Out there are quite some package that support only one >> of the current engines xelatex, lualatex, or pdflatex. My gut feeling >> is, that the majority works with any engine and more and more packages >> tend to support the more

Re: Org-mode element API: How to extract link description

2024-08-18 Thread Ihor Radchenko
Sébastien Gendre writes: > With the Org-mode element API, when I get an element of type "link", how > do I extract the link description ? > It's not a property of a link, from what I can see in when explore the > content of a link element. And I found nothing on the documentation. Link descript

Re: How to set alarm in appointment set

2024-08-18 Thread Ihor Radchenko
Renato Pontefice writes: > I, I use the syntax: > °° xxx yyy zzz <2024-08-29 Thu 15:45> > To set a date. > How can I set an advice (1 or 2 hour) before? > I mean: I would receive an alert 1 or 2 hour before that alert me of the new > appointment > . > Can I set emacs using init.el or something e

Re: How to fully control parsing of Org mode links during export

2024-08-18 Thread Ihor Radchenko
Robert Weiner writes: > Thank you for the pointers on this, Ihor. That led me down a much better > path that worked. In the end, I just had the export function for my > specific link type and had to add a before advice on > org-element--generate-copy-script since it lacks a hook at its end. I

Re: org-latex-preview, pNiceArray (running latex twice)

2024-08-18 Thread Ihor Radchenko
Karthik Chikmagalur writes: >> Karthik, may you please check if this is going to work with latex >> preview branch? > > Tested: It does not work, since LaTeX only runs once in the new LaTeX preview > system as well. You need latexmk -pdf ..., not latexmk -latex. The latter uses latex command, w

Re: [RFC] latex preview and pdflatex-only packages (was: org-latex-preview, pNiceArray (running latex twice))

2024-08-18 Thread Ihor Radchenko
Karthik Chikmagalur writes: >> Are there packages that are an opposite - do not work with pdflatex, but >> work with bare latex? >> >> Karthik, any thoughts on this? > > A surprise to me as well. I think it is outside the purview of > org-latex-preview to handle org-latex-compiler + LaTeX packag

Re: Examples of online documentation written with Org-mode

2024-08-18 Thread Ihor Radchenko
Phil Estival writes: >> For now, it looks more like a personal config file; not like a project >> to be used by others. > > Was your intent really to write that ? > Because you well know a personal config file is something else. I guess I formulated it inaccurately - it is not obvious how to use

Re: Summation of effort estimates in columnview dblock

2024-08-18 Thread Ihor Radchenko
Alexander Adolf writes: > Ihor Radchenko writes: > >> [...] >> I agree that the manual can be improved. It would be nice if someone >> actively using column views contributed such an improvement ;) >> [...] > > Ok, I've given it a try. Thanks! > +When using summary types for non-special proper

Re: [orgmode] Better recurrence for SCHEDULED and DEADLINE

2024-08-18 Thread Moakt Temporary Email
>> I want to suggest that SCHEDULED and DEADLINE support things like "first >> Monday of the month" like cron. >That would indeed be nice. But may you provide more details on how you >envision such support to be implemented? I'm not sure. I am a lowly user :) "++1m@Mon#1"? Maybe employ cron syn

Org-mode element API: How to extract link description

2024-08-18 Thread Sébastien Gendre
Hello, With the Org-mode element API, when I get an element of type "link", how do I extract the link description ? It's not a property of a link, from what I can see in when explore the content of a link element. And I found nothing on the documentation. Did I miss something ? Best regards -

Re: Summation of effort estimates in columnview dblock

2024-08-18 Thread Ihor Radchenko
Alexander Adolf writes: >> Not sure here. %EFFORT should not count. I tried the following: >> >> #+COLUMNS: %EFFORT{mean} %EFFORT{+} > ... > Consider this example: > ... > The EFFORT and TIME_ESTIMATE properties for "Task 1" will never get > updated for as long as the column specification without

Re: [RFC] latex preview and pdflatex-only packages

2024-08-18 Thread Ihor Radchenko
Stefan Nobis writes: > More general: Out there are quite some package that support only one > of the current engines xelatex, lualatex, or pdflatex. My gut feeling > is, that the majority works with any engine and more and more packages > tend to support the more modern engines xelatex and lualat

Re: Link between org-publish project options and org-export-options-alist

2024-08-18 Thread Ihor Radchenko
Sébastien Gendre writes: > I (continue to) develop a custom preamble function. And I try to found > if there is a link between options set in an org-publish project and > options set in variable `org-export-options-alist. > ... > For my function, I have defined one new export option in the variab

Storing org-mode captures on shared server

2024-08-18 Thread Chris Narkiewicz
Hi, I was looking for a method to share org mode captures (and agenda) on a remote machine between my beefy laptop, light traver laptop and office workstation and I'm wondering if you have a some good tips to approach that? Found one tutorial on reddit so far. I'm using syncthing for now, but I'

Re: [orgmode] Better recurrence for SCHEDULED and DEADLINE

2024-08-18 Thread Ihor Radchenko
Moakt Temporary Email <097073ee6...@drmail.in> writes: > I want to suggest that SCHEDULED and DEADLINE support things like "first > Monday of the month" like cron. That would indeed be nice. But may you provide more details on how you envision such support to be implemented? -- Ihor Radchenko

[FR] Automatically display images in resutls of evaluation (was: [PATCH v4.0] Re: [PATCH] add a function to only refresh inline images under current headline instead of global buffer)

2024-08-18 Thread Ihor Radchenko
stardiviner writes: > I have an idea, would you like to add an function in bellowing: > > #+begin_src emacs-lisp > (defun org-toggle-inline-images-in-results () > "Toggle inline images in babel source block results." > (save-excursion > ;; [C-c C-v C-o] `org-babel-open-src-block-result' >

Re: [PATCH v4.0] Re: [PATCH] add a function to only refresh inline images under current headline instead of global buffer

2024-08-18 Thread Ihor Radchenko
stardiviner writes: > I agree with your patch solution. I have tested fine. Thanks for your > re-write. Applied, onto main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=d51dc4aa29 -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at

Re: org-element--cache: Added org-data parent to non-headline element

2024-08-18 Thread Ihor Radchenko
martyhi...@riseup.net writes: > On 8/17/24 08:12, Ihor Radchenko wrote: >> Ihor Radchenko writes: >> i had another go: - i made a purely lorem ipsum org file (can share if needed) - loaded a minimal emacs config (the one i use for testing/debugging mastodon.el, can shar

Re: [FR] org-colview.el, add annotation for functions summary-types

2024-08-18 Thread Ihor Radchenko
Sławomir Grochowski writes: > So I have those 3 code snipets: > > (defun org-columns--summary-types-completion-function (string) > (docstring-first-line >(cdr (assoc string (append > org-columns-summary-types > org-columns-summary-types-default

Re: [BUG] Org parser error: invalid search bound (wrong side of point) [9.7.7 (9.7.7-1ee080 @ /home/talmage/.emacs.d/elpa/org-9.7.7/)]

2024-08-18 Thread Ihor Radchenko
David Talmage writes: >> Are you seeing this problem frequently? > > Yesterday, I saw it every time I loaded Planning.org. Today, I loaded the > file > and Emacs didn't complain. I'll send more info when I have it. At the > moment, I'm inclined to believe that this is one of my Linux Surfac

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-08-18 Thread Ihor Radchenko
Ihor Radchenko writes: > "Dr. Arne Babenhauserheide" writes: > >> - Requirements: mercurial, make, Emacs (naturally :)) >> >> hg clone https://hg.sr.ht/~arnebab/draketo >> cd draketo >> autoreconf -i >> ./configure >> make > > I tried to reproduce using this recipe, but I am