From unknown Thu Jun 19 14:05:28 2025 X-Loop: help-debbugs@gnu.org Subject: bug#64432: Bug report: 'universal-argument followed by 'org-update-statistics-cookies resets stats to [0/0] when section contains a subsection in addition to checkboxes Resent-From: Francois Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 03 Jul 2023 07:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 64432 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 64432@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16883693902743 (code B ref -1); Mon, 03 Jul 2023 07:30:02 +0000 Received: (at submit) by debbugs.gnu.org; 3 Jul 2023 07:29:50 +0000 Received: from localhost ([127.0.0.1]:33047 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qGE0J-0000i7-GB for submit@debbugs.gnu.org; Mon, 03 Jul 2023 03:29:50 -0400 Received: from lists.gnu.org ([209.51.188.17]:60600) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qG5aB-0003eP-Ch for submit@debbugs.gnu.org; Sun, 02 Jul 2023 18:30:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qG5aB-0000Jx-4A for bug-gnu-emacs@gnu.org; Sun, 02 Jul 2023 18:30:15 -0400 Received: from mail-yw1-x1131.google.com ([2607:f8b0:4864:20::1131]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qG5a7-0007bz-1J for bug-gnu-emacs@gnu.org; Sun, 02 Jul 2023 18:30:14 -0400 Received: by mail-yw1-x1131.google.com with SMTP id 00721157ae682-57712d00cc1so46414547b3.3 for ; Sun, 02 Jul 2023 15:30:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1688337009; x=1690929009; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=q5wgocTvX5L92pAQ2bOVVABLmKPBDXMeMN5VsPjVcPQ=; b=R+AUUG7R08j748Kani2+AS5sC/Q8KnKA/lU0DpqhybY4IT18fGht3K0OrDmpI2beMo vaK8Fz0qf9DOZE1PZXIfmBug0mzpCtYtDUQSBI63Ka1Z7LH5ehuJOeJ3naIHzdrmLeyB 4IV9w4meLjuujudKrY8tu25P/mqVgcHSFfRXHQWwZdAuLJh/pNgQXUQOiMWPabGI8OTO A0QmUTdXGpmZ7t7VVplL2uzMLVlkegO6wa9z+gY+tEALSUglnsiD9s/cArvWCZFx8K/C ivvahRYsA1AZLXM34njNvxTa79Aq2AAf5Lm6xD3cZDcyy8Cfl7cas3+2/N0UGCu8ftbc OSog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688337009; x=1690929009; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=q5wgocTvX5L92pAQ2bOVVABLmKPBDXMeMN5VsPjVcPQ=; b=CHRv5wdcty9ycFrst9VgBqxfp2v5JJ9P6b3Pp3aVZ58RxyD0XWpadnVufYzEwtgQQp rbeAymFfVTl5+yWXwzR0SV34Rollr722lyoq8H+92+IOByIiptSKLVIBt8j+rkXcWdZN KBeZHIHpxzAfvlghpe8C9GXBveunKoM4L6GDSjSQJCCCaab7rKjgFYdYIUnj8Gres5i6 2veVoIS5LHi3FjyDqZ4OmbVq0CLp0Zzq8IQ1BWsrgizVTd+M0rPm2BDOC/tPUjRkq/UX aTNuVG7CghggZ8ID8hwI4TtAbQQoz2UUYpsWT27NPlJbBa7VBYXL0SkuSz2osWBqkeIx J/Ow== X-Gm-Message-State: ABy/qLZ61IA6midFtLt4ICXfPrlIleSExNeOSFDKveVOxNxffNSzy8qV Ia/QLWy4Q8nah70nqgPy3LUEjeSlS+6bsAdUUIqmX2yxWQU= X-Google-Smtp-Source: APBJJlEIVDDb8vgsYMr7TfnaMMszTqn1SnaO3dOQa53p8MxYI/ZypWBDhEOKkouyQpW2jYu7OWnwgeW35BM5uYmPAoM= X-Received: by 2002:a0d:d54c:0:b0:56f:eaef:9d40 with SMTP id x73-20020a0dd54c000000b0056feaef9d40mr8866723ywd.46.1688337008979; Sun, 02 Jul 2023 15:30:08 -0700 (PDT) MIME-Version: 1.0 From: Francois Date: Mon, 3 Jul 2023 00:29:57 +0200 Message-ID: Content-Type: multipart/alternative; boundary="000000000000ae72c905ff889762" Received-SPF: pass client-ip=2607:f8b0:4864:20::1131; envelope-from=francois.schneider@gmail.com; helo=mail-yw1-x1131.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Mailman-Approved-At: Mon, 03 Jul 2023 03:29:46 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --000000000000ae72c905ff889762 Content-Type: text/plain; charset="UTF-8" Consider the following org document: * Section 1 [0/2] - [ ] token 1.1 - [ ] token 1.2 * Section 2 [0/2] - [ ] token 2.1 - [ ] token 2.2 ** Subsection 2.1 When the cursor is in section 2, sets the statistics of the section to [0/2]. But will reset the statistics to [0/0]. This does not happen in Section 1, which has no subsection, unlike Section 2. ----- In GNU Emacs 28.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.37, cairo version 1.16.0) of 2023-05-14, modified by Debian built on x86-ubc-01 Windowing system distributor 'The X.Org Foundation', version 11.0.12201009 System Description: Debian GNU/Linux 12 (bookworm) Configured using: 'configure --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/libexec --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --with-libsystemd --with-pop=yes --enable-locallisppath=/etc/emacs:/usr/local/share/emacs/28.2/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/28.2/site-lisp:/usr/share/emacs/site-lisp --with-sound=alsa --without-gconf --with-mailutils --with-native-compilation --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/libexec --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --with-libsystemd --with-pop=yes --enable-locallisppath=/etc/emacs:/usr/local/share/emacs/28.2/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/28.2/site-lisp:/usr/share/emacs/site-lisp --with-sound=alsa --without-gconf --with-mailutils --with-native-compilation --with-cairo --with-x=yes --with-x-toolkit=gtk3 --with-toolkit-scroll-bars 'CFLAGS=-g -O2 -ffile-prefix-map=/build/emacs-mPr7Vr/emacs-28.2+1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' LDFLAGS=-Wl,-z,relro' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM GTK3 ZLIB Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Org Minor modes in effect: global-flycheck-mode: t flycheck-mode: t savehist-mode: t global-highlight-parentheses-mode: t highlight-parentheses-mode: t delete-selection-mode: t global-linum-mode: t linum-mode: t tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t Load-path shadows: ~/.emacs.d/lisp/linum hides /usr/share/emacs/28.2/lisp/linum /media/francois/debian/home/francois/.emacs.d/elpa/transient-0.4.1/transient hides /usr/share/emacs/28.2/lisp/transient ~/.emacs.d/lisp/antlr-mode hides /usr/share/emacs/28.2/lisp/progmodes/antlr-mode Features: (shadow sort mail-extr eieio-opt speedbar ezimage dframe shortdoc help-fns debbugs-gnu pcase add-log debbugs-compat debbugs soap-client rng-xsd rng-dt rng-util xsd-regexp xml autoload radix-tree lisp-mnt tar-mode arc-mode archive-mode mm-archive gnutls network-stream url-http url-gw nsm url-cache url-auth vc-git diff-mode vc-dispatcher misearch multi-isearch goto-addr view emacsbug message rmc puny rfc822 mml mml-sec epa epg rfc6068 epg-config gnus-util rmail mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail comp comp-cstr org-element avl-tree generator cl-extra ol-rmail ol-mhe ol-irc ol-info rmail-loaddefs rfc2047 rfc2045 ietf-drums mail-utils mm-util mail-prsvr ol-docview doc-view jka-compr image-mode exif dired dired-loaddefs ol-bibtex ol-bbdb ol-w3m ol-doi org-link-doi org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-footnote org-src ob-comint org-pcomplete pcomplete org-list org-faces org-entities noutline outline org-version ob-emacs-lisp ob-core ob-eval org-table oc-basic bibtex iso8601 time-date ol org-keys oc org-compat org-macs org-loaddefs format-spec cal-menu calendar cal-loaddefs cus-edit pp cus-start cus-load wid-edit flycheck find-func help-mode rx dash init quack thingatpt cmuscheme scheme antlr-mode compile text-property-search comint ansi-color ring cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs yaml-mode derived edmacro kmacro adwaita-dark-theme web-mode disp-table savehist highlight-parentheses autopair warnings advice cl delsel linum easy-mmode finder-inf info package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json subr-x map url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit x multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 501080 53881) (symbols 48 32207 3) (strings 32 142094 8938) (string-bytes 1 4404807) (vectors 16 55732) (vector-slots 8 1569105 42624) (floats 8 206 486) (intervals 56 1300 369) (buffers 992 22)) --000000000000ae72c905ff889762 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Consider the following org document:
* Sect= ion 1 [0/2]
- [ ] token 1.1
- [ ] token 1.2
* Section 2 [0/2]
-= [ ] token 2.1
- [ ] token 2.2
** Subsection 2.1

