Re: [PATCH] describe how to override Author

2022-06-29 Thread Ihor Radchenko
Robert Pluim writes: >> On Mon, 27 Jun 2022 17:53:30 +0800, Ihor Radchenko >> said: > > Ihor> Robert Pluim writes: > >> diff --git a/org-contribute.org b/org-contribute.org > > Ihor> Maybe add the details to org-maintenance.org instead? > Ihor> This is more of a

Re: [PATCH] Improve look of agenda on graphical displays

2022-06-29 Thread Stefan Kangas
Ihor Radchenko writes: > >:group 'org-agenda > > + :version "29.1" > > ... > > - :version "24.1" > > + :version "29.1" > >:type 'string) > > I am wondering if this is meaningful considering that Org is not always > distributed together with Emacs. Will this :version tag make any sense

org-agenda-prefix-format and tab stops

2022-06-29 Thread Michael Maurer
hi, I've discovered org-agenda-prefix-format, but can't figure out how to add a tab-stop after every todo-item. So basically that the headlines are aligned regardless of the character-length of the todo-item. My current setup looks like this: (setq org-agenda-prefix-format '( (agenda . "

Re: [PATCH] Improve "Speeding Up Your Agendas" chapters

2022-06-29 Thread Ihor Radchenko
Stefan Kangas writes: > Note that the "." is on the next line (you can't see it in the patch though). > >> Thanks, I'll update the patch. > > Please see the attached. Thanks! Applied onto main via a722f6f8e with amendment to the commit message. I have added quoting to the variable name:

Re: [PATCH] Fix behavior of lambda default header arg vars

2022-06-29 Thread Ihor Radchenko
Matt Huszagh writes: > Modifications made and split into two patches. Let me know if any > remaining issues. > From 7af7ad3990410ca388c841e045ec66ce694b404a Mon Sep 17 00:00:00 2001 > From: Matt Huszagh > Date: Mon, 27 Jun 2022 20:42:27 -0700 > Subject: [PATCH 2/2] ob-core.el: Improve

Re: [PATCH] Improve look of agenda on graphical displays

2022-06-29 Thread Ihor Radchenko
Stefan Kangas writes: > The attached patch improves the look of the agenda time grid and > separator line on graphical displays. It was inspired by > org-modern.el by Daniel Mendler. Thanks! Looks good. >:group 'org-agenda > + :version "29.1" > ... > - :version "24.1" > + :version

Re: Orgmode plain list bullet : change automatically with list depth

2022-06-29 Thread DEBRY . Edouard
Finally, it has nothing to do with my own settings. It happens with this : - zeze - ghrghrgh - lqlqsqs 1. sdsdsd - sdsd - mcpscls because there is only one line between both lists and (I did not know it) orgmode thinks they are the same, then any depth change in second list changes the

[STYLE] :version tags in defcustom definitions (was: [PATCH] Improve look of agenda on graphical displays)

2022-06-29 Thread Ihor Radchenko
Stefan Kangas writes: >> I am wondering if this is meaningful considering that Org is not always >> distributed together with Emacs. Will this :version tag make any sense >> for people using the newest Org with older Emacs versions? > > I think it won't really, but that's okay. Also, this is

Re: [STYLE] :version tags in defcustom definitions (was: [PATCH] Improve look of agenda on graphical displays)

2022-06-29 Thread Stefan Kangas
Ihor Radchenko writes: > Sure. Just trying to clarify my confusion. The inconsistency with some > defcustoms using :version and some not is bugging me. Agreed. It would be better to be consistent with this.

Re: [PATCH] Improve "Speeding Up Your Agendas" chapters

2022-06-29 Thread Stefan Kangas
Ihor Radchenko writes: > Applied onto main via a722f6f8e with amendment to the commit message. It seems like i bungled the patch: two typos are fixed in the attached. Thanks. From 29be11122821b18ffb56e109b4a9c457c65d1142 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Wed, 29 Jun 2022

Re: Getting rid of org-install.el

2022-06-29 Thread Ihor Radchenko
Stefan Kangas writes: > Ihor Radchenko writes: > >> > 2. Delete the file from org-mode.git >> > ... >> > What do you think? >> >> Sounds good to me. > > Patch attached. Applied onto main via ea05f4343. I removed the dot after the commit message. Best, Ihor

Re: Getting rid of org-install.el

2022-06-29 Thread Stefan Kangas
Kyle Meyer writes: > In my view it'd be better to drop the first item. Org has removed > plenty of obsolete features in its time, but searching the emacs.git > history, I can't find a case where an Org-related file has been in > lisp/obsolete/. I'd vote against setting that precedent, as I

Re: [STYLE] :version tags in defcustom definitions (was: [PATCH] Improve look of agenda on graphical displays)

2022-06-29 Thread Bruce D'Arcus
On Wed, Jun 29, 2022 at 10:23 AM Timothy wrote: > > Hi Ihor and Stefan, > > >> Sure. Just trying to clarify my confusion. The inconsistency with some > >> defcustoms using :version and some not is bugging me. > > > > Agreed. It would be better to be consistent with this. > > Given that org-mode

Re: Dates in headlines

2022-06-29 Thread Ypo
Thanks, Jean and Samuel, I will keep using them without remorse then :-) Best regards! El 28/06/2022 a las 23:13, Jean Louis escribió: > On 2022-06-28 12:06, Ypo wrote: >> I think I've read somewhere that it is a "bad practice" to use dates >> in headlines, is it correct? I haven't found it

PDF export, table of contents and internal links

2022-06-29 Thread Sébastien Gendre
Hello, Recently I wrote a little document in Org-mode and I exported it to LaTeX then PDF. But I got a problem: In the PDF, there was no table of contents and the internal links were absent. In the PDF I had a "Table of contents" title, but only the title. Below it, I got nothing. On Org-mode

[PATCH] worg - Reflect the removal of org-mac-link.el from org-contrib

2022-06-29 Thread Aimé Bertrand
Bonjour, org-mac-link was removed from org-contrib with https://git.sr.ht/~bzg/org-contrib/commit/c6aef31ccfc7c4418c3b51e98f7c3bd8e255f5e6. This is a patch (attached) for Worg to reflect the changes. >From a15e9ba318ce6e13b2b405bc8a5067ee2e80d787 Mon Sep 17 00:00:00 2001 From:

Re: Proposal: 'executable' org-capture-templaes

2022-06-29 Thread Max Nikulin
On 26/06/2022 11:50, Arthur Miller wrote: Max Nikulin writes: By state I mean some structure opaque to menu package. It just receives it from caller as an optional argument and (when given) later passes it to handler. Maybe it is alien approach in LISP, but in C (where closures are impossible)

Re: [STYLE] :version tags in defcustom definitions (was: [PATCH] Improve look of agenda on graphical displays)

2022-06-29 Thread Timothy
Hi Ihor and Stefan, >> Sure. Just trying to clarify my confusion. The inconsistency with some >> defcustoms using :version and some not is bugging me. > > Agreed. It would be better to be consistent with this. Given that org-mode is distributed separately to Emacs, and I get the impression

Re: [PATCH] Fix caption format for custom latex src block

2022-06-29 Thread Timothy
Hi Matt, As mentioned by Ihor, you’ll want to take a look at the curent version of ox-latex, specifically `org-latex-src-block--custom' which now contains `(?c . ,caption)'. You may want to consider modifying `org-latex--caption/label-string' to accept the form `(element info content-only)' or

Re: [PATCH] Fix caption format for custom latex src block

2022-06-29 Thread Timothy
Hi Ihor, > Timothy, looking at the new implementation of org-latex-src-block, I do > not see custom-env being passed as an argument of > org-latex-src-block–custom. This is likely a bug. Ah yes, this was an oversight. Corrected in 30953bd7b701c870152cd60f52f2d484970caeb9. All the best, Timothy

Re: [PATCH] New remote resource download policy

2022-06-29 Thread Timothy
Hi Max, Max Nikulin writes: >>> I see your intention to add something fancy to the dialog. May `org-mks’ be >>> reused instead to avoid proliferation variants of rather similar UI code? >> Well, the thing here is that I’m explicitly trying to mimic the >> file-local-variable dialog, and since a

Alternatives to clocking in/out for reporting time

2022-06-29 Thread Russell Adams
I make extensive use of timestamps for billing (timesheet) purposes. I'm looking to automate this more, and I find the existing clocking system inadequate. I'm hoping someone can point me in the right direction. Today I have log mode enabled so that each time I close a TODO item, it records the

Re: Alternatives to clocking in/out for reporting time

2022-06-29 Thread Tim Cross
Russell Adams writes: > I make extensive use of timestamps for billing (timesheet) > purposes. I'm looking to automate this more, and I find the existing > clocking system inadequate. I'm hoping someone can point me in the > right direction. > > Today I have log mode enabled so that each time

Re: Alternatives to clocking in/out for reporting time

2022-06-29 Thread Russell Adams
On Thu, Jun 30, 2022 at 07:26:20AM +1000, Tim Cross wrote: > > The point is that I'm not worried about accounting time by task, > > instead I'm aggregating tasks into accounting by whole hours. > > > > I'm looking at org-element, and it appears I'd have to do my own > > agenda style scan of the

Re: Getting rid of org-install.el

2022-06-29 Thread Kyle Meyer
Stefan Kangas writes: > If we do it your way, does someone need to remember to delete the file > manually when the time comes to move the emacs.git master branch to > the latest Org release? Or will that be done automagically? My script for syncing the Org tree to the Emacs's does rm

org-insert-heading-before-current

2022-06-29 Thread Tyler Grinn
Hello, In general, I like to order my headings from newest to oldest top to bottom. I'm looking for a function which will prepend a heading at the current level in the current subtree. Some examples: * Subtree * Subtree ** Item 2 >>> ** |

Re: PDF export, table of contents and internal links

2022-06-29 Thread Sébastien Gendre
Thanks for your advice. You remember me that, in the past, I had modified "org-latex-pdf-process". I just forget about it. By looking this variable with "describe-variable", I see its default value is: "latexmk -f -pdf -%latex -interaction=nonstopmode -output-directory=%o %f" I modified it to

Re: PDF export, table of contents and internal links

2022-06-29 Thread Juan Manuel Macías
Hi, Sébastien, Sébastien Gendre writes: > To generate the table of contents, I have to compile my .tex file into > PDF 2 times. The first time, I got no toc. The second time the toc was > here. I would say It's a normal LaTeX thing. Sometimes LaTeX needs more than one compilation to finish

Re: Alternatives to clocking in/out for reporting time

2022-06-29 Thread Samuel Wales
a few things taht are probably all completely obvious or investigated or irrelevant just in case. just brainstorm. do you have everything relevant in the same subtrees? i.e. not wanting granular, can you search upward for a dominating entry kind of like git searching upward for the .git dir or

Re: org-agenda-prefix-format and tab stops

2022-06-29 Thread Samuel Wales
i am not understanding what you are trying to do. do you have headers before other columns? are you perhaps looking for org-agenda-todo-keyword-format ? or is it the prefix format that is varying for you? On 6/29/22, Michael Maurer wrote: > hi, > > I've discovered org-agenda-prefix-format,

Re: Links to javascript-based websites from orgmode.org: Paypal and Github

2022-06-29 Thread Richard Stallman
[[[ To any NSA and FBI agents reading my email: please consider]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > > Yes, sad to say they should not directly offer donation methods. > So they

Re: Alternatives to clocking in/out for reporting time

2022-06-29 Thread Samuel Wales
i said clocked notation, but i meant closed notation. clocked notation, i am not sure of. On 6/29/22, Samuel Wales wrote: > a few things taht are probably all completely obvious or investigated > or irrelevant just in case. just brainstorm. > > do you have everything relevant in the same