Re: Bug in orgalist mode's advice on indent-according-to-mode

2022-04-27 Thread Tim Cross
Eric Abrahamsen writes: > In Emacs commit f596f0db82c0b1ff3fe8e8f1d8b07d2fe7504ab6, from Nov 2021, > the function `indent-according-to-mode' was given an optional > inhibit-widen argument. That argument being passed causes orgalist's > advice to fail, as the lambda doesn't accept any additional

Bug in orgalist mode's advice on indent-according-to-mode

2022-04-27 Thread Eric Abrahamsen
In Emacs commit f596f0db82c0b1ff3fe8e8f1d8b07d2fe7504ab6, from Nov 2021, the function `indent-according-to-mode' was given an optional inhibit-widen argument. That argument being passed causes orgalist's advice to fail, as the lambda doesn't accept any additional arguments. One way to fix it would

Re: [BUG] The latest org-fold feature breaks link :activate-func property

2022-04-27 Thread Tim Cross
"Christopher M. Miles" writes: > [[PGP Signed Part:Undecided]] > > I use extension > [[https://repo.or.cz/org-link-beautify.git][org-link-beautify]] to display > text-property beautify content on link. With > latest org-mode source code on commit "1ed9e4223", I got this error which > display

Re: [BUG] buffer displays incorrectly after capture

2022-04-27 Thread Ihor Radchenko
Skip Collins writes: > On Wed, Apr 27, 2022 at 4:48 AM Ihor Radchenko wrote: >> Fixed in 2d6f26c05 on main. And no, it was not that easy to fix. >> Captured headlines may or may not need to be unfolded. > > Thanks. I confirm that behavior is correct for folded level 1 > headlines. But the proble

log-done and org-after-todo-state-change-hook

2022-04-27 Thread Florian Lindner
Hello, I have an org-todo-keywords like "DONE(d!)" which logs a time stamp everytime that todo is reached. I also use org-after-todo-state-change-hook to copy that node somewhere else, as soon as it is finished. My problem now is that the logging seems to happen after hook, which made me e

Re: [the culprit]

2022-04-27 Thread Uwe Brauer
>>> "JK" == John Kitchin writes: > This seems like something that could (should?) go in a personal config, as > a custom function, or advice. > You could, for example do something like this (lightly tested) > #+BEGIN_SRC emacs-lisp > (defun my-put (property value here) > (interactive (list ni

Re: Name the different types of links in an org file

2022-04-27 Thread Nick Dokos
c.bu...@posteo.jp writes: > Hello, > > I just want to find the correct terms of the different types of links > an org file can have. This is not only about orgmode but orgroam > (version 1 and 2) also. > > 1. Hyperlinks > Example: [[https://foo.bar][Link description]] > This links can also point t

Re: master 4a1f69ebca 2/2: Use (TICKS . HZ) for current-time etc.

2022-04-27 Thread Stefan Monnier
> - (not (time-less-p (cl-subseq (nth 5 (file-attributes file)) 0 2) > - (cl-subseq time 0 2) > + (not (time-less-p (org-time-convert-to-integer > + (nth 5 (file-attributes file))) > + (org-time-convert-to-integer time)

Re: [tip] Org speed commands improved

2022-04-27 Thread Daniel Fleischer
Juan Manuel Macías [2022-04-26 Tue 14:00] wrote: > Org speed commands are a major productivity boost and I love them. > Lately it has occurred to me to make some modifications with the > following configuration, which I share here in case someone wants to try > it. The idea is that Org speed comma

Re: [BUG] buffer displays incorrectly after capture

2022-04-27 Thread Skip Collins
On Wed, Apr 27, 2022 at 4:48 AM Ihor Radchenko wrote: > Fixed in 2d6f26c05 on main. And no, it was not that easy to fix. > Captured headlines may or may not need to be unfolded. Thanks. I confirm that behavior is correct for folded level 1 headlines. But the problem still exists at level 2 and de

[BUG] org-fold-core-style 'text-properties interprets Org link syntax in code blocks too

2022-04-27 Thread Kaushal Modi
Hello, With the default value of the new org-fold-core-style, if I have a snippet like below: #+begin_src toml [[asdf]] #+end_src The brackets around asdf get hidden. ([[asdf]] is TOML syntax for maps or array of tables: https://toml.io/en/v1.0.0#array-of-tables) If I change org-fold-core-style

Name the different types of links in an org file

2022-04-27 Thread c . buhtz
Hello, I just want to find the correct terms of the different types of links an org file can have. This is not only about orgmode but orgroam (version 1 and 2) also. Currently I know and "understand" this types of links. 1. Hyperlinks Example: [[https://foo.bar][Link description]] This links

[BUG] org-mode #+SETUPFILE not working with properties [9.5.2 (release_9.5.2-378-g98588e @ /home/eros/src/org-mode/lisp/)]

2022-04-27 Thread Eros Zaupa
Given this file :PROPERTIES: :header-args:sh: :var A="this is a" :END: #+begin_src sh echo ${A} #+end_src #+RESULTS: : this is a I would like to move the properties drawer to a separate file and import it into the main one. To do so I'm using the `#SETUPFILE` pro

Re: Cursor stays TODO creation

2022-04-27 Thread Colin Baxter
> Ihor Radchenko writes: > Colin Baxter writes: >> With the latest org-mode, if I set a TODO keyword then after its >> creation the cursor stays to the left of "T". In the past it >> would move one space beyond the "O". Is this a new feature? If it >> is then it's a nuisa

Re: [the culprit]

2022-04-27 Thread Uwe Brauer
>>> "JK" == John Kitchin writes: > This seems like something that could (should?) go in a personal config, as > a custom function, or advice. > You could, for example do something like this (lightly tested) > #+BEGIN_SRC emacs-lisp > (defun my-put (property value here) > (interactive (list ni

Re: Cursor stays TODO creation

2022-04-27 Thread Ihor Radchenko
Colin Baxter writes: > With the latest org-mode, if I set a TODO keyword then after its creation > the cursor stays to the left of "T". In the past it would move one space > beyond the "O". Is this a new feature? If it is then it's a nuisance. Thanks for reporting! Fixed in 1ed9e4223. This is n

Cursor stays TODO creation

2022-04-27 Thread Colin Baxter
Hello, With the latest org-mode, if I set a TODO keyword then after its creation the cursor stays to the left of "T". In the past it would move one space beyond the "O". Is this a new feature? If it is then it's a nuisance. Best wishes, Colin Baxter.

Re: [BUG] link abbreviations do not work inside property drawers [9.5.2 (release_9.5.2-38-g682ccd @ /home/ignacio/repos/emacs/lisp/org/)]

2022-04-27 Thread tony aldon
I quietly followed the conversation. Thank you for the advice. On Wed, Apr 27, 2022 at 9:06 AM Ignacio Casso wrote: > > Ihor Radchenko writes: > > > Ignacio Casso writes: > > > >>> A better approach could be using org-link-expand-abbrev. It is an API > >>> function and should be forward-compa

Re: [PATCH] Add missing `provide' in ob-octave test

2022-04-27 Thread Ihor Radchenko
Nick Dokos writes: > `make test' has been failing for me with this error: > > , > | Error: error ("Loading file > | /home/nick/src/emacs/org/org-mode/testing/lisp/test-ob-octave.el > | failed to provide feature ‘test-ob-octave’") > ` > > The attached patch provides a fix. Thanks! Applied

Re: [PATCH] Fix examples of clock tables in the manual

2022-04-27 Thread Ihor Radchenko
Nick Dokos writes: >> Note that you may need to add TINYCHANGE cookie as you appear to not >> have the copyright assignment with FSF. >> > > I'm in there (under "Nicholas Dokos"). I should have searched by surname :facepalm: >> Also, your current patch does not apply onto main: >> Applying

Re: [PATCH] update ob-scheme to latest changes in geiser package

2022-04-27 Thread Ihor Radchenko
Tim Van den Langenbergh writes: > I have taken the liberty of reformatting the patch you created for ob-scheme. > You can find it enclosed. Thanks! Since Felipe has no objections, your patch should be good to apply. > If it is fine with you and the org-mode maintainers it can be applied as-is,

Re: [BUG] buffer displays incorrectly after capture

2022-04-27 Thread Ihor Radchenko
Skip Collins writes: > I think this is a real bug. Am I wrong? Seems like it should be easy to fix. Fixed in 2d6f26c05 on main. And no, it was not that easy to fix. Captured headlines may or may not need to be unfolded. Best, Ihor

Re: master 4a1f69ebca 2/2: Use (TICKS . HZ) for current-time etc.

2022-04-27 Thread Paul Eggert
Thanks for reporting that. Fixed in Emacs master via the attached. For the more general issue I'm planning to add a builtin boolean variable current-time-list soon, that is t for (HIGH LOW MICROSEC PICOSEC) format, nil for (TICKS . HZ) format.From 3abb3681b57d7c8ca7fa808addb0a10b6b109cab Mon Se

Re: [tip] Org speed commands improved

2022-04-27 Thread Juan Manuel Macías
Hi Ihor, Ihor Radchenko writes: > If you are going this far with speed commands, you might as well switch > to modal editing. What you are describing is basically a modal command > map with ability to switch to insert map. I'm not a fan of modal editing, rather the opposite. But in this particul

Re: [BUG] link abbreviations do not work inside property drawers [9.5.2 (release_9.5.2-38-g682ccd @ /home/ignacio/repos/emacs/lisp/org/)]

2022-04-27 Thread Ignacio Casso
Ihor Radchenko writes: > Ignacio Casso writes: > >>> A better approach could be using org-link-expand-abbrev. It is an API >>> function and should be forward-compatible. >> >> Do you mean something like this? >> >> (defun org-open-at-point-global () >> ... >> (cond ((org-in-regexp org-