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

2023-05-14 Thread Ihor Radchenko
Tom Davey writes: > 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

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

2023-05-14 Thread Ihor Radchenko
"Christopher M. Miles" writes: > What about like this? > > #+begin_src emacs-lisp > (setq tbl (let ((bound-tags (seq-filter 'cdr fulltable))) > (if (length> shortkeys 0) > bound-tags > (seq-take fulltable 26))) >

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

2023-05-14 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > #+begin_src emacs-lisp (let ((bound-tags (seq-filter 'cdr temp-fulltable))) (if (length> bound-tags 0) bound-tags (seq-take temp-fulltable 26))) #+end_src >>> >>> This will unconditionally drop

Re: BUG: org-cycle does not unfold some subtrees

2023-05-14 Thread Michael Dauer
I think I found a way to consistently reproduce the issue: >>> * h1 a * h2 b * h3 b * h4 c <<< Collapse all. All is fine at this time. At pos-min call (query-replace) bbb -> zzz: Already when asking whether to replace it cannot expand. h2 and h3 are expansion is broken.

Re: [test] org-colview/org-columns

2023-05-14 Thread Ihor Radchenko
Ihor Radchenko writes: > Sławomir Grochowski writes: > >> I'm trying to better understand 'org-colview/org-columns'. >> So I wrote some tests. File in attachment. > > Thanks! The tests look good to me. Applied, onto main. (A different, sent privately, version.)

Re: [PATCH] ox.el: Customize org-export-dispatch options

2023-05-14 Thread Jim Wisniewski
On Sun, May 14, 2023 at 10:16 AM Ihor Radchenko wrote: > > Bastien Guerry writes: > > > Yes I do, sorry for the delay. > > Thanks for confirming! > Applied, onto main. > https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=9d06e7bf8 > > and updated our copyright records >

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

2023-05-14 Thread Leo Butler
On Sat, May 13 2023, Ihor Radchenko wrote: > 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'

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

2023-05-14 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >> Sorry, wrong code, here is the correct code snippet: >> >> #+begin_src emacs-lisp >> (let ((bound-tags (seq-filter 'cdr temp-fulltable))) >> (if (length> bound-tags 0) >> bound-tags >> (seq-take temp-fulltable 26))) >>

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

2023-05-14 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >> What about like this? >> >> #+begin_src emacs-lisp >> (setq tbl (let ((bound-tags (seq-filter 'cdr fulltable))) >> (if (length> shortkeys 0) >> bound-tags >> (seq-take

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

2023-05-14 Thread Ihor Radchenko
"Christopher M. Miles" writes: > Sorry, wrong code, here is the correct code snippet: > > #+begin_src emacs-lisp > (let ((bound-tags (seq-filter 'cdr temp-fulltable))) > (if (length> bound-tags 0) > bound-tags > (seq-take temp-fulltable 26))) > #+end_src This will unconditionally

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

2023-05-14 Thread Ihor Radchenko
"Christopher M. Miles" writes: >>> #+begin_src emacs-lisp >>> (let ((bound-tags (seq-filter 'cdr temp-fulltable))) >>> (if (length> bound-tags 0) >>> bound-tags >>> (seq-take temp-fulltable 26))) >>> #+end_src >> >> This will unconditionally drop auto-labeled tags when user-bound

Re: BUG: org-cycle does not unfold some subtrees

2023-05-14 Thread Gregor Zattler
Hi Michael, Ihor, ... * Michael Dauer [2023-05-14; 12:56 +02]: > I think I found a way to consistently reproduce the issue: > * h1 > a > * h2 > b > * h3 > b > * h4 > c > <<< > Collapse all. All is fine at this time. > At pos-min call (query-replace) bbb -> zzz: Already when

Re: [PATCH] ox.el: Customize org-export-dispatch options

2023-05-14 Thread Bastien Guerry
Hi, Ihor Radchenko writes: > Jim Wisniewski writes: > >> On Thu, Apr 20, 2023 at 4:46 AM Ihor Radchenko wrote: >> >>> Thanks! Let us know when FSF replies with a countersignature. >> >> Just got it back today. > > Thanks for the update! > Bastien, may you confirm? Yes I do, sorry for the

Re: [PATCH] ox.el: Customize org-export-dispatch options

2023-05-14 Thread Ihor Radchenko
Bastien Guerry writes: Thanks! Let us know when FSF replies with a countersignature. >>> >>> Just got it back today. >> >> Thanks for the update! >> Bastien, may you confirm? > > Yes I do, sorry for the delay. Thanks for confirming! Applied, onto main.

[PATCH] add a function to only refresh inline images under current headline instead of global buffer

2023-05-14 Thread Christopher M. Miles
I found a lot of third-part Emacs packages refresh Org source block image result using the API function like this: #+begin_src emacs-lisp ;; Automatically refresh inline images. (add-hook 'org-babel-after-execute-hook (defun ob-dall-e--refresh-inline-images () (when

Re: org code and error catching

2023-05-14 Thread Michael Heerdegen
Ihor Radchenko writes: > This is a good idea, except that `condition-case-unless-debug' has > non-obvious side effects that interfere with ERT (Org testing system). What side effects are these? Thx, Michael.