From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id wJVrObyrxWXpWAAA62LTzQ:P1 (envelope-from ) for ; Fri, 09 Feb 2024 05:36:13 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id wJVrObyrxWXpWAAA62LTzQ (envelope-from ) for ; Fri, 09 Feb 2024 05:36:13 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=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"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1707453372; 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; bh=GeDXSb6Md24QFPZJGtxyErii3nU/bDI5JlNAk2yosSw=; b=TDS1NetTervtHO1OZQyGDgspnEJA73nBhGUYgKS7fxcdVJCjziHSxOTXEp7R7wE5NYVput 5abWPMF60QrlEL0+OZ7estmVG3+ZJcmEDpAziweOfsZP6vt82k+IbfN6WYGqQU6uOgRNir vA1UfO5/1y5ex6E1HAezCQq9xtBHWwuzXeWDE2Hzvp8MFO05dBePYEaq0is6J9DSNXvo4E cjQADzG/1q2ivWYu++w1SVW238VApRqpS+db4w/ZxEQyJcFgiGyl1IcEgWQGKWx8+FjcUV 67l9AyNqG5jhnd7byGp//0ZY04jqCi9F8nbaaco1nIXfBPAr5p3S03bD+o/Xvg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=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"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1707453372; a=rsa-sha256; cv=none; b=LoY/1St+f2EvcfSG+Uf+udCzinIbo0uwghyJQaLV/oBl2YWo+Ot83yk7uiiIq5NatYX7U9 Tkqus1OPMknrypBd2OQTox3Vlck6uY5stiIe0rZHop/1cHHIS2cWWJGQG7f85boRu92OuD ccxDo6YH6TyNGIE0tJwVllcy8ZEECae4DGuKoUq1rzedANbQKKKd85MkzPSo/LY2M8olwW 27jkTxM6P3QZlssQHLYWnrbb34fpoRkx6KtQtymrLvozBuY2D0WMgYSa+1+B2sAdKDydCy FewK2ycgU81U6LS7rsE/2aTwgEe03UBVMcgc7Ey58kC4cK4UjnhTY4STVSaMkA== 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 5F8B941CD3 for ; Fri, 9 Feb 2024 05:36:12 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rYIbi-0002me-Tz; Thu, 08 Feb 2024 23:35:22 -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 1rYIbg-0002mE-9s for emacs-orgmode@gnu.org; Thu, 08 Feb 2024 23:35:20 -0500 Received: from mail3-164.sinamail.sina.com.cn ([202.108.3.164]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rYIbd-0005Il-Vi for emacs-orgmode@gnu.org; Thu, 08 Feb 2024 23:35:20 -0500 X-SMAIL-HELO: chang-inspiron3480 Received: from unknown (HELO chang-inspiron3480)([119.251.52.149]) by sina.com (10.182.253.24) with ESMTP id 65C5AA2C000007B3; Fri, 9 Feb 2024 12:29:41 +0800 (CST) X-Sender: drcxd@sina.com X-Auth-ID: drcxd@sina.com X-SMAIL-MID: 3370551048982 X-SMAIL-UIID: 88FC3FCDEF9F4CE9A86F314955DB3BD2-20240209-122941-1 From: Chang Xiaoduan To: Ihor Radchenko Cc: emacs-orgmode@gnu.org Subject: Re: [BUG] org-num-skip-unnumbered is not respected if a org-mode file enables org-num-mode on startup [9.6.18 ( @ /home/drcxd/.emacs.d/elpa/org-9.6.18/)] In-Reply-To: <87v86zyoaj.fsf@localhost> (Ihor Radchenko's message of "Thu, 08 Feb 2024 15:21:40 +0000") References: <87jznf7gqo.fsf@PWRD-20230207OU.> <87v86zyoaj.fsf@localhost> Date: Fri, 09 Feb 2024 12:29:55 +0800 Message-ID: <87sf221cqk.fsf@sina.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=202.108.3.164; envelope-from=drcxd@sina.com; helo=mail3-164.sinamail.sina.com.cn X-Spam_score_int: 1 X-Spam_score: 0.1 X-Spam_bar: / X-Spam_report: (0.1 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FROM=0.001, HK_RANDOM_ENVFROM=0.999, HK_RANDOM_FROM=0.999, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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: -4.84 X-Migadu-Queue-Id: 5F8B941CD3 X-Spam-Score: -4.84 X-Migadu-Scanner: mx11.migadu.com X-TUID: Y917TWf4fCGT Ihor Radchenko writes: > > This is known. > #+STARTUP options are handled before buffer-local variables take effect. > See https://debbugs.gnu.org/cgi/bugreport.cgi?bug=57003 > Handled. > I have read the thread but I can not figure a solution. I tried to search "early local" you proposed in the org-mode manual or Emacs manual but find nothing related. So currently if I use STARTUP options to enable org-num-mode on visiting the file, there is no way to make org-num-mode apply file local variables such as `org-num-max-level'? Is that right? > > Yup. > Fixed on main. > https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=bfc0cb372 Thanks a lot.