From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id mIWLBrFB32b9KQAAe85BDQ:P1 (envelope-from ) for ; Mon, 09 Sep 2024 18:42:57 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id mIWLBrFB32b9KQAAe85BDQ (envelope-from ) for ; Mon, 09 Sep 2024 20:42:57 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=rf9QWJDP; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1725907377; 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=citY//zBH2V8oYZJORj4UOTwcOo8W9tAwtUR/W5zhDo=; b=ZlQDsQLVXMyYSOulE4o+fgaM/S59I7HhBDcCX4U7t/PxF0HVs9cocXqS+kUx54SMZBELHO 3LNzJ+jwvzGJoTIE13Oe9+Hiae7WzuWdbsryT3uaYsgjmEej7G22ZmkwxbcYrOdbW8HD8F Japp6POLby5gJ04bMCG4bLH3McJ9X/bGX0ryXGhwu02m8yb6gbqysWWJwxna9gfcenkvxe 03bKbRLx0yWi+rQ3Z6typLtynzwKN6u7hNzgZDEtNqLjzwBUIjiNacomiib/7zLlNXp8l2 6BaEj4Idsn1VYxFsKxUwComLm7aLPBmXsdnDpGTE+E9pgXV6FyuWVyYkG3dq2A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=rf9QWJDP; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1725907377; a=rsa-sha256; cv=none; b=sX3QDdOUcJ16lP0Xtu4q2/PGf0xvcjSSIiJhg4UQI+nD/WxtWvYswg17QTrgL7LxPCFBVF R7t6Q7Aaiq8iqa1+VKlvNUVV6cyBal5JUiO+YEt9Dn1nS86bKx3ugyDVWwRvzxC1eV+LH8 uH8+cc/htKTC70+bv6J5zsRPAyx8raKEaxz01aX9stTZ1mo5Xr7K4VWhGv3vy2BvA9xi7Z QsYM1laRcQsCCeXEKLWpF8bCikUO3EuKyMqDfktUDfDUpfsJx6Bvz+XGwqnv57EL3F80M5 aaYj6mNexcFgiMO0picXyxpHYSuUCFE1fMEapqZOipKHbtKwO2PdoziHaC2sEA== 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 A85DC6F948 for ; Mon, 09 Sep 2024 20:42:56 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1snilk-00038o-6p; Mon, 09 Sep 2024 14:05:44 -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 1snilZ-0002OT-9r for emacs-orgmode@gnu.org; Mon, 09 Sep 2024 14:05:33 -0400 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 1snilX-0001kw-0c for emacs-orgmode@gnu.org; Mon, 09 Sep 2024 14:05:32 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 0903424002D for ; Mon, 9 Sep 2024 20:05:28 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1725905129; bh=2lzKzjTE/Wk1YoYvIUMoDOrOstDtqdJe6W6Bz7Vr4mg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=rf9QWJDPWcqarkO8T2uOxMWFfQeZRsL7xVBLXo0PpZCe/H847eI4r7aecByKl8ah0 QBEIUfW7pUo8Hswz1Bx7YxMsmvFn3YDp2ug7dQhcUFGOSqKK1MShhrlNs04FCJFBrV yajU1wJcQ3iSa51bLYlsz6ZowSnIH0/qiI1WxThk5aWSXoQzrABFpG5bj6YGkIwt1a wpp9XaFVJd4lUQpNEH1tUsWes5GdOtRrzCZ5XGbv/TdjL+0gPjKSJPqQE3K6O/q3e1 tVQoQ9DUuAgBYH47bhWNIviziVRgPzYG8r2DYyl7ep+Hn8KpbwU/ZXwYSl7HV3LHK0 O0FHJ6Ja47+Qw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4X2ZWD3fJFz6tx2; Mon, 9 Sep 2024 20:05:28 +0200 (CEST) From: Ihor Radchenko To: Rodrigo Morales Cc: emacs-orgmode@gnu.org Subject: Re: [bug] org-num doesn't insert numbering for all headlines when setting variable In-Reply-To: <871q1xc0ss.fsf@morales.pe> References: <871q1xc0ss.fsf@morales.pe> Date: Mon, 09 Sep 2024 18:06:54 +0000 Message-ID: <87cylcpupt.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 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: A85DC6F948 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -9.71 X-Spam-Score: -9.71 X-TUID: zaMHobevmVvN Rodrigo Morales writes: > Consider the following file. > ... > 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. You need to restart org-num-mode for its settings to have any effect. Not a bug. Canceled. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at