=
When the cursor is in section 2, <C-c #> sets the statistics of = the section to [0/2].
But <C-u C-c #> will reset the statis= tics to [0/0].
This does not happen in Section 1, which has n= o subsection, unlike Section 2.

-----
In GNU Emacs 28.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.37, ca= iro version 1.16.0)
=C2=A0of 2023-05-14, modified by Debian built on x86= -ubc-01
Windowing system distributor 'The X.Org Foundation', ver= sion 11.0.12201009
System Description: Debian GNU/Linux 12 (bookworm)
Configured using:
=C2=A0'configure --build x86_64-linux-gnu --p= refix=3D/usr
=C2=A0--sharedstatedir=3D/var/lib --libexecdir=3D/usr/libex= ec
=C2=A0--localstatedir=3D/var/lib --infodir=3D/usr/share/info
=C2= =A0--mandir=3D/usr/share/man --with-libsystemd --with-pop=3Dyes
=C2=A0--= enable-locallisppath=3D/etc/emacs:/usr/local/share/emacs/28.2/site-lisp:/us= r/local/share/emacs/site-lisp:/usr/share/emacs/28.2/site-lisp:/usr/share/em= acs/site-lisp
=C2=A0--with-sound=3Dalsa --without-gconf --with-mailutils=
=C2=A0--with-native-compilation --build x86_64-linux-gnu --prefix=3D/us= r
=C2=A0--sharedstatedir=3D/var/lib --libexecdir=3D/usr/libexec
=C2= =A0--localstatedir=3D/var/lib --infodir=3D/usr/share/info
=C2=A0--mandir= =3D/usr/share/man --with-libsystemd --with-pop=3Dyes
=C2=A0--enable-loca= llisppath=3D/etc/emacs:/usr/local/share/emacs/28.2/site-lisp:/usr/local/sha= re/emacs/site-lisp:/usr/share/emacs/28.2/site-lisp:/usr/share/emacs/site-li= sp
=C2=A0--with-sound=3Dalsa --without-gconf --with-mailutils
=C2=A0-= -with-native-compilation --with-cairo --with-x=3Dyes
=C2=A0--with-x-tool= kit=3Dgtk3 --with-toolkit-scroll-bars 'CFLAGS=3D-g -O2
=C2=A0-ffile-= prefix-map=3D/build/emacs-mPr7Vr/emacs-28.2+1=3D. -fstack-protector-strong<= br>=C2=A0-Wformat -Werror=3Dformat-security -Wall' 'CPPFLAGS=3D-Wda= te-time
=C2=A0-D_FORTIFY_SOURCE=3D2' LDFLAGS=3D-Wl,-z,relro'
=
Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM= GSETTINGS HARFBUZZ JPEG
JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2= M17N_FLT MODULES
NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SO= UND THREADS TIFF
TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM GTK3 ZLIB

