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

2022-09-15 Thread Ihor Radchenko
Christophe Schockaert writes: > (my wish would be to have a robust way to handle multilines formating, > but that’s on another topic going on ^^) > > I don’t know what’s the usual process : can’t we file an issue to track > it, and write down the options we have, then decide the outcome of it

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-15 Thread Ihor Radchenko
andrés ramírez writes: > Ihor> Then, can you provide the updated profiler report again? Please > use the latest > Ihor> development version of Org + (setq org-element--cache-self-verify > nil) > > See the attached file. Please try again on the latest main. -- Ihor Radchenko, Org

Re: Use lexical-scoping in tests

2022-09-15 Thread Stefan Monnier
>> OK, here's a better version. As you can see, it's not nearly as simple. > > Applied onto main + commits addressing all but one FIXME (the one about > `find-file' in org-test.el). Great, thanks, Stefan

Re: [PATCH] ol.el: Always prompt for description in `org-insert-link'

2022-09-15 Thread Ihor Radchenko
Max Nikulin writes: > I have an idea how to fix the code to bypass the description prompt if > path is completed by description discarding identical path and > description, but I prefer to drop the confusing variable and not depend > on the means how the link was selected from the list of

Re: Use lexical-scoping in tests

2022-09-15 Thread Ihor Radchenko
Stefan Monnier writes: >> The fix is in preparation, but obviously I had tested my patch >> incorrectly (i.e. I probably compiled and tested another code than the >> one I had patched). > > OK, here's a better version. As you can see, it's not nearly as simple. Applied onto main + commits

Re: Use lexical-scoping in tests

2022-09-15 Thread Stefan Monnier
>> +;; FIXME: `s' is a symbol, so (car-safe s) is always nil. >> +;;(when (eq 'autoload (car-safe s)) >> +;; (unintern s obarray)) >> + > > If I understand correctly, the intended version of this code is supposed > to be > > (when (autoloadp

Re: [PATCH] org-contrib/babel/languages/ob-doc-plantuml.org: ASCII output

2022-09-15 Thread Joseph Turner
No worries! Thanks for your patient help. Ihor Radchenko writes: > Ihor Radchenko writes: > >> Joseph Turner writes: >> >>> You're right! Thank you for catching my mistake. I'll send another patch. >> >> Did you have a chance to work on the patch? > > Oops. Missed that you've sent a patch in

Re: Reinstalling compat fixed everything breaking

2022-09-15 Thread Ihor Radchenko
Charles Philip Chan writes: > I am seeing the same problem. However, it did not resolve for me after > upgrading > the compat library to the current git version. I am still getting: > > , > | Warning (emacs): Org version mismatch. Make sure that correct ‘load-path’ > is > | set early in

Re: Use lexical-scoping in tests

2022-09-15 Thread Ihor Radchenko
Stefan Monnier writes: >> The fix is in preparation, but obviously I had tested my patch >> incorrectly (i.e. I probably compiled and tested another code than the >> one I had patched). > > OK, here's a better version. As you can see, it's not nearly as simple. Thanks! This new version passes

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

2022-09-15 Thread Christophe Schockaert
On 2022-09-14 14:43, Ihor Radchenko wrote: Karl Voit writes: So, to me the main use case to have an explicit cancel, is when I have a long list, and to remember that I stated it as "cancelled". If we go that way, having no other nice idea at the moment, I quite like the [C] which is

Re: Do not show a TODO item in the global TODO list until certain date?

2022-09-15 Thread Angel de Vicente
Hello, Ihor Radchenko writes: > Also, I am doing something similar in my personal config using > SHOWFROMDATE property. See > https://github.com/yantar92/emacs-config/blob/master/config.org#properties > for inspiration. I tried the following but without success... my Emacs Lisp lack of

Re: [PATCH] org-contrib/babel/languages/ob-doc-plantuml.org: ASCII output

2022-09-15 Thread Ihor Radchenko
Ihor Radchenko writes: > Joseph Turner writes: > >> You're right! Thank you for catching my mistake. I'll send another patch. > > Did you have a chance to work on the patch? Oops. Missed that you've sent a patch in another thread. Sorry for the noise. -- Ihor Radchenko, Org mode contributor,

Re: [PATCH] org-contrib/babel/languages/ob-doc-plantuml.org: ASCII output

2022-09-15 Thread Ihor Radchenko
Joseph Turner writes: > You're right! Thank you for catching my mistake. I'll send another patch. Did you have a chance to work on the patch? -- Ihor Radchenko, Org mode contributor, Learn more about Org mode at https://orgmode.org/. Support Org development at https://liberapay.com/org-mode,

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

2022-09-15 Thread Christopher M. Miles
Sorry for this hard work on this patch. And thanks for your carefully code reviewing. I have not contribute to org-mode for a long time, already forgot most guidelines. Regards Ihor Radchenko writes: > "Christopher M. Miles" writes: > >>> Also, this change should be documented in etc/NEWS and

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

2022-09-15 Thread Ihor Radchenko
"Christopher M. Miles" writes: >> Also, this change should be documented in etc/NEWS and also in >> "12.7 Images" section of the manual. > > Done. (the manual, you mean org-manual.org right? I found too many > documents under doc/ folder, confused for a while) I meant doc/org-manual.org

bug#45915: 28.2; delete-char deletes two letters

2022-09-15 Thread Tak Kunihiro
I confirmed that delete-char still deletes two letters on emacs-version: 28.2, org-version: 9.5.5. I found out (org-table-align) in (org-table-copy-down) makes this situation. Can someone take a look (org-table-align)? TIA #+begin_src emacs-lisp (defun emacs-bug-reproduce-45915 () "Reproduce

Re: [BUG] Inconsistent behaviour of TODO + COMMENT + TODO dependencies + agenda? [9.5 (9.5-g0a86ad @ /home/ignacio/.emacs.d/elpa/org-9.5/)]

2022-09-15 Thread Ihor Radchenko
Sorry for the late reply. Ignacio Casso writes: > I was going to write one, but I have found further inconsistencies and > incomplete documentation and I think we should clearly define first how > we want dependencies to behave. According to the Org Mode documentation > and the docstrings of

Re: error org export to pdf when latex letter class has been added to org-latex-classes

2022-09-15 Thread Pedro Andres Aranda Gutierrez
Hi, for what it may help... my emacs version: GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, cairo version 1.16.0) of 2022-09-12 Adding #+OPTIONS: toc:nil to your MWE I have this small file to export to latex: ``` (require 'org) (require 'ox-latex) (eval-after-load