From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id QX4kORFw4GXpRQAAqHPOHw:P1 (envelope-from ) for ; Thu, 29 Feb 2024 12:52:50 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id QX4kORFw4GXpRQAAqHPOHw (envelope-from ) for ; Thu, 29 Feb 2024 12:52:50 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=DpxscSz0; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1709207569; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=pd7/2laFOf6jpnjjbMm90yM8Sjcm5MsmeLruUwE7aQI=; b=dfjNA9jWyk/bK60nZVLjaguMm23AeG3GTcJrLVrNfKs7pdLEE2X6HCPRRr5xmQswKOkeYS 6C8dXKeBApip3e9+0f1IitOU9WLL84YUjh/gRn+CkN+xlES4GliPMflk5a8yTlgv/MTHCP 4NVVdYsk/0518v+iBgnaiKgktXBfBVcRy6P46hTZkmsrXd61KRTg67GoPfrj0LGK1UyB8k xPA3xKvhIh4fGVBaP2EcxmXoWlairx+3C2Dr8m2P5aDAJjmYfnzJvhPRwJjVVURQK7HOnx R0ABFZ5czEt1AHdGNniyOYEaiYlYD32g1NXS7WUO1Y8n38edPCOvkul4rhJwUA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=DpxscSz0; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1709207569; a=rsa-sha256; cv=none; b=NMt3G7eWR948r0h8VTmn4WM2gF1s1E2LcMBkYnNM9zv9YjEJZt/YZMgkO4v3GwC/n+TGTX wXlThiQTAFMEuqcFF97geTGVFSQU2AD/Q5QnE0ao3VreuDBeOV64841aZZbBoimRqhIBVf ceLnP50qd8GE/ZA7olPnqNpUeIZ6YsaUt5StLfES+id42feNZ5CvghEWAwOoTgE1aIoZyX 9l2ydhRwoj9eIZb73OTrCKV8HgcDxugINcNV42PAO79karJepq4LCtAFrqgHcwCmGNRhgW 1d624gVE2W7jflcMDSqm8kE/275I4pn1rXodqrkxPFkuDZDhBFz4tqLD6Dv3jA== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6C82916B8A for ; Thu, 29 Feb 2024 12:52:49 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rfesK-0001XT-PX; Thu, 29 Feb 2024 06:46:56 -0500 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 1rfesF-0001Vi-1D for emacs-orgmode@gnu.org; Thu, 29 Feb 2024 06:46:52 -0500 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rfesC-0004IL-IV for emacs-orgmode@gnu.org; Thu, 29 Feb 2024 06:46:50 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id AB72E240029 for ; Thu, 29 Feb 2024 12:46:45 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1709207205; bh=+VWkA1apGS6y1EhHVAZCMxUoYGn1KV8qP9zXywPqxaw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=DpxscSz0TvuH1o/mqwCkVFgn9WZxYUodUmyjZgwEuC0y1Q0cKdm6MTckUkkLFPRoU ZMQDkgTUCyXLrll+/Ptk+3Vx8vAgEanWTKyJcCQgW7u3p+ZPQ1ljWDfsxq/9vfoaMW ONAWiE6E95RUtaxa6cjDD39EQJ1oz9qV9ZmuB4JAVLluXD02RMAzfBQ++rTslzCH/D OuHAfrrLyr+7fhW9G+DJbFcjX9nR9SBOnhAEBEZ0/ijmuWqM6qfHcTLw7fDy3jFnCO Aj4LCfHsfpFRpZusiIfSh6Ge+0uVE0DX+kNX6/4TuExOXbz/JKtjfdDffcCGEZXcwO 2ls0NDBReDQww== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TlqFJ3tLyz6tvw; Thu, 29 Feb 2024 12:46:44 +0100 (CET) From: Ihor Radchenko To: "E.L.K." Cc: emacs-orgmode@gnu.org Subject: Re: Setting org-odd-levels-only causes [/] and [%] count incorrectly In-Reply-To: References: Date: Thu, 29 Feb 2024 11:50:37 +0000 Message-ID: <875xy7o5f6.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, 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-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -9.40 X-Spam-Score: -9.40 X-Migadu-Queue-Id: 6C82916B8A X-Migadu-Scanner: mx13.migadu.com X-TUID: ESM4bilaEcF9 "E.L.K." 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 . Support Org development at , or support my work at