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 oAW+LdOsxmXLmQAAqHPOHw:P1 (envelope-from ) for ; Fri, 09 Feb 2024 23:53:07 +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 oAW+LdOsxmXLmQAAqHPOHw (envelope-from ) for ; Fri, 09 Feb 2024 23:53:07 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=EY421w8N; 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=1707519187; 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=LHnR2xGqByRHn0e6OIKQf9jKLL2/2T866a9Bkf+h/b0=; b=IGHmStSgrvoYTh9BmLDZ65Hf+Fcrsq91UsUOCBz6okJLv3ZdT7rUhSIeCurpFvOfhOpisA nQsxE5bzi/9XMlkz7l8ytI3N72pYCy4HBagKgU2NreochfsHAbvJN1q+0vh+TokwxFV+sg 0DJcgyM97S0r8sS0Z19FNvQs+k/qvSStNretwiuGGsJ5aTSU8GfybjdDqU59AW4sl5m4kr dhYOvXEmXNyRP/M6t8tNzvSS2uUDmPGsu1UIG5HXivkv79avw6/TwdQk/WCvNpz42vhAbX 5QsSaUNZJXmZS/uNJrudKRaNBHTqbRHj5dBUBFEpeP27CTMECVUBP0rJ2MMB/g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=EY421w8N; 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=1707519187; a=rsa-sha256; cv=none; b=BELwYmlJcW+9Hm+aSlGEDJIYOEIsZ6dHxCfNJ9LWKRR6p8ds0ALrWS02Th+3oh7v4ONUVK Ve1I39KqBMqrR7IpWcYXXUkrnbINplAtJoX073Z++EXFaHNU+KfugZD6XXWy7eSzI661IM VsIn9ke5Q+8vi9vvZ+21zLo1/mvxK7rACyzLMGcvIvABBWv3TpKmuGCb73jFH1OzHUCsvD wud+U1stMaj+oKsWu6KlWrZkidYN2HAfpB9V5QQdLeHpQwnz9L1+S1yHOWuRD6LNgaKZQ0 XWCLusGvV7D4twqCjwUW3rB+1u1tEyom9pGSN1yZEUYXR3m7TAglzD0wqU5fxw== 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 23D8C3BB7B for ; Fri, 9 Feb 2024 23:53:07 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rYZjL-0006lj-N6; Fri, 09 Feb 2024 17:52:23 -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 1rYZjK-0006lb-44 for emacs-orgmode@gnu.org; Fri, 09 Feb 2024 17:52:22 -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 1rYZjH-0007oG-2b for emacs-orgmode@gnu.org; Fri, 09 Feb 2024 17:52:21 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id D2A4D240029 for ; Fri, 9 Feb 2024 23:52:16 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1707519136; bh=p48aiXSPmgbh3MA5aJ/0fyV7SgZ5NUB+JY/JZIa2gZQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=EY421w8NklACSZ95PZhS7NqzQPCgsP1lDYcZo/jHgZV7LdiLcW3HAy8YVbtkKG41m LoTHQAjLrHQTQi+kRlyIiIeIi2whs6nGMDxsyGNS2qk8/+jlvblLjrRF2XKxTv7YZr Un5avOeHIWwLKyMR2V+kC5k+3epi2Dm2nAORHQQtu0/mYtmTd/dQkO+diT1qfNTSE4 sssyGensHZ3A9/krHqRQY+jCdyGYWJG5tL8JBdhf74VKHsYWb8jIufkFQezqkk4Uu3 y1tX2wcOjyEiVWzPcb6smf44zWd5Q6ud0rWSJ3eaQ1spaZLF7+RYs1LkyFN2ncnYdw w4DeTCpfgH3Yg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TWpyS3H9yz6twd; Fri, 9 Feb 2024 23:52:15 +0100 (CET) From: Ihor Radchenko To: Chang Xiaoduan 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: <87sf221cqk.fsf@sina.com> References: <87jznf7gqo.fsf@PWRD-20230207OU.> <87v86zyoaj.fsf@localhost> <87sf221cqk.fsf@sina.com> Date: Fri, 09 Feb 2024 22:55:44 +0000 Message-ID: <877cjd9rin.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_H4=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: -7.11 X-Migadu-Scanner: mx13.migadu.com X-Spam-Score: -7.11 X-Migadu-Queue-Id: 23D8C3BB7B X-TUID: Y7T4ArHdMFrX Chang Xiaoduan 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? Yes, you are right. The Emacs bug I linked to is not resolved. In other words, your issue is not new, known, but not solved yet. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at