Re: [BUG] Patch: Add an option to silence org-latex-preview (also a feature request) [9.7.11 (release_9.7.11 @ /usr/local/share/emacs/30.0.91/lisp/org/)]

2024-10-12 Thread Daan Ro
Currently I have minor mode that automates `org-latex-preview` every some idle seconds so that newly typed fragments are automatically rendered. Having an option to disable messages would make Emacs's interface much cleaner. About org-mode's similar messages, I just saw that some `message` calls a

Re: Quick fix: ATTR_BEAMER not showing in autocompletion

2024-10-12 Thread Ihor Radchenko
Pedro Andres Aranda Gutierrez writes: > I needed to prepare a couple of slides on emacs-30.0.91 and while editing > found that I wasn't getting ATTR_BEAMER in the autocompletion. Attached is > a quick fix for that on the main branch. I hope it can be applied on elpa > too and maybe make it to ema

Re: [BUG] A call of (org-end-of-meta-data t) goes too far in a heading with only whitespace

2024-10-12 Thread Ihor Radchenko
Benjamin McMillan writes: > Specifically, a call to (org-end-of-meta-data t) with point at the > on the > following tree will go all the way to the next heading. > In contrast, a call to just (org-end-of-meta-data), without the FULL flag, > will go to the beginning of heading content, as expected

Re: [BUG] Backtrace from orh-element-cache failing in when editing non-org file [9.6.15 (release_9.6.15 @ /Applications/Emacs.app/Contents/Resources/lisp/org/)]

2024-10-12 Thread Ihor Radchenko
Robert Place writes: > This issue occurred while editing the init.el, I was testing out the > detangle functionality for the target file that was generated > through org-babel-tangle. It is unclear why this warning appeared but > the auto-completion via company still appears to work just fine. >

Re: Setting buffer-level properties in code

2024-10-12 Thread Rohit Patnaik
> However, what I need is to programmatically insert or change that line > to set or update the property. Is there a built-in function for that or > do I have to search and update that line myself? I would look at `org-entry-put`. It seems like it does what you need --- it takes an element, mark

Re: ox-latex default template changed sentence spacing from 9.6 to 9.7 ?

2024-10-12 Thread Ihor Radchenko
pinm...@cas.cat writes: > Yesterday I re-exported an old pdf file with the new orgmode 9.7, I > discovered a difference in the styling or the template compared to > what it was in orgmode 9.6 I do not recall such changes. > I could be wrong and maybe the change was on my side, but I doubt > beca

Re: [BUG] BBDB anniversary entries with a format-string produce error [9.6.15 (release_9.6.15 @ /usr/share/emacs/29.4/lisp/org/)]

2024-10-12 Thread Ihor Radchenko
Alexander Lazarević writes: > In one agenda (personal.org) I have the following entry: > > * Anniversaries > :PROPERTIES: > #+CATEGORY: Ann > :END: > %%(org-bbdb-anniversaries-future 3) > > This works for BBDB entries that have an anniversary like "1973-06-22" > or "2021-04-91 wedding", but it fa

Re: [BUG] org-element--cache: Got empty parent while parsing. [9.7.11 (9.7.11-??-6a5d0ed34 @ /Users/mm/.emacs.d/.local/straight/build-29.4/org/)]

2024-10-12 Thread Ihor Radchenko
Milan Matiaske writes: > Emacs : GNU Emacs 29.4 (build 2, x86_64-apple-darwin23.0.0, NS > appkit-2487.00 Version 14.0 (Build 23A344)) > of 2024-10-06 > Package: Org mode version 9.7.11 (9.7.11-??-6a5d0ed34 @ > /Users/mm/.emacs.d/.local/straight/build-29.4/org/) > org--warnings '("org-element

Re: [BUG] Patch: Add an option to silence org-latex-preview (also a feature request) [9.7.11 (release_9.7.11 @ /usr/local/share/emacs/30.0.91/lisp/org/)]

2024-10-12 Thread Ihor Radchenko
Daan Ro writes: > [PATCH] org-latex-preview: add org-latex-preview-quiet customization > > * lisp/org.el (org-latex-preview): define customizable boolean > org-latex-preview-quiet. Thanks for the patch, but may you please elaborate why you want the messages to be suppressed? And why in org-latex

RE: Link Abbreviations with Org-Attach

2024-10-12 Thread Kepa
Hi Ihor, I've moved on, and I probably won't need that feature. > -Original Message- > From: yantar92 at posteo.net > > Sent: Saturday, October 12, 2024 8:06 PM > To: Kepa > Cc: emacs-orgmode at gnu.org orgmode_at_gnu_org_kqcgk...@simplelogin.co> > Subject: Re: Link Abbreviations with

