Re: org-ctags-find-tag should not prompt inside org-open-at-point

2023-09-26 Thread Joseph Turner
Ihor Radchenko writes: > Joseph Turner writes: > >> When org-ctags-find-tag is a member of org-open-link-functions, fuzzy >> links and custom-id links are broken. Instead of following those links, >> Emacs prompts for a filename with "Visit tags table (default TAGS)". > > This is expected. As

Keeping org-id entries updated with buffer position changes

2023-09-26 Thread Sebastian Wålinder
Hello! I often use org-id to create persistent links to headings like this: * Foo :PROPERTIES: :ID: BAR :END: [[BAR][Link]] However, after inserting a line above foo, following the link BAR will take me to the wrong line, because the org-id database hasn't been updated with the headline

Named columns in org tables [9.7-pre (release_9.6.9-797-g4d0f89]

2023-09-26 Thread Paul Stansell
Hello, On this page https://orgmode.org/manual/Advanced-features.html it says - '!' :: The fields in this line define names for the columns, so that you may refer to a column as '$Tot' instead of '$6'. However, when I experimented with this I found that the first of the following two tables wor

Re: [patch] ox-latex.el: Add `LATEX_PRE_HEADER' keyword

2023-09-26 Thread Juan Manuel Macías
Max Nikulin writes: > I just have checked that a dirty hack with a few lines of code for > `org-export-filter-final-output-functions' allows to insert arbitrary > text to the beginning of export result. Perhaps a more elegant solution > exists, but I admit it is not a straightforward way. At least

[BUG] Warning (org-element-cache): org-element--cache: Warning(Checkliste-Updates.txt): Org parser error in Checkliste-Updates.txt [9.7-pre (release_9.6.9-790-ge42b7a @ /home/grfz/src/org-mode/lisp/)]

2023-09-26 Thread Gregor Zattler
Dear org mode maintainers, developers, Ihor, I caught the following warning/backtrace while calling 'my/org-goto-agenda-heading´ which in turn is just "(org-refile '(4))". HTH/Ciao; Gregor ■ Warning (org-element-cache): org-element--cache: Warning(Checkliste-Updates.txt): Org parser error in

[PATCH] update urls in ob-doc-maxima.org

2023-09-26 Thread Leo Butler
Hello, The current project urls in ob-doc-maxima.org are out-of-date (the .net urls redirect to the new .io ones). The project image file has moved and no longer loads. This patch corrects those problems. Best, Leo From dceb35854fcda3e467c3b1bd8f7f343434f7fb2f Mon Sep 17 00:00:00 2001 From: Leo

Re: [BUG] [PATCH] Add yank-media and DND handler [9.6.7 (9.6.7-g6eb773 @ /home/viz/lib/emacs/straight/build/org/)]

2023-09-26 Thread Max Nikulin
On 25/09/2023 20:14, Visuwesh wrote: + (setq-local dnd-protocol-alist + (cons '("^file:///" . org--dnd-local-file-handler) +dnd-protocol-alist)) Does it mean that `org--dnd-local-file-handler' is unconditionally called for Org buffers? Current action is to ope

Re: [patch] ox-latex.el: Add `LATEX_PRE_HEADER' keyword

2023-09-26 Thread Max Nikulin
On 26/09/2023 04:57, Thomas S. Dye wrote: Aloha all, Juan Manuel Macías writes: If so, Org should have native support of \DocumentMetadata, not LATEX_PRE_HEADER or something similar. If it were the only case of code before \documentclass, I would agree. But, as I have already said above, t

Re: [PATCH] org-list.el: Reduce scope to subtree

2023-09-26 Thread J. G.
Good catch, thanks for the feedback. The original problem I was attempting to correct was when making use of org-contrib's org-checklist.el feature to reset checkboxes with the RESET_CHECK_BOXES property. The earliest report of this bug I'm aware of is here: https://github.com/doomemacs/doomema

[PATCH] Fix org-[beginning|end]-of-line with arguments

2023-09-26 Thread 倉成智久
Hello, I have created a patch to fix an issue concerning the org-beginning-of-line and org-end-of-line functions with arguments. In the current implementation, org-special-ctrl-a/e may not operate as expected. For example, executing (org-beginning-of-line 2) relocates the cursor to the start of t

Re: [FR] Make notion of "modification time" configurable during publishing

2023-09-26 Thread Ihor Radchenko
Suhail Singh writes: > Ihor Radchenko writes: > >> But do you actually use one but not other in practice? > > As in, could users have a preference for one vs the other in practice? > Yes, since the choice isn't without consequence, it's conceivable > (generally speaking) that some would prefer on

Re: Case insensitivity of simple [[links]]

2023-09-26 Thread Ihor Radchenko
Rudolf Adamkovič writes: > Ihor Radchenko writes: > >> [...] > > So, if I understand correctly, there is no way to make "[[link]]" find > "* Link" while editing, after exporting, and on any Emacs, that is > 'emacs -Q'. In other words, writing "* link" in lowercase, which is my > workaround, is

Re: Exporting elisp: and shell: links

2023-09-26 Thread Ihor Radchenko
Max Nikulin writes: > I am afraid, there is no variant that fits for all cases even in a > particular document. Still, it would be nice to have _a_ variant compared to the current state of affairs. As for extra customization, it totally depends on the interest in this functionality. If not man

Re: Fallback fonts in LaTeX export for non latin scripts

2023-09-26 Thread Ihor Radchenko
Juan Manuel Macías writes: >>> [...] any suggestion for improvement is very welcome [...] >> >> This is a bit too out of context. Improvement of what? > > I think it is related to the previous paragraph: "I am very interested > in all possible improvements in babel so that it integrates as best a

Re: [BUG] [PATCH] Add yank-media and DND handler [9.6.7 (9.6.7-g6eb773 @ /home/viz/lib/emacs/straight/build/org/)]

2023-09-26 Thread Ihor Radchenko
Visuwesh writes: >> Please, use `make-temp-file' to create files in the temporary >> directory that may be world writable. Predictable file names there are >> undesired from security point of view. > > What harm does it cause? /tmp directory can be written by any program and the file, while kept

Re: org-ctags-find-tag should not prompt inside org-open-at-point

2023-09-26 Thread Ihor Radchenko
Joseph Turner writes: > When org-ctags-find-tag is a member of org-open-link-functions, fuzzy > links and custom-id links are broken. Instead of following those links, > Emacs prompts for a filename with "Visit tags table (default TAGS)". This is expected. As per org-ctags documentation: ;; By

Re: [PATCH] org-list.el: Reduce scope to subtree

2023-09-26 Thread Ihor Radchenko
"J. G." writes: > Hi, this patch reduces the scope of the function  > org-reset-checkbox-state-subtree to just the subtree per its name and > documentation. > ... > - (org-update-checkbox-count-maybe 'all) > + (org-update-checkbox-count-maybe) Thanks for the patch, but without '

Re: [BUG] Previewing equations [9.6.6 (release_9.6.6 @ /usr/share/emacs/29.1/lisp/org/)]

2023-09-26 Thread Ihor Radchenko
Peter Prevos writes: > ■ Warning (org-element-cache): org-element--cache: Org parser > error in Infonomics II: Business Information Management and > Measurement::6190. Resetting. > The error was: (error "Invalid search bound (wrong side of > point)") Thanks for reporting! Does the error