From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id +AdIMDGFLWV0OgAA9RJhRA:P1 (envelope-from ) for ; Mon, 16 Oct 2023 20:47:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id +AdIMDGFLWV0OgAA9RJhRA (envelope-from ) for ; Mon, 16 Oct 2023 20:47:13 +0200 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 7CCC154648 for ; Mon, 16 Oct 2023 20:47:13 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=gcbchobm; 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=1697482033; 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=hovDwXjdpJJT6e91hkE2nM9LYDWbJrbgNpIXX/6Ax9Y=; b=ZEYKlgvBQPaSBN6Fml8btX63T+p6p7ng0eNhOh2FtlpsjOegoVN1pvAmjWSB0BCNc/YrdA SKIcvHuAqavCF44J4KS2qBSWkC0Cn9UuDrGbQITTD9Xs2tx+KhDY/btLxBpKYQVjId7ChV j1CkKnw3UWHx+SwGWGk8qdINEVf8RBPQOre/2tdAdVUB7Li9YAMwIOwPiznjTK1kJNxO5M 7pKsFNQTbpYqLOKo9RG9zVx33pKGRfM33kAsmuD7SuZc7qSd5X6pGdyZAnVqK227DPRHaO So9ZbgobzbvPuw/D87jjlO4F+aXfvEPjkLqA1lFr65mpbPga8DtLjtdfScJBRA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=gcbchobm; 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=1697482033; a=rsa-sha256; cv=none; b=silETxszEMP38qhNFGZeJsvl1dT+E1Jjsncs1FN5KW1B29mYnwE+XH8PgTOu5bA5yBbLJg N9Os3srh/GwUUmgQXqCMENXchbGH0/5qujz6i+fnSU5h1LAMvF0bgd220blD3otjpi0v+u 4ZOGY4fuBzu0yGeYAPNHGD68LjKz6J/lbfIjK/0MxbAthpH5r3boREV1ZgHKtisBTbJ+EL 3UOODk8kFuwggvSINdUaIEGfS82I9u8/I9UJzFsTgRW93IhWNFvO5u1Y4tzyorCpUqw9Z4 0+sz/rUFEvD/xPgH3erUEBwduBRX4ndJi4173UDqnQFdKai8frUTK1j5D/EIGA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qsSar-0001MX-1f; Mon, 16 Oct 2023 14:45:33 -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 1qsSag-00011s-Uw for emacs-orgmode@gnu.org; Mon, 16 Oct 2023 14:45:24 -0400 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qsSaV-0006uD-TH for emacs-orgmode@gnu.org; Mon, 16 Oct 2023 14:45:14 -0400 Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-405505b07dfso36761795e9.0 for ; Mon, 16 Oct 2023 11:45:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697481905; x=1698086705; darn=gnu.org; h=in-reply-to:content-language:from:references:cc:to:subject :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=hovDwXjdpJJT6e91hkE2nM9LYDWbJrbgNpIXX/6Ax9Y=; b=gcbchobmQFOAzMTcwnNsvQtV5aDiS80OV/RSK6Y+UObhDqH0PaLz7sJXKVfoDnLcja sdBSDiU248eXczbgp6nZvVbfk03ivoLk0BdeD/cbOP1L03nOVWwcG61AkdK/2bO92eRt cZhUKdzqv5R+FBbEWlB8MC+fmw4Ptxx16vkk3rjY3VeLyNAKufDB81DcZtEpLHebHnAe DBi9BrJ1eVmgWl+iU6LE5CrCXilu07fg6JWntaBPVPVbseNjo87n2kj5jzaMenpIX7Xm IqRCIqHee+6BXA+EuABypR4v0bWvC1/k6G/QOerm3GrunqAtBBjbbHSLaYUJgYVCOgJe +DlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697481905; x=1698086705; h=in-reply-to:content-language:from:references:cc:to:subject :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=hovDwXjdpJJT6e91hkE2nM9LYDWbJrbgNpIXX/6Ax9Y=; b=XMJts/wHtrLNH3DBJ8CjCr0pkTii1AtsYmA2bw3MHv89ZfuMeHdCI3ilthBqcFHR5f eSYB0RKo65ZsCDv14IJiCLAsqmoJTZYPTPUrZXJSBjnfThP5G94GEto2uHXyIzPOJWvx ZbT99iH+TD3iUB1Bd7VfqRekurFZVGG1egHgt+lDGSVcw+VjBo6Qv1z8x7SWbokOSdOi 10PrJnDsiQaPDPI+RAVHu1okSgrUSmUT2bth+6PiX/Os2weXfMhVJY81mB5AtgaySaMG FOMaP+yjt3rVRHJeMWZCDBAqJzZY7+AiYbj8Bh5Clbc0uq+ENtuhwPL/SbylAHL3L67c 2h0A== X-Gm-Message-State: AOJu0Yyu4yAurdaYXQWMEmECVMN5qm+KCWeuAKI+43yEGkr4RYULfrUq HurWxn7+djtjaTRZim7QZevMnBPbc3A= X-Google-Smtp-Source: AGHT+IGDQVxrWBqcXnXQt3DjPtp6Vs23juGRMIWaV39o6jNvHpFJ3FACkcMm6oijkk0kKOz2oeZbug== X-Received: by 2002:a05:600c:5102:b0:402:f91e:df80 with SMTP id o2-20020a05600c510200b00402f91edf80mr200130wms.3.1697481905244; Mon, 16 Oct 2023 11:45:05 -0700 (PDT) Received: from [192.168.0.97] ([47.63.234.58]) by smtp.gmail.com with ESMTPSA id t17-20020a05600c451100b0040535648639sm7816613wmo.36.2023.10.16.11.45.04 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 16 Oct 2023 11:45:04 -0700 (PDT) Content-Type: multipart/alternative; boundary="------------p8C60HALvLvpN1NFk2jtw0Zy" Message-ID: <249cd3af-c173-5ff2-df27-c32af3886329@gmail.com> Date: Mon, 16 Oct 2023 20:39:14 +0200 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 To: Ihor Radchenko Cc: Org-mode References: <1a6eda9e-6ce6-4a3a-f9db-fe022aa5e1cf@gmail.com> <87il789hz3.fsf@localhost> From: Maske Content-Language: en-GB In-Reply-To: <87il789hz3.fsf@localhost> Received-SPF: pass client-ip=2a00:1450:4864:20::32e; envelope-from=maske1foro@gmail.com; helo=mail-wm1-x32e.google.com X-Spam_score_int: -53 X-Spam_score: -5.4 X-Spam_bar: ----- X-Spam_report: (-5.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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, NICE_REPLY_A=-3.339, RCVD_IN_DNSWL_NONE=-0.0001, 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-Spam-Score: -7.15 X-Spam-Score: -7.15 X-Migadu-Queue-Id: 7CCC154648 X-Migadu-Scanner: mx2.migadu.com X-TUID: kmSAn6ZK9YdR This is a multi-part message in MIME format. --------------p8C60HALvLvpN1NFk2jtw0Zy Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi Ihor I added: (setq org-global-properties '(("UNNUMBERED" . "t"))) But it doesn't work, every headline is numbered. (Not tried in emacs -q). Bests 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. > --------------p8C60HALvLvpN1NFk2jtw0Zy Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Hi Ihor

I added: (setq org-global-properties '(("UNNUMBERED" . "t")))

But it doesn't work, every headline is numbered. (Not tried in emacs -q).

Bests


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.

--------------p8C60HALvLvpN1NFk2jtw0Zy--