Re: [BUG] org-table-blank-field keybinding [9.5.4 (N/A @ /gnu/store/sry9khwisaq1jnrjbfnhx6ki8qy2z0db-emacs-org-9.5.4/share/emacs/site-lisp/org-9.5.4/)]

2022-09-12 Thread Ihor Radchenko
Bastien, could you kindly confirm that this kind of patch fits into TINYCHANGE? The changes are trivial, so we should not need to look at the line count here, right? André A. Gomes writes: > Also, it might be worth mentioning in the manual that this command works > when a region is

Suggested Syntax for cancelled checkboxes: [-] as non-blocking dependency

2022-09-12 Thread Karl Voit
Hi, I was using list checkboxes like that: - [ ] open task - [X] closed task - [-] cancelled task The latter one is supported via C-u C-u C-c C-c. However, when I'm using: (setq org-enforce-todo-checkbox-dependencies t) ... any [-] checkbox will be regarded as non-finished contrary to the

[BUG] org-paste-subtree inserts empty line above paste

2022-09-12 Thread Felix Wiemuth
Emacs 28.1 Orgmode 9.5.2 (but discovered already 2020-01-20) When pasting a subtree (of whichever level) with org-paste-subtree at any position (can be an empty line or a line with a header prefix, e.g. "*** "), always an empty line is inserted above the inserted subtree. I would expect no

Re: [PATCH v2] Re: Adding target and custom id links doesn't ask for description

2022-09-12 Thread Ihor Radchenko
Max Nikulin writes: > Unfortunately, your patch does not fix the real issue. The title (not > nil) should be saved for link description when the heading contains the > CUSTOM_ID property. I tried to address it in the following patches: > > Max Nikulin. Re: Bug: org-store-link uses CUSTOM_ID

Re: Images in org-mode

2022-09-12 Thread Ihor Radchenko
Max Nikulin writes: > Matt Huszagh. [PATCH] Fix regex for determining image width from > attribute. Sun, 21 Nov 2021 11:08:54 -0800. > https://list.orgmode.org/87czmtuy0p@gmail.com Did it get merged? There are several patches proposed in that thread, but I do not see them being actually

org-super-agenda global list of TODO items

2022-09-12 Thread Angel de Vicente
Hello, I just learnt about org-super-agenda today and it looks brilliant to keep my agenda a bit better organized. But I tend to use the "C-c a h" to view the daily agenda and the tasks. I managed to organize my todo items in the daily agenda view without issues, but I'm not sure what I have to

Re: [PATCH] New: auto display inline images under subtree when `org-cycle'.

2022-09-12 Thread Ihor Radchenko
"Christopher M. Miles" writes: > Ihor Radchenko writes: > >> "Christopher M. Miles" writes: >> When I put it on beginning of org document, then preview inline images, but those global attributes not affected. The inline images still display in actual image size. I want to

Re: Report error in scheme evaluation

2022-09-12 Thread Ihor Radchenko
Felipe Lema writes: > Let me know if I'm missing anything so this can be merged. It is correct to > report errors this way, right? I am going through old patch submission that have not been resolved. Note that this is not a patch, but a diff. Also, > + (when-let* ((err

Re: per-file (or, really, per buffer) allowing/disallowing code block execution

2022-09-12 Thread Greg Minshall
Ihor, Fedja, et al., i think this is very good. my suggestion would be to *not* permanently mark a file as safe (i.e., i would vote against org-confirm-babel-evaluate-safe-paths); rather, let a local variable do that. i worry about keeping state in "side cars" (if one calls them that), as it

Re: Images in org-mode

2022-09-12 Thread Timothy
Hi Ihor, > Max Nikulin writes: > >> Matt Huszagh. [PATCH] Fix regex for determining image width from >> attribute. Sun, 21 Nov 2021 11:08:54 -0800. >> > > Did it get merged? There are several patches proposed in that thread, > but I do not see

Org version mismatch -- hooray!

2022-09-12 Thread Greg Minshall
i updated org, and in an existing emacs instance did something (in a .org file), and got byte-code: Org version mismatch. Make sure that correct ‘load-path’ is set early in init.el which i think is great! thanks very much! cheers, Greg

Re: [PATCH v2] Re: Adding target and custom id links doesn't ask for description

2022-09-12 Thread Max Nikulin
On 12/09/2022 18:02, Ihor Radchenko wrote: Max Nikulin writes: Unfortunately, your patch does not fix the real issue. The title (not nil) should be saved for link description when the heading contains the CUSTOM_ID property. I tried to address it in the following patches: Max Nikulin. Re:

BUG: org-show-context 'lineage not showing direct parent of inlinetask

2022-09-12 Thread Michael Dauer
This e.g. affects pressing TAB on an inlinetask in the agenda view. Org mode version 9.5 (9.5-gced2b3

org-assert-version considered harmful

2022-09-12 Thread Stefan Monnier
I can see the reason for this macro, and I don't really have a better solution to offer, but as someone who has a Git clone of Org that is regularly updated using (basically) the normal compilation system used in Emacs (i.e. not systematically recompiling all the files, but only those whose `.el`

Re: [BUG] org-agenda-list takes 4m compared to 27 that took 15 seconds [9.5.2 (release_9.5.2-25-gaf6f12 @ /usr/share/emacs/28.1/lisp/org/)]

2022-09-12 Thread andrés ramírez
Hi. Ihor. > "Ihor" == Ihor Radchenko writes: [...] Ihor> The slowdown is possible as a side-effect of some bugfixes. However, the newest Ihor> development version of Org should not have these performance issues. I have just tried 9.6. org-agenda-list generation time was 1m20s.

[PATCH 3] New: auto display inline images under subtree when `org-cycle'.