I= mportant settings:
=C2=A0 value of $LANG: en_US.UTF-8
=C2=A0 value of= $XMODIFIERS: @im=3Dibus
=C2=A0 locale-coding-system: utf-8-unix

= Major mode: Org

Minor modes in effect:
=C2=A0 global-flycheck-mod= e: t
=C2=A0 flycheck-mode: t
=C2=A0 savehist-mode: t
=C2=A0 global= -highlight-parentheses-mode: t
=C2=A0 highlight-parentheses-mode: t
= =C2=A0 delete-selection-mode: t
=C2=A0 global-linum-mode: t
=C2=A0 li= num-mode: t
=C2=A0 tooltip-mode: t
=C2=A0 global-eldoc-mode: t
=C2= =A0 show-paren-mode: t
=C2=A0 electric-indent-mode: t
=C2=A0 mouse-wh= eel-mode: t
=C2=A0 menu-bar-mode: t
=C2=A0 file-name-shadow-mode: t=C2=A0 global-font-lock-mode: t
=C2=A0 font-lock-mode: t
=C2=A0 bli= nk-cursor-mode: t
=C2=A0 auto-composition-mode: t
=C2=A0 auto-encrypt= ion-mode: t
=C2=A0 auto-compression-mode: t
=C2=A0 column-number-mode= : t
=C2=A0 line-number-mode: t
=C2=A0 indent-tabs-mode: t
=C2=A0 t= ransient-mark-mode: t

