Re: [BUG] - Statistics cookie is part of the org heading title

2022-05-03 Thread Ihor Radchenko
Samuel Wales writes: > some code removes it. for example creating a link to a headline using > capture. Yeah. org-link--normalize-string. But it is internal function, so I would not rely on it. Also, rather than relying on regexps, I would use org-element-headline-parser, extract parsed

Re: [BUG] - Statistics cookie is part of the org heading title

2022-05-03 Thread Samuel Wales
some code removes it. for example creating a link to a headline using capture. On 5/3/22, Daniel Fleischer wrote: > Fabian writes: > >> I don't see any reason why the statistics cookie should be part of the >> title: it should be a separate component. > > According to the spec, the statistics

Re: How to export to markdown programmatically without the table of contents?

2022-05-03 Thread Daniel Fleischer
Karl Voit writes: > Could it be that I don't have "md" as backend somehow? Is there a > hidden requirement? The variable `org-export-backends` default value is '(ascii html icalendar latex odt) so you need to add 'md. -- Daniel Fleischer

Re: [BUG] - Statistics cookie is part of the org heading title

2022-05-03 Thread Daniel Fleischer
Fabian writes: > I don't see any reason why the statistics cookie should be part of the title: > it should be a separate component. According to the spec, the statistics cookie can appear anywhere, it's a text element. It can appear in a headline where it has more meaning and also appear

Re: Report error in scheme evaluation

2022-05-03 Thread Felipe Lema
On 2022-04-30 06:35, Neil Jerram wrote: On Sat, 30 Apr 2022 at 09:14, Ihor Radchenko wrote: Felipe Lema writes: I just realized I was un-CCed out of the thread Here's the updated patch with the requested changes (actually single one) Lemme know if I'm missing anything else. Can you

Re: Org as a workspace (an impromptu reflection)

2022-05-03 Thread Juan Manuel Macías
Nick Dokos writes: > From my vantage point (of ignorance about it :-) ), this sounds like > org-roam to me: https://www.orgroam.com/ I've read here and there interesting things about org-roam, but I admit I've never had the courage to try it. Partly due to lack of time and partly because with my

Re: [PATCH] speed commands: error message when a key is not associated with a command

2022-05-03 Thread Juan Manuel Macías
Ihor Radchenko writes: > It is more complex and I do not see a clear benefit of introducing a > whole new hook. It would only be useful for people who define a large > number of extra speed command handlers. Yes, I agree. Also I'm afraid that this idea of mine added a drawback as a bonus track:

Re: How to export to markdown programmatically without the table of contents?

2022-05-03 Thread Jeremie Juste
Hello Karl, On Tuesday, 3 May 2022 at 11:15, Karl Voit wrote: > > I tried this neat code snippet today with Emacs 26.3 and Org-mode > 9.1.9 and I got an error: > > | org-export-barf-if-invalid-backend: Unknown "nil" back-end: Aborting export > > When I execute the following code, I get the same

Re: Agenda without todos only if there is no other timestamp

2022-05-03 Thread TRS-80
TRS-80 writes: > On 2022-04-05 04:48, Karl Voit wrote: >> Hi, >> I've got following custom agenda for exporting: >> | ("n" "no TODO events +180d" >> | ((agenda "no TODO events +180d" >> | ((org-agenda-span 180) >> |(org-agenda-time-grid nil) >> |

Re: DOC "Org Mode tools": orgparse is missing

2022-05-03 Thread TRS-80
Patches welcome? :) Cheers, TRS-80

Re: org-startup-folded does not work with directory local variables

2022-05-03 Thread Jeremie Juste
Hello Max, On Tuesday, 3 May 2022 at 00:37, Max Fujimoto wrote: > Emacs 28.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.33, cairo > version 1.17.6) I must apologise for, I haven't made the jump to emacs 28 yet: GNU Emacs 27.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.24) of

Re: [BUG] In recent GNU emacs master org-capture hangs [9.5.3 (release_9.5.3-465-gd7dc62 @ /home/oub/emacs/site-lisp/packages/org/)]

2022-05-03 Thread Uwe Brauer
>>> "IR" == Ihor Radchenko writes: > Uwe Brauer writes: >> Here is one of the templates >> ("mt" "Tutorias Headings" >> entry (file+headline "~/ALLES/HGs/tex/vorlesungen/Tutorias/tutorias.org" >> "Tutorials") >> "* TODO %^{Task} %T : %:from %:subject %^G\n- From :: %:from\n- Subject :: >>

Bug ? : No indentation for the text in inline tasks

2022-05-03 Thread Nicolas Odermatt-Lemay
Greetings, Step to reproduce: 1- Enable (org-indent-mode) in an org buffer. 2- Use the command (org-inlinetask-insert-task) 3- Insert some text between the task's title and the keyword END 4- Notice that the text between the title and the keyword END isn't properly indented. I'm not sure if this

org-startup-folded does not work with directory local variables

2022-05-03 Thread Max Fujimoto
Emacs 28.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.33, cairo version 1.17.6) The variable org-startup-folded does not work expected in .dir-locals.el.The option "#+startup: fold" works as expected. To replicate - start emacs -q- create a test dir    - create or copy an .org

[BUG] - Statistics cookie is part of the org heading title

2022-05-03 Thread Fabian
Hi everybody, I would like to report his behaviour as a bug: Example: * Some Heading Title [0/1] ;; cursor in this line when executing ** TODO Some Todo Item -> result is "Some Heading Title [0/1]" -> desired result would be "Some Heading Title" I don't see any reason

Re: [BUG] In recent GNU emacs master org-capture hangs [9.5.3 (release_9.5.3-465-gd7dc62 @ /home/oub/emacs/site-lisp/packages/org/)]

