[BUG] Unable to unfold new LOGBOOK drawer

2024-04-05 Thread Bruno Cardoso
Hi all, In an Org file with: #+TODO: TODO(t) | DONE(d!) and (setopt org-log-into-drawer t) After marking a heading as DONE, the newly created :LOGBOOK: can't be unfolded. This is similar to https://lists.gnu.org/archive/html/emacs-orgmode/2024-03/msg00338.html Org mode version 9.7-pre

Fwd: [PATCH] Ensure org-table-header displays without cursor inside table

2024-04-05 Thread Lei Zhe
> May you please explain in more details what problem you are trying to > solve? Sure. I've identified an issue on the master branch where, if the cursor is not inside the table at WS, `org-table-begin' in `org-table-header-set-header' gets the beginning position of the next table in the buffer.

Re: [POLL] Dealing with +1m/y repeaters when jumping to impossible date (should 05-31 +1m be 07-01 or 06-30?) (was: Leap-year bug with todo-cycle)

2024-04-05 Thread Ihor Radchenko
jman writes: > I don't particularly have a skin in the game but I ask a question: what would > be the impact of this breaking change for users with existing Orgmode > documents? Mostly that people familiar with the current behaviour might be surprised. I am personally slightly in favour of

Re: [POLL] Dealing with +1m/y repeaters when jumping to impossible date (should 05-31 +1m be 07-01 or 06-30?) (was: Leap-year bug with todo-cycle)

2024-04-05 Thread jman
> Generally, I did see several requests to change the strategy when > calculating next month/year. However, that would be a breaking change. > I'd only go for it if people are strongly in favor of the change. > So, changing this to a poll. I don't particularly have a skin in the game but I ask

Re: [POLL] Dealing with +1m/y repeaters when jumping to impossible date (should 05-31 +1m be 07-01 or 06-30?) (was: Leap-year bug with todo-cycle)

2024-04-05 Thread Russell Adams
On Fri, Apr 05, 2024 at 06:34:29PM +, Ihor Radchenko wrote: > > In my opinion it should become "2025-02-28 Fri" instead. > > Keeping "end of a month" being end of a month is indeed an alternative > approach in such a situation. Both are possible; we just use the one > that is easier to

Re: [FR] 'org-columns-next-allowed-value' for 'summary-checkbox'es functions should have 'intermediate state' '[-]'

2024-04-05 Thread Ihor Radchenko
Sławomir Grochowski writes: >> Do not forget to add :package-version. > > Thank you for bringing it to my attention. > > Patch in attachment. Thanks! I improved the patch a bit, with minor changes to the commit message and adding more to the docstring and type spec of the defcustom. I also

Re: [BUG] error when marking task done [9.6.24 ( @ /home/mkj/.emacs.d/elpa-gentoo/org-9.6.24/)]

2024-04-05 Thread Ihor Radchenko
Martin Kjær Jørgensen writes: >> Thanks for reporting! >> Did it happen once or do you keep seeing the error regularly? > > I have only experienced it this once. Let us know if a similar error shows up again. If it does, we can investigate further. (This kind of error is sometimes reported for

Re: [PATCH] Ensure org-table-header displays without cursor inside table

2024-04-05 Thread Ihor Radchenko
Lei Zhe writes: > The patch ensures the header of an org-table displays without the cursor > inside the table when org-table-header-line-mode is enabled. > > BTW, this is my first patch for org-mode, so please correct me if there > are any issues with it. > Also, I've done the paperwork before.

[POLL] Dealing with +1m/y repeaters when jumping to impossible date (should 05-31 +1m be 07-01 or 06-30?) (was: Leap-year bug with todo-cycle)

2024-04-05 Thread Ihor Radchenko
Anton Haglund writes: > I think I have discovered a possible leap-year bug in todo-cycle. > > I have a TODO-entry which looks like this: > > SCHEDULED: <2024-02-29 Thu ++1y> > > When I cycle the TODO-entry with c-c c-t it becomes > > SCHEDULED: <2025-03-01 Sat ++1y> This is expected. When we

Re: [BUG] org-speed-commands deleting headings when using mark-set [9.5.5 (release_9.5.5 @ /Applications/Emacs.app/Contents/Resources/lisp/org/)]

2024-04-05 Thread Ihor Radchenko
Joe Gilder writes: > I made a quick video demonstrating: > > https://www.dropbox.com/scl/fi/jckftu7bi4753b1autt0a/org-bug.mp4?rlkey=nghlh36s84hzz8omo00lbsdlg=0 Thanks for reporting! I tried 1. emacs -Q 2. M-: (setq org-use-speed-commands t) 3. Open file * Heading 1 ** Subheading * Heading 2 -

Re: Org cite in SQLite?

2024-04-05 Thread Thomas S. Dye
Ihor Radchenko writes: "Thomas S. Dye" writes: The @ character in an Org citation seems to block import to an SQLite table. Has anyone successfully imported an Org citation to an SQLite table? Could you please elaborate? It appears I let this drop. My apologies. I think my

Re: COUNTER-SET for alphabetical ordered lists ignored for utf-8 exporter

2024-04-05 Thread Stacey Marshall
Regarding https://list.orgmode.org/orgmode/36a62fbf-6484-456f-9537-a7aa40530...@app.fastmail.com/ Was the intention with this change to remove alphabetical lists from text (ascii) exporter? #+begin_src ,#+title: Test document ,#+options: toc:nil author:nil ,* test of alphabetical export

Re: [BUG] error when marking task done [9.6.24 ( @ /home/mkj/.emacs.d/elpa-gentoo/org-9.6.24/)]

2024-04-05 Thread Martin Kjær Jørgensen
On Fri, Apr 05 2024, Ihor Radchenko wrote: > Martin Kjær Jørgensen writes: > >> I had an agenda view opened for a while, went away, came back to toggle a >> task DONE by using C-c C-t as usual. Normally have not seen any errors. Now >> this occured, and Emacs asked me to report it: >> >> >>

Re: [BUG] error when marking task done [9.6.24 ( @ /home/mkj/.emacs.d/elpa-gentoo/org-9.6.24/)]

2024-04-05 Thread Ihor Radchenko
Martin Kjær Jørgensen writes: > I had an agenda view opened for a while, went away, came back to toggle a > task DONE by using C-c C-t as usual. Normally have not seen any errors. Now > this occured, and Emacs asked me to report it: > > > Warning (org-element-cache): org-element--cache: Org

Re: [BUG] HTML export does not preserve footnote label [9.6.15 (release_9.6.15 @ /usr/local/share/emacs/30.0.50/lisp/org/)]

2024-04-05 Thread Ihor Radchenko
Protesilaos Stavrou writes: > I have an Org file with contents like the following: > > This is a test 1 [fn:n24aa:These are the contents] and here is more. > > When I do an HTML export, the footnote's label (n24aa) is not preserved > in the exported HTML. Is this intended behaviour? I was

[PATCH] Ensure org-table-header displays without cursor inside table

2024-04-05 Thread Lei Zhe
Hi org-mode community, The patch ensures the header of an org-table displays without the cursor inside the table when org-table-header-line-mode is enabled. BTW, this is my first patch for org-mode, so please correct me if there are any issues with it. Also, I've done the paperwork before.

Re: [BUG] org-export-table-row-number off by one when special row present [9.6.23 ( @ /home/jet/.config/emacs/elpa/org-9.6.23/)]

2024-04-05 Thread Ihor Radchenko
Ihor Radchenko writes: > ... > So, there is no bug here. After discussing off-list, I have clarified several docstrings. Handled, on main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=d72feeb09 https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=b45b39326 --

Re: [PATCH] org-faq.org: rename org-export-htmlize-* options to org-html-htmlize-*

2024-04-05 Thread Ihor Radchenko
Rudolf Adamkovič writes: > While you are on it, ... > ... See the attached updated patch. >From b4942ba19db7e7b2c250e3dc2c5b0c6b6b7346d0 Mon Sep 17 00:00:00 2001 Message-ID: From: Ihor Radchenko Date: Thu, 4 Apr 2024 14:22:01 +0300 Subject: [PATCH v2] org-faq.org (How can I preserve

Re: [BUG] org-speed-commands deleting headings when using mark-set [9.5.5 (release_9.5.5 @ /Applications/Emacs.app/Contents/Resources/lisp/org/)]

2024-04-05 Thread Joe Gilder
Also I just downloaded Emacs version 29.3 and am still getting the same bug. GNU Emacs 29.3 (build 1, aarch64-apple-darwin21.6.0, NS appkit-2113.60 Version 12.6.6 (Build 21G646)) of 2024-03-24 > On Apr 4, 2024, at 11:20 AM, Joe Gilder wrote: > > > I made a quick video demonstrating: > >

[BUG] org-speed-commands deleting headings when using mark-set [9.5.5 (release_9.5.5 @ /Applications/Emacs.app/Contents/Resources/lisp/org/)]

2024-04-05 Thread Joe Gilder
I made a quick video demonstrating: https://www.dropbox.com/scl/fi/jckftu7bi4753b1autt0a/org-bug.mp4?rlkey=nghlh36s84hzz8omo00lbsdlg=0 Thanks! Joe Gilder Emacs : GNU Emacs 28.2 (build 1, aarch64-apple-darwin21.1.0, NS appkit-2113.00 Version 12.0.1 (Build 21A559)) of 2023-02-22 Package:

[BUG] error when marking task done [9.6.24 ( @ /home/mkj/.emacs.d/elpa-gentoo/org-9.6.24/)]

2024-04-05 Thread Martin Kjær Jørgensen
I had an agenda view opened for a while, went away, came back to toggle a task DONE by using C-c C-t as usual. Normally have not seen any errors. Now this occured, and Emacs asked me to report it: Warning (org-element-cache): org-element--cache: Org parser error in tasks.org::#. Resetting.

Leap-year bug with todo-cycle

2024-04-05 Thread Anton Haglund
Hi! I think I have discovered a possible leap-year bug in todo-cycle. I have a TODO-entry which looks like this: SCHEDULED: <2024-02-29 Thu ++1y> When I cycle the TODO-entry with c-c c-t it becomes SCHEDULED: <2025-03-01 Sat ++1y> In my opinion it should become "2025-02-28 Fri" instead. If

Re: Broken numerical ordered list when exported to latex

2024-04-05 Thread Ihor Radchenko
Ihor Radchenko writes: > Sharon Kimble writes: > >> Could the manual be amended to show how to use it with an example like the >> one you showed above please? > > Sure. Feel free to propose what to add. Fixed, on bugfix.

Re: [BUG] Org-Agenda leaves frame around [9.7-pre (release_9.6.8-785-g72bbf8.dirty @ /home/bidar/.local/private/etc/emacs/lib/org/lisp/)]

2024-04-05 Thread Björn Bidar
Ihor Radchenko writes: > Björn Bidar writes: > >>> Fixed, on main. >>> https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=fef873b1c >> >> I noticed that `org-insert-structure-template' and possibly others are >> also affected >> >> Is a new bug needed or this one enough? > > This