Re: [PATCH] Add repeat-map for navigation commands

2024-10-12 Thread Ihor Radchenko
Visuwesh writes: > Thank you for the review, and sorry for the delay. Can you review the > attached please? Applied, onto main, with minor amendments to the manual entry and to the news entry. Thanks! https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=b6a72e134d -- Ihor Radchenk

Re: org2blog 20230501.2319 from melpa gets strange formatting on diff of HTML file

2024-10-12 Thread Ihor Radchenko
Steinar Bang writes: > org2blog hasn't seen any commits since June 27 2023: > https://github.com/org2blog/org2blog/commits/master/ > > And org2blog doesn't seem to be on melpa anymore. > > Does anyone have any knowledge if the development has gone elsewhere? The author of the latest commit seem

Re: Org-cite: Replace basic follow-processor with transient menu?

2024-10-12 Thread Ihor Radchenko
Tor-björn Claesson writes: >> Is there an easier way to access transient prefix command arguments from >> suffixes? Maybe something provided by transient itself? > > Yes it was way to complicated, thanks! A better way can be found reading > transient.el and magit sources. Together with your other

Re: [BUG] warning while loading org-agenda [9.7.12 (9.7.12-28c83e @ /Users/andrew/.emacs.d/elpa/29.1/develop/org-9.7.12/)]

2024-10-12 Thread Andrew Berger
On 10/12/24 7:00 AM, Ihor Radchenko wrote: > [External email - use caution] > > > Andrew Berger writes: > >> Got the following warning while evaluating org-agenda. >> ... >> org--warnings '("org-element--cache: Org parser error in >> academics.org::#. Resetting.\n The >> error was: (error \"Invali

Re: [BUG] warning while loading org-agenda [9.7.12 (9.7.12-28c83e @ /Users/andrew/.emacs.d/elpa/29.1/develop/org-9.7.12/)]

2024-10-12 Thread Ihor Radchenko
Andrew Berger writes: >>> org--warnings '("org-element--cache: Org parser error in >>> academics.org::#. Resetting.\n The >>> error was: (error \"Invalid search bound (wrong side of point)\") >> Thanks for reporting! >> Do you see this warning frequently? > ... > first time Ok. This type of war

Re: duration beyond 24 hours

2024-10-12 Thread Ihor Radchenko
Jude DaShiell writes: > Logging I'm doing often requires intervals to be logged with durations > beyond 24 hours. What I do for this is to start with 24 hours on the > abacus... This is going on braille paper and that's good since the > logs survived the death of my computer tower that had to be

Re: Setting buffer-level properties in code

2024-10-12 Thread Ihor Radchenko
mb...@mbork.pl writes: > #+PROPERTY: name value > ... > However, what I need is to programmatically insert or change that line > to set or update the property. Is there a built-in function for that or > do I have to search and update that line myself? There is nothing built-in, AFAIK. Maybe http

Re: Link Abbreviations with Org-Attach

2024-10-12 Thread Ihor Radchenko
Kepa writes: > Is it possible to use org-attachments with link abbreviation definitions? > > I'm testing it, and it seems not to work. I'm referring to elements like > these: > > * 1 Link Abbreviation Definition > #+LINK: shortcut /path/to/folder/ > > * 2 Attachment Directory Property doesn't wo

Re: [PATCH] Add repeat-map for navigation commands

2024-10-12 Thread Visuwesh
[சனி அக்டோபர் 12, 2024] Ihor Radchenko wrote: > Visuwesh writes: > >> Thank you for the review, and sorry for the delay. Can you review the >> attached please? > > Applied, onto main, with minor amendments to the manual entry and to the > news entry. Thank you for the follow up on the documenta

Re: [BUG] pressing enter with org-src-tab-acts-natively over-intends block

