From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 2L6pIzcS2mZcKQEAqHPOHw:P1 (envelope-from ) for ; Thu, 05 Sep 2024 20:19:03 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 2L6pIzcS2mZcKQEAqHPOHw (envelope-from ) for ; Thu, 05 Sep 2024 22:19:03 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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=1725567543; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=pzXfbQfy8h73Bb4ByBbVLCoZ+krPzzh0dkfxzlI1h9w=; b=kAo/pJrAiOOX4SioI9AjzUpd1CtocW8xgTQu4X+2O8GClZHIdVQLWN5wdnkLIlfBCHdinq 0kMGAnQvPtaAWDjYhjDk/7BQBhFAtWWDbvZLFA2hjHqbRy18KequkChH/u9Pk+wRd/0poH dAblccVHJx/vX61bUvH2cOx7z+9sFYFwGsjW6JPbpKR9f1kdVICkNLMNMb5/cqw3sXs9YA E9fmBjzGxYizepU2U0AWbAQvGG2/knV3A42yJ1Gd5h/EG+4/s4W23FRD2mv6XAP2RroCPf T8Gc9qt0B6hL+ozOe2ixWxOza5Y6E79MtGVqHoRjAnWW7o+Ggan/8jhxiEg5kg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1725567543; a=rsa-sha256; cv=none; b=DbN5Q1bcDQLU6kSdl9gimknynJtcd52hTP4wlkuOifU/Z3Bw9SKZS79N/9yXftwsWtBuQD e6kXbTb58YnnCT8RleYtwlbT3ntBwcsA4YMTo+uVUdoQdaAZhvfZZ3ezwQIcxQUvyQ+Wu4 79rWI6U5ALM/nN6itc2Hp9T7i0MJp20PS7q/egm6uD4JV/0RK9uiNEjWBGUV4tc59lwaji UowNRBy05Y8mbFpB+oPQWGq+3D0c/t+6mm/qeQU7zdwtN+uS/TW9R7VhPRKQUyGqD7uQFP Xiq7EqasudzAIldElH2JIK2IN4iSbpPl6QHBK2QMNxQ1rmrT/EP99yBYrhfClg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; 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" 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 3798F7DB13 for ; Thu, 5 Sep 2024 22:19:02 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1smIvn-0007e6-4H; Thu, 05 Sep 2024 16:18:15 -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 1smIvl-0007dp-6w for emacs-orgmode@gnu.org; Thu, 05 Sep 2024 16:18:13 -0400 Received: from smtpout1.mo11.mail-out.ovh.ca ([51.161.45.253]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1smIvj-0008IE-Kc for emacs-orgmode@gnu.org; Thu, 05 Sep 2024 16:18:12 -0400 Received: from mxplan1.mail.ovh.ca (unknown [10.111.38.59]) by mo11.mail-out.ovh.ca (Postfix) with ESMTPS id 4X09f20zy5zHpxM for ; Thu, 5 Sep 2024 17:18:01 -0300 (ADT) Received: from morales.pe (54.39.251.56) by DAG2EX2.mxpca1.local (172.16.2.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11; Thu, 5 Sep 2024 16:18:01 -0400 X-OVh-ClientIp: 190.236.250.201 From: Rodrigo Morales To: Subject: [bug] org-num doesn't insert numbering for all headlines when setting variable Date: Thu, 5 Sep 2024 15:17:55 -0500 Message-ID: <871q1xc0ss.fsf@morales.pe> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [54.39.251.56] X-ClientProxiedBy: DAG2EX1.mxpca1.local (172.16.2.11) To DAG2EX2.mxpca1.local (172.16.2.12) X-Ovh-Tracer-GUID: 6cffd9f0-a065-4b97-9f04-51da83477589 X-Ovh-Tracer-Id: 1295066371985020439 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddrudehledgudegjecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvufffkfggtghisehttdertddttddtnecuhfhrohhmpeftohgurhhighhoucfoohhrrghlvghsuceorhhoughrihhgohdqmhgrihhlihhnghdqlhhishhtshesmhhorhgrlhgvshdrphgvqeenucggtffrrghtthgvrhhnpedvfffhudeliefhveeivdeiffeugfdtudeltddvgfekfeeiteevhfefuddutdekjeenucfkphepuddvjedrtddrtddruddpheegrdefledrvdehuddrheeipdduledtrddvfeeirddvhedtrddvtddunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehrohgurhhighhoqdhmrghilhhinhhgqdhlihhsthhssehmohhrrghlvghsrdhpvgdpnhgspghrtghpthhtohepuddprhgtphhtthhopegvmhgrtghsqdhorhhgmhhouggvsehgnhhurdhorhhgpdfovfetjfhoshhtpehmohduuddpmhhouggvpehsmhhtphhouhht Received-SPF: pass client-ip=51.161.45.253; envelope-from=rodrigo-mailing-lists@morales.pe; helo=smtpout1.mo11.mail-out.ovh.ca X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, 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-Queue-Id: 3798F7DB13 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -4.99 X-Spam-Score: -4.99 X-TUID: eCBq5fkddIt0 Consider the following file. #+HEADER: :tangle /tmp/a.org #+BEGIN_SRC org ,* COMMENT a paragraph ,* COMMENT b paragraph ,* COMMENT c paragraph #+END_SRC I started Emacs using the command shown below. #+BEGIN_SRC sh emacs -Q /tmp/a.org #+END_SRC I evaluated the following sexp using M-: (eval-expression) while being in the buffer =a.org=. #+BEGIN_SRC elisp (progn (require 'org-num) (setq org-num-skip-commented t) (org-num-mode 1) (setq org-num-skip-commented nil)) #+END_SRC I inserted an =a= character at the end of first line in the buffer. * What happend? The virtual numbering was shown for the first headline. #+BEGIN_SRC org ,* 1 COMMENT aa paragraph ,* COMMENT b paragraph ,* COMMENT c paragraph #+END_SRC * What should have happened? The virtual numbering should have been shown for all headlines. #+BEGIN_SRC org ,* 1 COMMENT aa paragraph ,* 2 COMMENT b paragraph ,* 3 COMMENT c paragraph #+END_SRC