Re: [BUG] Width property in columnview dynamic blocks [9.5.5]

2024-04-05 Thread Ihor Radchenko
Ihor Radchenko writes: > Unlike `org-columns' command (C-c C-x C-c), dynamic column blocks are > ignoring the width specs. Handling specs is simply not implemented. This > is not explicitly stated in the manual though. > > One can just add column width specs in `org-dblock-write:columnview'.

Re: [ODT][BUG] Format error on export with table in list structure

2024-04-05 Thread Ihor Radchenko
Ihor Radchenko writes: >> Consider the following minimal example, a nested list with a table in a >> sub-item (regardless of list types and empty lines): >> >> #+BEGIN_EXAMPLE >> 1. List item >>- Sub-item >> | Table | >> #+END_EXAMPLE >> >> This causes a format error on ODT export (I'm

[BUG] HTML export does not preserve footnote label [9.6.15 (release_9.6.15 @ /usr/local/share/emacs/30.0.50/lisp/org/)]

2024-04-05 Thread Protesilaos Stavrou
Dear maintainer, I have an Org file with contents like the following: This is a test 1 [fn:n24aa:These are the contents] and here is more. When I do an HTML export, the footnote's label (n24aa) is not preserved in the exported HTML. Is this intended behaviour? I was expecting it to keep the

Re: [PATCH] Run latex more than once for LaTeX src block evaluation

2024-04-05 Thread Karthik Chikmagalur
>> Thanks for the patch! >> May you please describe a use case when it is necessary to run >> latex >> multiple times for previews? > > Sure: it's required whenever you have LaTeX that refers to > other document elements whose positions are only known after > they've been typeset. This often