2022-09-12 Thread Christopher M. Miles
"Christopher M. Miles" writes: Ihor, My new patch still have some issue in the 'fold state which I added "FIXME" marker. Hope can get some solution from you. From 4a56ec6b09e09d92a81e3aa72f4197d716d0ca87 Mon Sep 17 00:00:00 2001 From: stardiviner Date: Mon, 12 Sep 2022 09:45:09 +0800 Subject:

Use lexical-scoping in tests

2022-09-12 Thread Stefan Monnier
The patch below simply enables `lexical-binding` in all the test files. As far as I can tell, it's all that's needed (beside a missing `require`). Stefan diff --git a/testing/examples/babel.el b/testing/examples/babel.el index a7bb0ccf52..cbd522e243 100644 --- a/testing/examples/babel.el

Re: org-assert-version considered harmful

2022-09-12 Thread Ihor Radchenko
Stefan Monnier writes: > I can see the reason for this macro, and I don't really have a better > solution to offer, but as someone who has a Git clone of Org that is > regularly updated using (basically) the normal compilation > system used in Emacs (i.e. not systematically recompiling all the

[PATCH 2] New: auto display inline images under subtree when `org-cycle'.

2022-09-12 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >> Ihor Radchenko writes: >> >>> "Christopher M. Miles" writes: >>> > When I put it on beginning of org document, then preview inline images, > but those global attributes > not affected. The inline images still display

[ISSUE] Re: [PATCH] New: auto display inline images under subtree when `org-cycle'.

2022-09-12 Thread Christopher M. Miles
"Christopher M. Miles" writes: > [[PGP Signed Part:Undecided]] > > Ihor Radchenko writes: > >> "Christopher M. Miles" writes: >> When I put it on beginning of org document, then preview inline images, but those global attributes not affected. The inline images still display in

Re: org-super-agenda global list of TODO items

2022-09-12 Thread Ihor Radchenko
Angel de Vicente writes: > I managed to organize my todo > items in the daily agenda view without issues, but I'm not sure what I > have to do to organize the items in the "Global list of TODO items". Is > this possible? Any examples to point me in the right direction? Could you please

Re: per-file (or, really, per buffer) allowing/disallowing code block execution

2022-09-12 Thread Tim Cross
Greg Minshall writes: > Ihor, Fedja, et al., > > i think this is very good. > > my suggestion would be to *not* permanently mark a file as safe (i.e., i > would vote against org-confirm-babel-evaluate-safe-paths); rather, let a > local variable do that. i worry about keeping state in "side