Load-path shadows:
~/.emacs.d/lisp/linum hi= des /usr/share/emacs/28.2/lisp/linum
/media/francois/debian/home/francoi= s/.emacs.d/elpa/transient-0.4.1/transient hides /usr/share/emacs/28.2/lisp/= transient
~/.emacs.d/lisp/antlr-mode hides /usr/share/emacs/28.2/lisp/pr= ogmodes/antlr-mode

Features:
(shadow sort mail-extr eieio-opt spe= edbar ezimage dframe shortdoc
help-fns debbugs-gnu pcase add-log debbugs= -compat debbugs soap-client
rng-xsd rng-dt rng-util xsd-regexp xml autol= oad radix-tree lisp-mnt
tar-mode arc-mode archive-mode mm-archive gnutls= network-stream url-http
url-gw nsm url-cache url-auth vc-git diff-mode = vc-dispatcher misearch
multi-isearch goto-addr view emacsbug message rmc= puny rfc822 mml
mml-sec epa epg rfc6068 epg-config gnus-util rmail mm-d= ecode mm-bodies
mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailhe= ader sendmail
comp comp-cstr org-element avl-tree generator cl-extra ol-= rmail ol-mhe
ol-irc ol-info rmail-loaddefs rfc2047 rfc2045 ietf-drums ma= il-utils
mm-util mail-prsvr ol-docview doc-view jka-compr image-mode exi= f dired
dired-loaddefs ol-bibtex ol-bbdb ol-w3m ol-doi org-link-doi org = ob
ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-footnote org-sr= c
ob-comint org-pcomplete pcomplete org-list org-faces org-entities
n= outline outline org-version ob-emacs-lisp ob-core ob-eval org-table
oc-b= asic bibtex iso8601 time-date ol org-keys oc org-compat org-macs
org-loa= ddefs format-spec cal-menu calendar cal-loaddefs cus-edit pp
cus-start c= us-load wid-edit flycheck find-func help-mode rx dash init
quack thingat= pt cmuscheme scheme antlr-mode compile text-property-search
comint ansi-= color ring cc-mode cc-fonts cc-guess cc-menus cc-cmds
cc-styles cc-align= cc-engine cc-vars cc-defs yaml-mode derived edmacro
kmacro adwaita-dark= -theme web-mode disp-table savehist
highlight-parentheses autopair warni= ngs advice cl delsel linum
easy-mmode finder-inf info package browse-url= url url-proxy url-privacy
url-expand url-methods url-history url-cookie= url-domsuf url-util
mailcap url-handlers url-parse auth-source cl-seq e= ieio eieio-core
cl-macs eieio-loaddefs password-cache json subr-x map ur= l-vars seq
byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib is= o-transl
tooltip eldoc paren electric uniquify ediff-hook vc-hooks
li= sp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd
t= ool-bar dnd fontset image regexp-opt fringe tabulated-list replace
newco= mment text-mode lisp-mode prog-mode register page tab-bar menu-bar
rfn-e= shadow isearch easymenu timer select scroll-bar mouse jit-lock
font-lock= syntax font-core term/tty-colors frame minibuffer cl-generic
cham georg= ian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean jap= anese eucjp-ms cp51932 hebrew greek romanian slovak czech
european ethio= pic indian cyrillic chinese composite emoji-zwj charscript
charprop case= -table epa-hook jka-cmpr-hook help simple abbrev obarray
cl-preloaded na= dvice button loaddefs faces cus-face macroexp files
window text-properti= es overlay sha1 md5 base64 format env code-pages
mule custom widget hash= table-print-readable backquote threads dbusbind
inotify lcms2 dynamic-se= tting system-font-setting font-render-setting
cairo move-toolbar gtk x-t= oolkit x multi-tty make-network-process
native-compile emacs)

