Re: [RFC/PATCH] naming src/bin files in ob-C.el

2023-05-13 Thread Ihor Radchenko
Leo Butler writes: >> IMHO, it will be more consistent with other backends to use :results file >> :file /path/to/executable > > No, I don't think this is the way to do it. What happens in this > case is: > > 1. `org-babel-C-execute' creates a named source file, compiles it to the >named

Re: Improve the performance of `org-set-tags-command` on large `org-tag-alist`

2023-05-13 Thread Ihor Radchenko
stardiviner writes: > I applied your diff with a testing. This indeed solved the performance > issue. > Will this be updated in Org-mode source code? > Also I come up with one thing, filter out tags which have shortcut > keybinding bound. Because user defined shortcut key defined tags are not >

Re: [BUG] <2022-04-11 Mon 17:1-19:10> is wrongly parsed as a valid timestamp [9.5.3 (release_9.5.3-461-ga3dac4 @ /home/yantar92/.emacs.d/straight/build/org/)]

2023-05-13 Thread Ihor Radchenko
Ihor Radchenko writes: > Consider the following timestamp with a typo in starting minute: > > <2022-04-11 Mon 17:1-19:10> > ... > > Expected: The example timestamp is not parsed as a valid timestamp, but > rather considered a paragraph. Upon further thinking, I do not think that the above

Re: BUG: (org-insert-subheading) fails when on true begin of line (first star) of heading

2023-05-13 Thread Ihor Radchenko
Michael Dauer writes: > I understand that it's behavior is derived from org-insert-heading. But IMO > that does not make sense for this function, advice all that it is taking > the current indentation level as basis to devote the new heading as child > of the previous heading. It e.g. created a

Re: Improve the performance of `org-set-tags-command` on large `org-tag-alist`

2023-05-13 Thread stardiviner
I applied your diff with a testing. This indeed solved the performance issue. Will this be updated in Org-mode source code? Also I come up with one thing, filter out tags which have shortcut keybinding bound. Because user defined shortcut key defined tags are not always on head of list.

Re: Improve the performance of `org-set-tags-command` on large `org-tag-alist`

2023-05-13 Thread Christopher M. Miles
Ihor Radchenko writes: > stardiviner writes: > >> I have a large `org-tag-alist` value that contains about ~7000 tags. >> When I press [C-c C-q] `org-set-tags-command`. Emacs suspends a long time. > > Indeed. That's because `org-fast-tag-selection' tries to put all those > 7k tags into tag

Re: Help using org-entities or arternatives.

2023-05-13 Thread Ypo
Thanks, Ruijie. I think it is not what I was asking for, but it's nice to read your code. Best regards. El 09/05/2023 a las 13:48, Ruijie Yu escribió: Ypo writes: Hi Is it possible to, each time I write "" to be subsituted by "[...]" ? I can't do it using abbrev, and I don't know how

[PATCH] Re: Improve the performance of `org-set-tags-command` on large `org-tag-alist`

2023-05-13 Thread Christopher M. Miles
Ihor Radchenko writes: > stardiviner writes: > >> I applied your diff with a testing. This indeed solved the performance >> issue. >> Will this be updated in Org-mode source code? >> Also I come up with one thing, filter out tags which have shortcut >> keybinding bound. Because user defined

Re: [PATCH] Re: Improve the performance of `org-set-tags-command` on large `org-tag-alist`

2023-05-13 Thread Ihor Radchenko
"Christopher M. Miles" writes: >> It would be great if you can come up with a patch. >> 1. Keeping tags with explicitly assigned key binding indeed makes sense >> 2. If we limit the number of displayed tags (on top of explicitly >>assigned), it should be a defcustom. > > Here is the patch. >

Re: Improve the performance of `org-set-tags-command` on large `org-tag-alist`

2023-05-13 Thread Ihor Radchenko
stardiviner writes: > I have a large `org-tag-alist` value that contains about ~7000 tags. > When I press [C-c C-q] `org-set-tags-command`. Emacs suspends a long time. Indeed. That's because `org-fast-tag-selection' tries to put all those 7k tags into tag selection window. We can probably

[BUG] Contents of the *Warnings* buffer, which has begun popping up at random intervals

2023-05-13 Thread Tom Davey
I was prompted by a buffer named *Warnings* to send an email to emacs-orgmode@gnu.org. This buffer appears seemingly at random every few days or so (I use Emacs and Org mode for about eight hours a day). The warnings began after I upgraded to Org 9.6.3. Find the

Re: [BUG] Contents of the *Warnings* buffer, which has begun popping up at random intervals

2023-05-13 Thread George Mauer
Not at my computer now, but that looks like a warning I've been getting pretty constantly for a few weeks and have an investigated. I assumed it was coming from org-ai as I just recently added to that to my workflow and use it a lot, but maybe not On Sat, May 13, 2023, 17:22 Tom Davey wrote: >

Re: [PATCH] Re: Improve the performance of `org-set-tags-command` on large `org-tag-alist`

2023-05-13 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >>> It would be great if you can come up with a patch. >>> 1. Keeping tags with explicitly assigned key binding indeed makes sense >>> 2. If we limit the number of displayed tags (on top of explicitly >>>assigned), it should be a