Re: [BUG] org-agenda-list takes 4m compared to 27 that took 15 seconds [9.5.2 (release_9.5.2-25-gaf6f12 @ /usr/share/emacs/28.1/lisp/org/)]

2022-09-12 Thread Ihor Radchenko
andrés ramírez writes: > Ihor> The slowdown is possible as a side-effect of some bugfixes. > However, the newest > Ihor> development version of Org should not have these performance issues. > > I have just tried 9.6. org-agenda-list generation time was 1m20s. More > than one minute

Re: org-assert-version considered harmful

2022-09-12 Thread Ihor Radchenko
Stefan Monnier writes: >> Does it help if you run make autoloads after git fetch? > > Not that I can tell, no. But note that I'm not using Org's makefile to > compile the files, I'm using the elpa.git scripts instead, which don't > take into account dependencies between files. > > So the

Re: [BUG] org-agenda-list takes 4m compared to 27 that took 15 seconds [9.5.2 (release_9.5.2-25-gaf6f12 @ /usr/share/emacs/28.1/lisp/org/)]

2022-09-12 Thread Ihor Radchenko
andrés ramírez writes: > Hi. Ihor. > >> "Ihor" == Ihor Radchenko writes: > > [...] > > Ihor> Can you then execute (setq org-element--cache-self-verify nil) > Ihor> and repeat the steps? > > Done. > > The produced file. Thanks! Now, can you execute the following and let me know if

Re: org-assert-version considered harmful

2022-09-12 Thread Timothy
Hi Ihor and Stefan, Considering the separate cases of: • Installing an Org version different to the bundled Org • Having a development Org version with some slightly-out-of-date cache/autoload files. I’d think the second case has a dramatically reduced chance of issues. Could it be reasonable

Re: per-file (or, really, per buffer) allowing/disallowing code block execution

2022-09-12 Thread Greg Minshall
hi, Tim, > There are valid use cases for a configuration which does not require > user interaction (to answer questions on block evaluation), for example, > when you want to process many org files in a batch process without user > interaction. Likewise, I don'tg want Emacs to become too much of a

Re: [BUG] org-paste-subtree inserts empty line above paste

2022-09-12 Thread Ihor Radchenko
Felix Wiemuth writes: > Emacs 28.1 > Orgmode 9.5.2 (but discovered already 2020-01-20) > > When pasting a subtree (of whichever level) with org-paste-subtree at > any position (can be an empty line or a line with a header prefix, e.g. > "*** "), always an empty line is inserted above the

Re: org-assert-version considered harmful

2022-09-12 Thread Stefan Monnier
Ihor Radchenko [2022-09-13 09:52:37] wrote: > Stefan Monnier writes: >> I can see the reason for this macro, and I don't really have a better >> solution to offer, but as someone who has a Git clone of Org that is >> regularly updated using (basically) the normal compilation >> system used in

Re: [BUG] org-agenda-list takes 4m compared to 27 that took 15 seconds [9.5.2 (release_9.5.2-25-gaf6f12 @ /usr/share/emacs/28.1/lisp/org/)]

2022-09-12 Thread Ihor Radchenko
andrés ramírez writes: > Ihor> Can you please 1. run M-x profiler-start cpu 2. run > your agenda 3. M-x > Ihor> profiler-report 4. M-x profiler-report-write-profile > cpu-profile.el 5. Share > Ihor> the file produced in 4 > > The file produced. Thanks! Can you then execute

Re: Suggested Syntax for cancelled checkboxes: [-] as non-blocking dependency

2022-09-12 Thread Ihor Radchenko
Karl Voit writes: > I was using list checkboxes like that: > > - [ ] open task > - [X] closed task > - [-] cancelled task > > The latter one is supported via C-u C-u C-c C-c. >From the manual (5.6 Checkboxes): ‘C-c C-x C-b’ (‘org-toggle-checkbox’) Toggle checkbox status or—with prefix

Re: org-super-agenda global list of TODO items

2022-09-12 Thread Angel de Vicente
Hello, Ihor Radchenko writes: > Could you please elaborate what you mean by "organize"? Maybe the best is an image... If you look at https://github.com/alphapapa/org-super-agenda/blob/master/images/screenshots/index.org, you can see that the TODO items for a given date in the agenda are neatly