Re: [BUG] SPACE jumps to tag in header line after hidden emphasis marker [9.7-pre (release_9.6.7-562-g5b6268 @ /home/jschmidt/work/org-mode/lisp/)]

2023-07-19 Thread Jens Schmidt
On 2023-07-19 09:10, Ihor Radchenko wrote: I see no good way to address this quickly, so I re-added stickiness to the opening emphasis marker, as you suggested. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=724135dda Follow-ups: 1.

[PATCH] org-clock-sum: Rewrite function to improve performance

2023-07-19 Thread Morgan Smith
* lisp/org-clock.el(org-clock-sum): Rewrite function using 'org-element-map' to traverse the file instead of searching. --- Hello! I have a very big file with lots of clock entries and refreshing my clocktable has become slow. Using '(benchmark-elapse (org-ctrl-c-ctrl-c))' I saw that it took

Re: Dates in headlines

2023-07-19 Thread Max Nikulin
On 18/07/2023 16:24, Ihor Radchenko wrote: Max Nikulin writes: The footnote on dates in heading title was added in response to Links to datestamped headings broken? Thu, 24 Feb 2011 16:49:14 +1300 3765304c8 2011-06-28 15:30:50 +0200 Bastien Guerry: doc/org.texi: footnote: don't put

Re: [BUG] `org-delete-char` and `org-delete-backward-char` don't respect `delete-active-region`

2023-07-19 Thread Ihor Radchenko
Okamsn writes: > With your clarification, I am asking that Org commands be added/changed > to support `delete-active-region`. Maybe something like below? (100% untested) (defun org-delete-forward-char (N) "Like `delete-forward-char', insert whitespace at field end in tables. When deleting,

Re: [BUG] WORG example for ob-lilypond is no longer working as described (was: Moving some lisp/ob-*.el files to org-contrib - your advice?)

2023-07-19 Thread Jonathan Gregory
On 18 Jul 2023, Ihor Radchenko wrote: Jonathan Gregory writes: I also checked what will happen with future versions, and it looks like \version "2.24.1" actually means >=. That's good to know. I know version 2.20.0 works without the update, so perhaps we could set those variables

Is there a better (built-in) way to insert an org link with title as description?

2023-07-19 Thread Arthur Miller
Hello Org experts, I want to auto insert a title from an HTML page as description for an org link in my notes. I stumbled upon some old message by Miro Bezjak on this list: https://lists.gnu.org/archive/html/emacs-orgmode/2012-09/msg01435.html I have seen the replies, but I am not sure how

Re: eval with :dir in included file

2023-07-19 Thread Dominique Dumont
On Friday, 7 July 2023 17:44:10 CEST Ihor Radchenko wrote: > No, currently. > We do something similar in `org-export--update-included-link', but not > for :dir. Thanks for the quick answer. FTR, I'm now using ':eval never-export' [1] to workaround this issue. All the best [1]

Re: [POLL] Add command names to key bindings in Org Guide? (was: Suggestion: for each listed keybinding, also name the command)

2023-07-19 Thread Ihor Radchenko
Ihor Radchenko writes: > Yuval Langer writes: > >> For many commands, I find it helpful to first learn their names before >> learning their keybindings. The org-mode guide does not include >> command names. >> >> I want to add command names into the org-mode guide. I have attached >> an example

Re: [PATCH] Testing: Ensure 'org-id-locations-file' is set before updating

2023-07-19 Thread Ihor Radchenko
Morgan Smith writes: > Previously, when trying to run the tests in a container limited to the > org repository, it fails because it can't create the directory > "~/.emacs.d/.org-id-locations". > > * testing/org-test.el (org-test-load): Move setting > 'org-id-locations-file' from here ... >

Re: [PATCH] lisp/org-table.el: Allow named columns on lhs

2023-07-19 Thread Ihor Radchenko
Gavin Downard writes: > This patch does prioritize named columns over named fields, which can > break compatibility in tables with a named column and named field with > the same name. Alternatively, we could prioritize named fields to > preserve compatibility, but since named columns are

Re: [BUG] SPACE jumps to tag in header line after hidden emphasis marker [9.7-pre (release_9.6.7-562-g5b6268 @ /home/jschmidt/work/org-mode/lisp/)]

2023-07-19 Thread Farblos
On 2023-07-18 10:13, Ihor Radchenko wrote: Confirmed. Thanks for caring about this so quickly ... https://debbugs.gnu.org/cgi/bugreport.cgi?bug=64696 ... and for the discussion with Eli & co. Which I did not try to follow TBH. Fixed, on main.

Re: [BUG] SPACE jumps to tag in header line after hidden emphasis marker [9.7-pre (release_9.6.7-562-g5b6268 @ /home/jschmidt/work/org-mode/lisp/)]

2023-07-19 Thread Ihor Radchenko
Ihor Radchenko writes: >> OTOH, to fix my bug, only the first of the new `org-rear-nonsticky-at' >> calls is actually needed. So probably we could have something like the >> following to get my bug fixed without any changes in behavior (diff on >> top of main, that is, in addition to your

[BUG] Emphasis markers should be considered word constituents (was: [BUG] SPACE jumps to tag in header line after hidden emphasis marker [9.7-pre (release_9.6.7-562-g5b6268 @ /home/jschmidt/work/org-m

2023-07-19 Thread Ihor Radchenko
> Jens Schmidt writes: > ... >> Well, I have one not-so-minor nit here: With that commit you cannot >> insert text *before* some text having hidden emphasis without breaking >> the emphasis. More concretely (in an empty org-mode buffer): >> (setq org-hide-emphasis-markers t) *foo*