2024-10-12 Thread Ihor Radchenko
Garklein writes: > `org-edit-src-preserve-indentation' says "the minimum (across-lines) > number of leading whitespace characters are removed from all lines, > and the code block is uniformly indented according to the value of > ‘org-edit-src-content-indentation'", but it doesn't seem to be > rem

Re: [BUG] Org-roam not working [9.8 (9.8-??-39272e2 @ /home/samuel/.config/emacs/.local/straight/build-29.4/org/)]

2024-10-12 Thread Ihor Radchenko
"Samuel Weinfurter" writes: > org--warnings '("org-element--cache: Org parser error in init.el::7983. > Resetting.\n The error was: (error \"rx ‘**’ range error\")\n > Backtrace:\nnil\n Please report this to Org mode mailing list (M-x > org-submit-bug-report)." "org-element--cache: Org parser

Re: [BUG] warning while loading org-agenda [9.7.12 (9.7.12-28c83e @ /Users/andrew/.emacs.d/elpa/29.1/develop/org-9.7.12/)]

2024-10-12 Thread Ihor Radchenko
Andrew Berger writes: > Got the following warning while evaluating org-agenda. > ... > org--warnings '("org-element--cache: Org parser error in > academics.org::#. Resetting.\n The > error was: (error \"Invalid search bound (wrong side of point)\") Thanks for reporting! Do you see this warning

Re: [PATCH] lisp/org-colview.el: Fix for adding appointments to effort sum

2024-10-12 Thread Ihor Radchenko
Anand Deopurkar writes: > Subject: [PATCH] lisp/org-colview.el: Bug fix for > add-appointments-to-effort-sum > > * org-colview.el (org-columns--collect-values): Accept an additional > optional argument AGENDA-MARKER > (org-agenda-columns): Pass the position of the current agenda line to > org-co

Re: Elecrtic-pair-mode works incorrectly in code blocks

2024-10-12 Thread Ihor Radchenko
the_wurfkreuz writes: > Reproduction: > > 1. emacs -Q > 2. In the scratch buffer enable to org-mode. > 3. Enable electric-pair-mode. > 4. Paste this code: > > #+begin_src emacs-lisp > > ;; (if (eq major-mode 'org-mode) > ;; (org-cycle) > ;; (yas-expand))) > ;; ;; (my-completion-preview-insert)))

Re: [PATCH v7] Inline image display as part of a new org-link-preview system

2024-10-12 Thread Ihor Radchenko
Karthik Chikmagalur writes: > Suppose a package author is aware that Org now supports previews for > custom link types and wants to add a preview. What section of the > manual would they expect to find this information? "Adding hyperlink types", I think. As you guessed. > My current plan for t

Re: [BUG] org-comment-dwim does not work with temporary Transient Mark mode [9.7-pre (release_9.6.10-902-g41ff56 @ /home/jschmidt/work/org-mode/lisp/)]

2024-10-12 Thread Ihor Radchenko
Steven Lin writes: > I found that current bugfix (commit > 1014296344a75fa08e0a8814e4fbbd767e7eba4c) brought new bugs. > ... Duplicate of https://orgmode.org/list/CAHqtn=fWq6E5_pm72AB9vFxwjS0a8ma=uvvjmrgeive9pa1...@mail.gmail.com -- Ihor Radchenko // yantar92, Org mode contributor, Learn more

Re: [BUG] org-comment-dwim comments some chars in the unselected line below

2024-10-12 Thread Ihor Radchenko
Steven Lin writes: > Hi. > > I found that commit > 1014296344a75fa08e0a8814e4fbbd767e7eba4c brought some bugs. > > Step to reproduce (In vanilla Emacs, with latest org-mode): > ... Duplicate of https://orgmode.org/list/CAHqtn=fWq6E5_pm72AB9vFxwjS0a8ma=uvvjmrgeive9pa1...@mail.gmail.com Fixed. -

[BUG] warning while loading org-agenda [9.7.12 (9.7.12-28c83e @ /Users/andrew/.emacs.d/elpa/29.1/develop/org-9.7.12/)]

2024-10-12 Thread Andrew Berger
Got the following warning while evaluating org-agenda. Emacs : GNU Emacs 29.1 (build 1, aarch64-apple-darwin23.4.0, Carbon Version 170 AppKit 2487.5) of 2024-04-28 Package: Org mode version 9.7.12 (9.7.12-28c83e @ /Users/andrew/.emacs.d/elpa/29.1/develop/org-9.7.12/) current state: ==

[BUG] Org-roam not working [9.8 (9.8-??-39272e2 @ /home/samuel/.config/emacs/.local/straight/build-29.4/org/)]

2024-10-12 Thread Samuel Weinfurter
-- Samuel Weinfurter 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: [BUG] org-comment-dwim comments some chars in the unselected line below

2024-10-12 Thread Ihor Radchenko
Stephanus Comnenus writes: > I found that commit > 1014296344a75fa08e0a8814e4fbbd767e7eba4c brought some bugs. > > Step to reproduce (In vanilla Emacs, with latest org-mode): > > 1. Set these variables. > > (setq org-src-content-indentation 4) > (setq org-src-preserve-indentation nil) > > 2. Try

Date prompt and parse-time variables

2024-10-12 Thread Gautier Ponsinet
Hello everyone, The org manual recommends to configure the variables parse-time-months and parse-time-weekdays in order to use another language than English in the time/date prompt. However, this can create conflict with other functionality. For instance, it conflicts with the elfeed news reader p