From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id sG/nDAQOrWJZLAEAbAwnHQ (envelope-from ) for ; Sat, 18 Jun 2022 01:28:04 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id AJLzCwQOrWICWQEAG6o9tA (envelope-from ) for ; Sat, 18 Jun 2022 01:28:04 +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 B15122ECA7 for ; Sat, 18 Jun 2022 01:28:03 +0200 (CEST) Received: from localhost ([::1]:58602 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o2LNh-0006lI-Vx for larch@yhetil.org; Fri, 17 Jun 2022 19:28:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59582) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o2LMt-0006kw-17 for emacs-orgmode@gnu.org; Fri, 17 Jun 2022 19:27:11 -0400 Received: from mail-ed1-x535.google.com ([2a00:1450:4864:20::535]:40753) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o2LMn-0003Y9-9O for emacs-orgmode@gnu.org; Fri, 17 Jun 2022 19:27:06 -0400 Received: by mail-ed1-x535.google.com with SMTP id ej4so4038929edb.7 for ; Fri, 17 Jun 2022 16:27:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=v6a6X5SATKQF+JJcLkctzE0tHZF6SnikmiKXIWOaan8=; b=qPw09LQQSHSdNIXpmvL74Jh3KjfGJlCzt21xok+E+RQ2j4dLSwc3HuuAlXjEObOVW1 rEmyyE9PVRlSQAXjbnBh4vJopQbsYnf9joy34nfsoEMt/QKqG3fwd8kkMtrAMeS9YwNK OZB2MJXuYv28Mi3okz8jK3nuCprNyMZSJmT/o8cZ5cjKoLbmlhajMGW6+o+Q5X1Emeh8 K5kW7kbAVZQll0T6OTw8PgJaIbGyDo9Pa9fSFNtMT3L7/5oL+KC89Q6MFTUc4deYj1r5 YUKSoE43VvZ3b+ZtUdkXdQSgeKUFNHnTvnec3N6rvCglUTKXiJ+4lnRrOoBlbKRNY6pf eUYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=v6a6X5SATKQF+JJcLkctzE0tHZF6SnikmiKXIWOaan8=; b=qJM1i/VYSplQ4eGvRjjfEXFfNysTsrbq4ysJvW1P4iTtKSyBWZP1mbqa13uQtCfv8U YzK3a+mpkJuq7GHvDd/mI/AMAb8HCRSvsO/fI3Bt4UCdZqH4n8KfzZz3nq7TokDKmXqN +w09VnlrCXaS2gA8SQoT3ChlTZUQoIe5pz1PujUYIJVzu9xz6HYf5AdE3psZgGgPk84K a56P7UQoxWIoJw/p/ju/2Fnb8SL5tXAs/M7VrBkQQ/DpUO0JRonijbj+tyjQmx+sP/nd 4d6btOB0v2z8AcuVE2sBcyCfSIx1F8sghqL/bOHSEQ0gu5P0IVkLzxq8mXP397QvSty3 dXTA== X-Gm-Message-State: AJIora8iZY0jeFPdwTr/4qzXkrCiVfcaEFXpKZv+ow5vWJQWUKTGNVAm kHZI6o05+WE8L4QwcvZqAYjgOzQ4xkAy1S+Ur6I= X-Google-Smtp-Source: AGRyM1uD/IUNUfbiiBO8tzpGjnvkDgsgfFxPp8R+k1ZhzLy4K7/ZGItv1ZX9WUoJm2nr30zdwlIpSTOYNquhW2YCAnw= X-Received: by 2002:a05:6402:2752:b0:433:3a08:27b1 with SMTP id z18-20020a056402275200b004333a0827b1mr15258348edd.235.1655508422338; Fri, 17 Jun 2022 16:27:02 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a17:906:478e:b0:712:12f6:242d with HTTP; Fri, 17 Jun 2022 16:27:01 -0700 (PDT) In-Reply-To: <87edznjyji.fsf@localhost> References: <87wndiv988.fsf@localhost> <87edznjyji.fsf@localhost> From: Samuel Wales Date: Fri, 17 Jun 2022 16:27:01 -0700 Message-ID: Subject: Re: Orgmode plain list bullet : change automatically with list depth To: Ihor Radchenko Cc: "DEBRY.Edouard" , emacs-orgmode Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::535; envelope-from=samologist@gmail.com; helo=mail-ed1-x535.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.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, 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1655508483; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=v6a6X5SATKQF+JJcLkctzE0tHZF6SnikmiKXIWOaan8=; b=l5ig51YOmfWSscXKqbJsGQhoHeSslZRzf32iOrMTmT7xPhslvgZTrnf5nE7yvoqS5JfM7+ UBEG2uljukxBRpQWPT3Z40Yrw5dhjh6Dzk2DldBmTkaLGZUYimYtXP2a68ZMHimSR4DVNj mQQ362Lc7Z17q9n0gszULrHtp0V3ZW7zsFVFyOIXigDIgwqfxlcdaOVpWKKGW/7kH6fYst 6lFns2Gn5Eqz8pIKWZ4fV8BPcDwaGSCCAg58G4Fx875InNQBK3TUhT0PzGZrlEV0e3e3kd bxBX7eD5Q9/41zsLpJbQjQ3utCVuj5iMAcw+ZHv1Z4BvOahmXFSyqzwv11+4uQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1655508483; a=rsa-sha256; cv=none; b=CElHyKaJFSWcrNaPGZXiCrh7Hoz55JmdAdtxChHBULUqFd4Bt2ymLYVYUfffKxcae46HwD XNcxgZw9PAjwuXCndxxix6REExvaK8YP645pOXkKHNTQwybYUCVkQbgfWT6ha6je41JXRi lZAPcPaG3az1mv93Ur+FHSzU/dkdt+b9JjILznY5vLTfMWtq6qePukWO5JifCFc8CVcyZH PFKuwsX9DSSxIkO0arI2K1O7G1j3QqYBdIHwQBFwAfenvYKzXfAcvSUqdjoZtaHt3b+Ljw Otezioty9wRBPADEayESVXHlPoNkNh6wax8ZgG7GtAHRnw0ba3o0Yrsey3WdCg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=qPw09LQQ; dmarc=pass (policy=none) header.from=gmail.com; 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" X-Migadu-Spam-Score: -3.99 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=qPw09LQQ; dmarc=pass (policy=none) header.from=gmail.com; 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" X-Migadu-Queue-Id: B15122ECA7 X-Spam-Score: -3.99 X-Migadu-Scanner: scn0.migadu.com X-TUID: QnwfWQSJm34e sure. iiuc i think op wants 2 things: 1] graphical bullets. i.e. not the - + etc. that are in the org plain text as saved to disk. 2] each level of a list to have the same bullet style examples of 2]: a conforming list: - this is level 1. for this list, we always want level 1 to use the - bullet style in the org plain text. + this is level 2. for this list, we always want level 2 to use the + bullet style in the org plain text. + another level 2 - another level 1 + another level 2 + the + is CONSISTENT with the + in the level 2 of the previous list item a non-conforming list: - this is level 1. for this list, we always want level 1 to use the - bullet style in the org plain text. + this is level 2. for this list, we always want level 2 to use the + bullet style in the org plain text. + another level 2 - another level 1 * another level 2 * these * markers are INCONSISTENT with the + markers in the level 2 previous list item. the idea is for org [as opposed to fontification] to enforce this level correspondence. whenever we do a bullet style change at any level, org could change ALL BULLETS AT THE SAME LEVEL. this keeps the list conforming. currently, org does not do this. instead, it allows you to say that /demotion/ makes a + when you have a -. but without enforcement, the list can quickly become non-conforming after the user edits it. this idea is independent (orthogonal) to fontification / displayed graphical glyph. i think op's 2] idea can make sense. and then fontification / displayed graphical glyph can be done perhaps with a fontification package. in any case, fontification can merely say that + looks like =F0=9F=98=BA or so. orthogonal to levels. On 6/17/22, Ihor Radchenko wrote: > Samuel Wales writes: > >> i wonder if org could do the semantics in the text, while >> fontification could do the appearance only. >> >> org allows you to change the bullet style [real text bullets rather >> than fontification] upon demotion. >> >> thus, you can have it consistent that demoting + from top level will >> create - on level 2 for 1 item. until you change it. >> >> but org does not enforce by level. so you can't keep the results of >> your demotion strategy in the rest of the list. an enforced scheme >> would have it so that a change to new bullet style at a level, or >> level 1 otherwise, would style that level. > > Could you please provide an example. I do not understand what you are > trying to suggest. > > Best, > Ihor > --=20 The Kafka Pandemic A blog about science, health, human rights, and misopathy: https://thekafkapandemic.blogspot.com