From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id wA13H7NQ0mXlnwAAe85BDQ:P1 (envelope-from ) for ; Sun, 18 Feb 2024 19:47:15 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id wA13H7NQ0mXlnwAAe85BDQ (envelope-from ) for ; Sun, 18 Feb 2024 19:47:15 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=loGzqBuY; 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=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1708282035; 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=dVQYKjZ6JkDTmQG6ovQGU6jZ/nXF1Av0cdIV6iQVUB4=; b=OVKMUoTjlh5Op0VTYU0lFPPuZS1WQwF1/z+D3LvaaE+YlqNtrOZKmaPxppcpjbVUvf02Ca NTAjstLhes7mgG3AF0LOE3WS4ErCU/iZ+JCQnlvNnsyHNtkWxTkbfijvbJT4++Ivn3qZnN GetIumVJXyW6UT9f12LZqtgQvFsYYoGFqLiFPxvv1y4FJAcee+epd/jiPg5gm8fANwQdzt ZU+3sKCc91O7dofdYkoG8h2gS0ysqLnnNwTMSJQ5SUrDRk36uxcijPkA5ll3tafDSe001e 82ukRCm5hlBgYGOW6NZ4YAxnLhYuOqW3rLp6O6Ud+VFASX5R+xBtfgnhbFldAQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=loGzqBuY; 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=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1708282035; a=rsa-sha256; cv=none; b=TPVaqQUEr3ZG1zOoocUnyp8WJO9y9/VnZiql0cy1NndAefPRwYT5bTlFBGKAy35Ch86HCB pdyx96fTTxMNGS9UyT3djkFeCI/QUKUPQVTWpWsMGDQi68mm5Tlp02wv0CJoPZhHJ9HfYU 6ewFZNYaVVVdVHWencovpX/t/3DVJKfbjUUW+3OI3ugkh+IjqpDs9VlviGi5w+OxFSXTys n0MLt+t0YfPlQXUtwr5kYmtYjXsdArsUlYOZe7ov+R8b5KLoEIGaSxG9fMuCw31U1fBK/b Ee/r50kUlLhX+wFIX38dzcAg318IRpCh6d3oRfwHLb//N7LTRqevPKvqpVwy1w== 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 4E3B2E9C2 for ; Sun, 18 Feb 2024 19:47:15 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rbmBA-0000Zb-Pr; Sun, 18 Feb 2024 13:46:20 -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 1rbmB7-0000ZG-HJ for emacs-orgmode@gnu.org; Sun, 18 Feb 2024 13:46:18 -0500 Received: from mail-lj1-x22e.google.com ([2a00:1450:4864:20::22e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rbmB5-0007kC-Jz for emacs-orgmode@gnu.org; Sun, 18 Feb 2024 13:46:17 -0500 Received: by mail-lj1-x22e.google.com with SMTP id 38308e7fff4ca-2d23473a563so7831771fa.3 for ; Sun, 18 Feb 2024 10:46:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708281973; x=1708886773; darn=gnu.org; h=in-reply-to:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=dVQYKjZ6JkDTmQG6ovQGU6jZ/nXF1Av0cdIV6iQVUB4=; b=loGzqBuYozlAvYrrsCjnz36/sHHj0hux/wKJUaCiVMtYdt5TZnRkuzzb6T+mHrc6TW 2Pd5rMK/sQBVpkLD1Kft0qEcsE1jafo08gvsKBz1T6njMkR2MWgGvUL1uZ/YdUI4ptpR w6oIwFhl8468zcwblF4OeJXFnjLF/Ps9kPm6ji3PNxOWjHPSuWyMPJmhOo5Dma9B0qwl g//Ci5axa50QuDkTjpFabOvWg9gHcnUYkrMORHHqSLn271fOPhgGNiu7g9S16iPVGYLY W/XhwOhJ6yDSrsKhGRJQqb0yRvfKoBawvwfYvN+zogvaPSHEvmriK8JRF7yxgMrnXXvh b0VA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708281973; x=1708886773; h=in-reply-to:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=dVQYKjZ6JkDTmQG6ovQGU6jZ/nXF1Av0cdIV6iQVUB4=; b=k2LUaR2GgC9MiH2WWn6HAEkS+fv9DAP1oEEHFIby3RUcG5oacGpwkvRuK3VmsGFjXS Wpc2lbYojKrojiZvULAay3bERgaGkpdeBuyeDOyF+Q8rcQrRQH7oIDLlM2bKvqfXCclV UzIr0WP+0aPkYOPd+Uy7sZIS+vUQi2v+Bm9lAJHGcOlpJ47oEPP5xBeqAY+GXExgnndV Wnb3l/OtuLzVFktgUZop/mzzIPCNPvYd46kT6kEKxg20FAUaiAjCa2Erg7Mh6MIcSrU2 9O0cCFzinOPxjoihO9IpO01qEMX/2wMCL2oD8PyVPs8pv9yxU20PnL8rz/+HQg/wvHG1 RDlA== X-Gm-Message-State: AOJu0YxOpAXbvWvtecoYePE1xsRcFWgBg9nnGgf+SNqc1GTMUewEF8cX ntvULT9R6jZnxEDGII9bY2Nx6+WYnRj4Ig9yxf7aWnOBDIbHoWOc X-Google-Smtp-Source: AGHT+IEQx2Np+x5arNFNUCyeCuwYHBAEY7tlbusP3OhIB0BtXZ6gB7vmOwIB/nkx5671dAaiqddtBg== X-Received: by 2002:a2e:8416:0:b0:2d2:199b:58c4 with SMTP id z22-20020a2e8416000000b002d2199b58c4mr5002646ljg.18.1708281973132; Sun, 18 Feb 2024 10:46:13 -0800 (PST) Received: from [192.168.0.97] ([47.63.189.238]) by smtp.gmail.com with ESMTPSA id az21-20020a05600c601500b0041260a6c203sm3472920wmb.3.2024.02.18.10.46.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 18 Feb 2024 10:46:12 -0800 (PST) Content-Type: multipart/alternative; boundary="------------5pXsatP40bq9A3sYGM7M8wHM" Message-ID: <886cc2ec-c323-b2f4-dc18-68cc33c2c52b@gmail.com> Date: Sun, 18 Feb 2024 19:46:10 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [FR] org-num-mode inverse defaults Content-Language: en-GB To: Ihor Radchenko Cc: Org-mode References: <1a6eda9e-6ce6-4a3a-f9db-fe022aa5e1cf@gmail.com> <87il789hz3.fsf@localhost> From: Maske In-Reply-To: <87il789hz3.fsf@localhost> Received-SPF: pass client-ip=2a00:1450:4864:20::22e; envelope-from=maske1foro@gmail.com; helo=mail-lj1-x22e.google.com X-Spam_score_int: -30 X-Spam_score: -3.1 X-Spam_bar: --- X-Spam_report: (-3.1 / 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, NICE_REPLY_A=-1.002, RCVD_IN_DNSWL_NONE=-0.0001, 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-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -5.19 X-Spam-Score: -5.19 X-Migadu-Queue-Id: 4E3B2E9C2 X-TUID: QIizzoKERcQL This is a multi-part message in MIME format. --------------5pXsatP40bq9A3sYGM7M8wHM Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi, Ihor My config, not working yet, everything is numbered with org-num-mode: (setq org-num-skip-unnumbered 't) (setq org-use-property-inheritance '("UNNUMBERED")) (setq org-global-properties '(("DIR" . "data/") ("UNNUMBERED" . "t"))) Maske On 15/10/2023 14:40, Ihor Radchenko wrote: > Maske writes: > >> From the first day, I liked org-num-mode, but I think that its default >> which numbers all headlines could be problematic. >> >> Right now it only has the options to exclude headlines from being >> numbered, so it could be necessary to modify a big amount of headlines, >> for numbering just a tree. >> >> I think it would be helpful to have a "positive" way to numbering >> headlines, for example "NUMBERED" keyword, while all the other headlines >> stay unnumbered. > You can simply set UNNUMBERED property to t for the whole document via > #+PROPERTY keyword or by customizing `org-global-properties'. Then, the > headings that should be numbered should have their UNNUMBERED set to nil. > --------------5pXsatP40bq9A3sYGM7M8wHM Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Hi, Ihor

My config, not working yet, everything is numbered with org-num-mode:

(setq org-num-skip-unnumbered 't)

(setq org-use-property-inheritance '("UNNUMBERED"))

(setq org-global-properties '(("DIR" . "data/") ("UNNUMBERED" . "t")))


Maske


On 15/10/2023 14:40, Ihor Radchenko wrote:
Maske <maske1foro@gmail.com> writes:

 From the first day, I liked org-num-mode, but I think that its default 
which numbers all headlines could be problematic.

Right now it only has the options to exclude headlines from being 
numbered, so it could be necessary to modify a big amount of headlines, 
for numbering just a tree.

I think it would be helpful to have a "positive" way to numbering 
headlines, for example "NUMBERED" keyword, while all the other headlines 
stay unnumbered.
You can simply set UNNUMBERED property to t for the whole document via
#+PROPERTY keyword or by customizing `org-global-properties'. Then, the
headings that should be numbered should have their UNNUMBERED set to nil.

--------------5pXsatP40bq9A3sYGM7M8wHM--