Re: [BUG] Warning on executing keyboard macro that inserts time-stamp [9.6.27 ( @ /home/punit/.emacs.d/elpa/org-9.6.27/)]

2024-08-31 Thread Punit Arya
Thank you Ihor.  I'll try troubleshooting my config.  Will let you know if I find something helpful. *Punit Arya* /Sent From Mozilla Thunderbird/ // On 2024-08-31 20:08, Ihor Radchenko wrote: Punit Arya writes: It has been a month. Have you had a chance to look into providing more details

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

2024-08-31 Thread Karthik Chikmagalur
v2 of the patch is attached. I incorporated most of your suggested changes including in the commit message, except for a couple that I talk about below. First, here's an updated description of the proposed API: 1. You can register a previewer with each type of Org link in the following way: (or

Re: Org-agenda follow and narrow

2024-08-31 Thread Sébastien Gendre
Thank you very much. :) That exactly what I was searching for. Is it possible to fix the size of the new window ? When it open a habit task, because of the logbook, the new window is soo big that it make the agenda no more visible. Ihor Radchenko writes: > Sébastien Gendre writes: > >> Is t

Re: Org exports broken ID links

2024-08-31 Thread Rudolf Adamkovič
Ihor Radchenko writes: > That link is not broken - it points to a file containing the linked > heading. It just happens to be the same Org file. I am struggling to understand. The link points to a heading that is not exported due to its `noexport' tag. How is that not a "broken link", especial

Re: [PATCH v3] Improvements to Texinfo exporter (was: [PATCH] Re: Texinfo: Custom navigation and links in headings)

2024-08-31 Thread Rudolf Adamkovič
Rudolf Adamkovič writes: > I will rebase those onto `main' and > > submit them separately, > > one per thread, to > > make code review easier. And done. The two patches, now rebased on `main' are submitted via `git send-email`, are now waiting for review: [PATCH] ox-texinfo: Support link

[PATCH] ox-texinfo: Support links in headings

2024-08-31 Thread Rudolf Adamkovič
From: Rudolf Adamkovic * etc/ORG-NEWS (Texinfo exporter now supports links in headings): Announce the new feature. * lisp/ox-texinfo.el: (org-texinfo--format-entries, org-texinfo--get-node, org-texinfo--sanitize-title-reference, org-texinfo--sanitize-title): A 2-step change: (1) Rename `--sanitiz

[PATCH] ox-texinfo: Support numeric values of `toc' in `#+OPTIONS'

