all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Setting org-odd-levels-only causes [/] and [%] count incorrectly
@ 2024-02-29  8:12 E.L.K.
  2024-02-29 11:50 ` Ihor Radchenko
  0 siblings, 1 reply; 2+ messages in thread
From: E.L.K. @ 2024-02-29  8:12 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 712 bytes --]

Hello!

I recently encountered this bug.

If org-odd-levels-only set to true, this is how [/] is being counted (i.e.
if I press C-c C-c on them):

> * test
> *** first [2/3]
> ***** DONE first 1
> *** second [1/2]
> ***** DONE second one
> ***** TODO second two

This is "minimal config" to reproduce it with emacs -Q -l minimal-config.el:

> (setq-default org-odd-levels-only t)

Emacs version: GNU Emacs 29.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version
3.24.40, cairo version 1.18.0)

Org versions tested (as per org-version function):
- Org mode version 9.6.15 (release_9.6.15 @ /usr/share/emacs/29.2/lisp/org/)
- Org mode version 9.6.20 ( @ /home/elk/.emacs.d/elpa/org-9.6.20/)

Thanks,
best regards,
Alexey

[-- Attachment #2: Type: text/html, Size: 1033 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Setting org-odd-levels-only causes [/] and [%] count incorrectly
  2024-02-29  8:12 Setting org-odd-levels-only causes [/] and [%] count incorrectly E.L.K.
@ 2024-02-29 11:50 ` Ihor Radchenko
  0 siblings, 0 replies; 2+ messages in thread
From: Ihor Radchenko @ 2024-02-29 11:50 UTC (permalink / raw)
  To: E.L.K.; +Cc: emacs-orgmode

"E.L.K." <some.any.key@gmail.com> writes:

> I recently encountered this bug.
>
> If org-odd-levels-only set to true, this is how [/] is being counted (i.e.
> if I press C-c C-c on them):
>
>> * test
>> *** first [2/3]
>> ***** DONE first 1
>> *** second [1/2]
>> ***** DONE second one
>> ***** TODO second two

Thanks for reporting!
Fixed, on bugfix, and on main.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=864857657
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=6ef015457

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-02-29 11:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-29  8:12 Setting org-odd-levels-only causes [/] and [%] count incorrectly E.L.K.
2024-02-29 11:50 ` Ihor Radchenko

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.