Re: [PATCH] ox-texinfo: Fix invalid syntax in Texinfo version detection code

2023-02-06 Thread Max Nikulin
On 07/02/2023 04:42, Rudolf Adamkovič wrote: --- a/lisp/ox-texinfo.el +++ b/lisp/ox-texinfo.el @@ -2030,7 +2030,7 @@ Once computed, the results remain cached." (input-content (concat (format "@setfilename %s" input-file) "\n"

[PATCH] org--batch-store-agenda-views: Fix treatment of lambda functions

2023-02-06 Thread Aaron L. Zeng
`org-agenda-custom-commands' entries may specify a custom function instead of a symbol like `tags-todo'. `org--batch-store-agenda-views' behaved differently from `org-agenda' when that custom function was defined as a lambda rather than a symbol, incorrectly treating the lambda form as a list of a

[FR] plain list fold all top level items

2023-02-06 Thread Samuel Wales
thank you. for the record, i think this would be a generally useful feature, given that many plain lists are likely not children. idk the best ui though. On 2/6/23, Ihor Radchenko wrote: > Samuel Wales writes: > >> - one >> - one sub >> - two >> - two sub >> - three >> - three sub >> >>

[PATCH] ox-texinfo: Fix invalid syntax in Texinfo version detection code

2023-02-06 Thread Rudolf Adamkovič
* lisp/ox-texinfo.el (org-texinfo-supports-math-p): Fix the incorrect syntax @displaymath{1 + 1 = 2} used to detect whether Texinfo supports TeX "math mode". Instead, use the correct syntax @math{1 + 1 = 2}. --- lisp/ox-texinfo.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH 0/4] Structure editing when region is active

2023-02-06 Thread Rudolf Adamkovič
Ihor Radchenko writes: > Applied, onto main, dropping the patch to preserve region upon setting > heading state. I also merged the NEWS patch into the corresponding > feature patches. > > https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=b665f8de3 > https://git.savannah.gnu.org/cgit

[PATCH] Async evaluation in ob-shell

2023-02-06 Thread Matt
I'm excited to share that I've got async evaluation working (crudely) with ob-shell. A rough implementation is attached. It has clear issues, such as the prompt being present in the output: #+begin_src sh :session tester :async t echo "By sending delimiters separately..." sleep 3 slep 1 echo

Re: [POLL] Proposed syntax for timestamps with time zone info

2023-02-06 Thread tomas
On Mon, Feb 06, 2023 at 04:34:15PM +0100, Marcin Borkowski wrote: > Out of curiosity: in what time zone you were when you sent this??? > > > On 2023-10-29, at 02:04, Jean Louis wrote: > > > * to...@tuxteam.de [2023-02-01 12:22]: Sorry. I've lost the thread's thread. Are you asking Jean Louis

Re: [PATCH v5] org.el: Warning for unsupported markers in `org-set-emphasis-alist'

2023-02-06 Thread Max Nikulin
On 02/02/2023 17:53, Ihor Radchenko wrote: (defun org-set-emph-re (var val) - "Set variable and compute the emphasis regular expression." + "Set VAR to VAL and compute the emphasis regular expression. +The function is intended for :set argument of `defcustom' for +`org-emphasis-alist'." (

Re: [POLL] Proposed syntax for timestamps with time zone info

2023-02-06 Thread Marcin Borkowski
Out of curiosity: in what time zone you were when you sent this??? On 2023-10-29, at 02:04, Jean Louis wrote: > * to...@tuxteam.de [2023-02-01 12:22]: >> ...which stems from the fact that the very concept of "time zone" >> is somewhat ambiguous, too. > > For human who reads it without calcula

Re: [PATCH v5] org.el: Warning for unsupported markers in `org-set-emphasis-alist'

2023-02-06 Thread Max Nikulin
On 02/02/2023 17:53, Ihor Radchenko wrote: I further improved the patch adding variable watcher. This should catch everything. See the attached. `add-variable-watcher' may be fragile for lists, but it should catch most obvious attempts to modify the list. To my surprise `add-variable-watcher'

Re: [POLL] Proposed syntax for timestamps with time zone info (was: [FEATURE REQUEST] Timezone support in org-mode datestamps and org-agenda)

2023-02-06 Thread Ihor Radchenko
ypuntot writes: > For the Poll, the Jeans proposal would be to introduce manually: > [2024-02-04 12:00 @America/Vancouver] > And org to convert it into: > [2024-02-04 12:00 @-08,America/Vancouver] > ? Depends on context. We are not really discussing what kind of format will Org use by default. J

Re: [POLL] Proposed syntax for timestamps with time zone info (was: [FEATURE REQUEST] Timezone support in org-mode datestamps and org-agenda)

2023-02-06 Thread Ihor Radchenko
Jean Louis writes: > * Ihor Radchenko [2023-02-05 13:45]: >> [2024-02-04 12:00 @-08,America/Vancouver] will use fixed -8 offset > > What does that mean practically? Provide example for better > understanding. It means "when I scheduled this item, I expected the UTC offset at the time of the ti

Re: PATCH for worg about cb_thunderlink (Re: Link from orgmode file to E-Mail (using kmail or notmuch))

2023-02-06 Thread Bruno Barbier
Hi Max, Max Nikulin writes: > I am trying to determine if it is difficult to get mid scheme working > system-wide and emacs-wide on windows. If not, I would just add your > example "[[mid:$msgid$][$author_name$: $subject$ ($date_iso$)]]" to the > remark related to copying Message-ID in the

Re: [BUG] Warning (org-element-cache): org-element--cache: Warning(XXX.org): (gz/org-agenda-list) Cached element is incorrect in XXX.org. (Cache tic up to date: "yes") [9.6.1 (release_9.6.1-208-g0c0

2023-02-06 Thread Ihor Radchenko
Gregor Zattler writes: > Dear Ihor, org-mode developers, I caught another cache > warning, see below. Thanks for reporting! Unfortunately, the provided log is incomplete. I cannot deduce anything useful from it. Please provide the full log if you encounter the warning again. Canceled. -- Ih

Re: plain list fold all top level items?

2023-02-06 Thread Ihor Radchenko
Samuel Wales writes: > - one > - one sub > - two > - two sub > - three > - three sub > > and fold it into > > - one... > - two... > - three... > > without changing variables. or doing a kludge. does such a command > exist? i imagine some tab variant on first item. No, AFAIK. The only r

Re: [BUG] list.orgmode.org managed to parse a message in future: 2023-10-29 [9.6.1 (release_9.6.1-223-gc8d20d @ /home/yantar92/.emacs.d/straight/build/org/)]

2023-02-06 Thread Ihor Radchenko
Ihor Radchenko writes: > Kyle Meyer writes: > >> Eric replied with a patch that resolved the issue. I've installed it. > > Thanks! > I think I saw the "future" thread disappearing briefly, but it is again > there on top of https://list.orgmode.org/. I no longer see the problem and, as per disc

[BUG] Warning (org-element-cache): org-element--cache: Warning(XXX.org): (gz/org-agenda-list) Cached element is incorrect in XXX.org. (Cache tic up to date: "yes") [9.6.1 (release_9.6.1-208-g0c0059

2023-02-06 Thread Gregor Zattler
Dear Ihor, org-mode developers, I caught another cache warning, see below. Emacs : GNU Emacs 29.0.60 (build 3, x86_64-pc-linux-gnu, cairo version 1.16.0) of 2023-01-25 Package: Org mode version 9.6.1 (release_9.6.1-208-g0c0059 @ /home//src/org-mode/lisp/) ■ Warning (org-element-cache):