2024-08-31 Thread Rudolf Adamkovič
From: Rudolf Adamkovic * etc/ORG-NEWS (Texinfo exporter now supports numeric =toc= values in =#+OPTIONS:=): Announce the new feature. * lisp/ox.el (org-export-excluded-from-toc-p): Return nil for all headlines that are above the `toc' value in export `#+OPTIONS'. * testing/lisp/test-ox-texinfo.el

Re: How to auto-renumber chapters

2024-08-31 Thread Ihor Radchenko
Sharon Kimble writes: > I'm writing a fiction book, and have just added several chapters from a > previous draft to it. > > As a result I now have > > ** Chapter 2 > blah > > ** Chapter 2 > blah de blah > > ** Chapter 3 > more blahing > > How can I get these new chapters to autorenumber the

Re: Question regarding org-babel-eval and ob-erlang

2024-08-31 Thread Ihor Radchenko
Zelphir Kaltstahl writes: > I see in the source code of org-mode, that `org-babel-eval' calls > `org-babel--shell-command-on-region', but I failed to identify so far, where > the > portions of the code are, that are responsible for looking up binaries on the > `PATH' directories. In the nuts

Re: Org-agenda follow and narrow

2024-08-31 Thread Ihor Radchenko
Sébastien Gendre writes: > Is there a way for Follow mode to automatically narrow to task it show > (and its children headings/tasks) ? See `org-agenda-follow-indirect' -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org develop

Org-agenda follow and narrow

2024-08-31 Thread Sébastien Gendre
Hello, With Org-agenda, I use a more and more the mode Follow (org-agenda-follow-mode). It's very useful to remind me to look at the entire task, instead of only its title. But if a task is in a file with a lot of other tasks, when the Follow mode show it, it's too much information for me on the

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

2024-08-31 Thread Ihor Radchenko
Karthik Chikmagalur writes: >> We may simply pass the link object to :preview function. > > If we pass the link object instead of the overlay, it will be the > preview function's job to create overlays as needed. This overlay > should have special properties (like `org-image-overlay') for previe

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

2024-08-31 Thread Karthik Chikmagalur
Thanks Ihor. Before I send the next iteration of the patch, I'd like your input on some decisions marked with "Q:" below. >> Not yet handled or final: >> >> - Link abbreviations: I'm using org-link-any-re to find links, and this >> appears to be handling link abbreviations fine. So there is no

Re: Org mode version 9.8-pre (9.8-pre-n/a-g7a3fc3 @ /home/snake/.config/emacs/elpaca/builds/org/); Some kind of bug

2024-08-31 Thread Ihor Radchenko
snake05...@gmail.com writes: > org-element--cache: Unregistered buffer modifications detected (341400 != > 341401). Resetting. Thanks for reporting! Do you happen to use Doom Emacs? If yes, you may consider upgrading to the latest Doom - I recall something similar being discussed on their bug t

Re: Org exports broken ID links

2024-08-31 Thread Ihor Radchenko
Rudolf Adamkovič writes: > REPRODUCTION STEPS: > ... > * Foo :noexport: > :PROPERTIES: > :ID: xxx > :END: > > * Bar > [[id:xxx][Foo]] > > 3. Export the file as HTML using (`C-c C-e h o'). > > EXPECTED: > > The export stops due to a broken link, as per >

Re: 31.0.50; Org Persist file formatting

2024-08-31 Thread Michael Mauger
Original Message On 8/31/24 10:43 AM, Ihor Radchenko wrote: > Michael Mauger writes: > > > Bad news :( I do not have a reproducible set of steps, but I'll start > looking for one. I am not using the fix you sent and am using the latest > master of Emacs 30.0.50 and Org

Re: 31.0.50; Org Persist file formatting

2024-08-31 Thread Ihor Radchenko
Michael Mauger writes: > Bad news :( I do not have a reproducible set of steps, but I'll start > looking for one. I am not using the fix you sent and am using the latest > master of Emacs 30.0.50 and Org 9.7.10 > > My init is a set of Org Babel scripts (4.5K org lines; 2.8K el lines) which >

Re: [PATCH] Fix the use of a deprecated function in the manual

2024-08-31 Thread Ihor Radchenko
Rudolf Adamkovič writes: > See the attached patch. > > Rudy > From 9455024b32a94171e70c7ef364a0ae0aad3658ec Mon Sep 17 00:00:00 2001 > From: Rudolf Adamkovic > Date: Tue, 27 Aug 2024 13:50:18 +0200 > Subject: [PATCH] doc/org-manual.org: Update a deprecated function Thanks! Applied, onto bugfix.

Re: [BUG] Warning on executing keyboard macro that inserts time-stamp [9.6.27 ( @ /home/punit/.emacs.d/elpa/org-9.6.27/)]

2024-08-31 Thread Ihor Radchenko
Punit Arya writes: >> It has been a month. Have you had a chance to look into providing more >> details? >> > > I did not get the warning while using the latest Org (9.7.11) from the > repo and minimal config as suggested in the page. > > I guess I need to bisect and troubleshoot my config. D

Re: org_guide_Chinese

2024-08-31 Thread Ihor Radchenko
张日昊 writes: > Hello, I have already translated the org_guide into Chinese. Could you please > add my translated file to the wiki to help more Chinese users learn about org? > > https://github.com/JanSky520/emacs_Chinese.git Thanks for doing this! May you also deploy the HTML/PDF versions to Git

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

2024-08-31 Thread Ihor Radchenko
Karthik Chikmagalur writes: >> Spin out will be easier when for my rebase :) > > Please find attached the draft of a patch implementing a general > link-preview system. Thanks! > Not yet handled or final: > > - Link abbreviations: I'm using org-link-any-re to find links, and this > appears to

Re: [PATCH v3] Improvements to Texinfo exporter (was: [PATCH] Re: Texinfo: Custom navigation and links in headings)

2024-08-31 Thread Ihor Radchenko
Rudolf Adamkovič writes: > I found I do not need alternative navigation, as I can simulate > "alternative up" with links in parent Org headings. > > [Texinfo renders that just fine in HTML.] > > The other two patches are bug fixes, to > > - support links in headings > (including those expor

Re: [BUG] colview.el regexp - capture operator when title is empty

2024-08-31 Thread Ihor Radchenko
Sławomir Grochowski writes: > Subject: [PATCH] lisp/org-colview.el: org-columns-compile-format regexp bugfix Thanks! Applied, onto main. Fixed. I reworded the commit message a bit, making it slightly shorter and making sure that there is double space between sentences. I also added a small comm

Org mode version 9.8-pre (9.8-pre-n/a-g7a3fc3 @ /home/snake/.config/emacs/elpaca/builds/org/); Some kind of bug

2024-08-31 Thread snake05865
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.

org_guide_Chinese

2024-08-31 Thread 张日昊
Hello, I have already translated the org_guide into Chinese. Could you please add my translated file to the wiki to help more Chinese users learn about org? https://github.com/JanSky520/emacs_Chinese.git

Request for addition to "structure editing" manual section

2024-08-31 Thread Tim Braun
Hello, There is a useful but undocumented feature in org-mode related to structure editing. Occasionally one may need to move a sub-item within a file but outside its current parent heading. There is an existing function and native keybinding for this: M-S and M-S . This isn't listed, however,

Re: Sv: Sv: Modularizing Org as GSoC project (was: New Emacs features via Google Summer of Code (or other similar stipend schemes) (was: as for Calc and the math library))

2024-08-31 Thread Ihor Radchenko
arthur miller writes: >>> Well, part of it. Or more to make some parts of org-markup configurable, and >>> usable as minor modes so they can be easier used outside of org-mode. >> >>This is not the direction Org mode project is going. We do the reverse - >>Org markup is getting more stable, with