2022-05-03 Thread Uwe Brauer
>>> "IR" == Ihor Radchenko writes: > Uwe Brauer writes: >> Here is one of the templates >> ("mt" "Tutorias Headings" >> entry (file+headline "~/ALLES/HGs/tex/vorlesungen/Tutorias/tutorias.org" >> "Tutorials") >> "* TODO %^{Task} %T : %:from %:subject %^G\n- From :: %:from\n- Subject :: >>

[PATCH v3] org-encode-time compatibility and convenience helper

2022-05-03 Thread Max Nikulin
On 26/04/2022 16:07, Ihor Radchenko wrote: LGTM. I think you can go ahead and continue with the followup patch making use of the new macro. The attached patch set is assumed to be complete. I have no chance to thoroughly test it. Existing unit tests pass for Emacs-26 and Emacs-27. Nothing

Re: [PATCH] New function org-speed-command-add for adding/modifying speed commands

2022-05-03 Thread Ihor Radchenko
Shankar Rao writes: > Over the weekend I thought about this issue of configuring > `org-speed-commands' more easily, and I believe I have come up with a > simpler solution that I have provided in the attached patch. > > This patch creates a new function `org-speed-command-add' that can be > used

[DONE] Re: [ISSUE] org-fold does not support auto-reveal for some external package commands

2022-05-03 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >> I'm using package "consult" which has command "consult-org-heading" to >> search org headlines. It will >> auto jump to the selected headline and expand the jumped headline. After >> using org-fold, it does not >> auto jump to the

Re: How to export to markdown programmatically without the table of contents?

2022-05-03 Thread Karl Voit
Hi, * Marcin Borkowski wrote: > > On 2022-05-01, at 22:01, Berry, Charles wrote: > >>> On May 1, 2022, at 2:20 AM, Marcin Borkowski wrote: >>> >>> I'd like to export a Org-mode formatted string to markdown, but without >>> the table of contents. >>> >>> (org-export-string-as my-string 'md t

Re: [BUG] In recent GNU emacs master org-capture hangs [9.5.3 (release_9.5.3-465-gd7dc62 @ /home/oub/emacs/site-lisp/packages/org/)]

2022-05-03 Thread Ihor Radchenko
Uwe Brauer writes: > Here is one of the templates > ("mt" "Tutorias Headings" > entry (file+headline > "~/ALLES/HGs/tex/vorlesungen/Tutorias/tutorias.org" "Tutorials") > "* TODO %^{Task} %T : %:from %:subject %^G\n- From :: %:from\n- > Subject :: %:subject\n- Date ::

Re: [BUG] org-compile-prefix-format doco is incomplete [9.5.2 (9.5.2-gfbff08 @ /home/phil/.emacs.d/elpa/org-9.5.2/)]

2022-05-03 Thread Phil Hudson
Thanks again Ihor! On Tue, 3 May 2022 at 04:44, Ihor Radchenko wrote: > > Phil Hudson writes: > > > Function org-compile-prefix-format in file org-agenda.el (line 6917 in > > Org 9.5.2) does not properly document parameter `key'. > > Thanks! Fixed on main via 5d3173cb0. > > Best, > Ihor

Re: [PATCH] Re: [BUG] org-element-map doco should refer to org-element-parse-buffer [9.5.2 (9.5.2-gfbff08 @ /home/phil/.emacs.d/elpa/org-9.5.2/)]

2022-05-03 Thread Phil Hudson
Thanks Ihor, that's great! One tiny nit-pick: I think "e.g." is deprecated in favor of the explicit literal "for example". My source for this is (info "(elisp) Documentation Tips"). Also, just spotted what I think is a pre-existing typo, "objects types", which I think should probably be just

Re: [BUG] In recent GNU emacs master org-capture hangs [9.5.3 (release_9.5.3-465-gd7dc62 @ /home/oub/emacs/site-lisp/packages/org/)]

2022-05-03 Thread Uwe Brauer
>>> "IR" == Ihor Radchenko writes: > Uwe Brauer writes: >> And org-mode to a3dac4d20a37c51393f191d01e0ec2170bb260a3 >> >> However when using org-capture, emacs hangs and I can't finish sending the >> template? >> >> Can anybody confirm this? > Could you provide more details? Reproducer? >

Re: [BUG] In recent GNU emacs master org-capture hangs [9.5.3 (release_9.5.3-465-gd7dc62 @ /home/oub/emacs/site-lisp/packages/org/)]

2022-05-03 Thread Ihor Radchenko
Uwe Brauer writes: > And org-mode to a3dac4d20a37c51393f191d01e0ec2170bb260a3 > > However when using org-capture, emacs hangs and I can't finish sending the > template? > > Can anybody confirm this? Could you provide more details? Reproducer? Capture is certainly working on my side - I use

[Culprit is org] (was: [BUG] In recent GNU emacs master org-capture hangs [9.5.3 (release_9.5.3-465-gd7dc62 @ /home/oub/emacs/site-lisp/packages/org/)])

2022-05-03 Thread Uwe Brauer
>>> "UB" == Uwe Brauer writes: > Hi > Not sure who is the culprit here. > I upgraded GNU emacs to > , > | emacs-repository-version is a variable defined in ‘version.el’. > | > | Its value is "7bf17ceee8c2d347917541e143ce25609e90ebbb" > ` > And org-mode to

Re: [ISSUE] org-fold does not support auto-reveal for some external package commands

2022-05-03 Thread Ihor Radchenko
"Christopher M. Miles" writes: > I'm using package "consult" which has command "consult-org-heading" to search > org headlines. It will > auto jump to the selected headline and expand the jumped headline. After > using org-fold, it does not > auto jump to the headline now. > > The previous