Mem= ory information:
((conses 16 501080 53881)
=C2=A0(symbols 48 32207 3)=
=C2=A0(strings 32 142094 8938)
=C2=A0(string-bytes 1 4404807)
=C2= =A0(vectors 16 55732)
=C2=A0(vector-slots 8 1569105 42624)
=C2=A0(flo= ats 8 206 486)
=C2=A0(intervals 56 1300 369)
=C2=A0(buffers 992 22))<= /div>
--000000000000ae72c905ff889762-- From unknown Thu Jun 19 14:05:28 2025 X-Loop: help-debbugs@gnu.org Subject: bug#64432: Bug report: 'universal-argument followed by 'org-update-statistics-cookies resets stats to [0/0] when section contains a subsection in addition to checkboxes Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 03 Jul 2023 11:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64432 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Francois Cc: 64432@debbugs.gnu.org Received: via spool by 64432-submit@debbugs.gnu.org id=B64432.168838506527106 (code B ref 64432); Mon, 03 Jul 2023 11:52:01 +0000 Received: (at 64432) by debbugs.gnu.org; 3 Jul 2023 11:51:05 +0000 Received: from localhost ([127.0.0.1]:33282 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qGI50-00072h-Dp for submit@debbugs.gnu.org; Mon, 03 Jul 2023 07:51:05 -0400 Received: from eggs.gnu.org ([209.51.188.92]:48250) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qGI4y-00072Q-5V for 64432@debbugs.gnu.org; Mon, 03 Jul 2023 07:50:53 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qGI4s-0007Z9-JE; Mon, 03 Jul 2023 07:50:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=RsT2b0KFKt9pi/74ja40HxouC+rMqplDi6WvYOWkl+o=; b=q8UukZMs6qWm byWe7J+D/g/bN2XELUbk61GQklZpbjMt4e6OyH+9V+5Bpj9vTtk32xzhtUdCoUmPP4lE2gntl0RT0 rmom9Y9iqSHNv9L6lcf1M60m3t3KGgeeLDE7NlQHNrljVuk/G+U6GAITpjW3+YAUUi/c11o+52mbh L1QGS0UOLfF3vv72u/FiKSW/xyPrU0UsJVyVgddBYsHF9VT76nezHg3eBnee/TROYt58QFfoxHDFw Vi5sZ11WHiQyqASciEQzbMulDt8DPEZFxU/NHDF+J2fPMZrPDfHnmhwQi8Y7jKvumZ6U3+oxKcIaa 8AMxuNU4HWkRg3UGNIhNKA==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qGI4s-0002Rl-7D; Mon, 03 Jul 2023 07:50:46 -0400 Date: Mon, 03 Jul 2023 14:51:23 +0300 Message-Id: <83y1jxmcw4.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (message from Francois on Mon, 3 Jul 2023 00:29:57 +0200) References: X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > From: Francois > Date: Mon, 3 Jul 2023 00:29:57 +0200 > > Consider the following org document: > * Section 1 [0/2] > - [ ] token 1.1 > - [ ] token 1.2 > * Section 2 [0/2] > - [ ] token 2.1 > - [ ] token 2.2 > ** Subsection 2.1 > > When the cursor is in section 2, sets the statistics of the section to [0/2]. > But will reset the statistics to [0/0]. > This does not happen in Section 1, which has no subsection, unlike Section 2. Thanks, but please report this to the Org developers first, as this sounds like an Org issue.