From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [PATCH] Derive non-default start value for ordered list Date: Mon, 02 Dec 2019 08:23:25 +0100 Message-ID: <87blsryyvm.fsf@nicolasgoaziou.fr> References: <87r21nvkq5.fsf@informationelle-selbstbestimmung-im-internet.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:36931) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ibg3V-0002UO-ID for emacs-orgmode@gnu.org; Mon, 02 Dec 2019 02:23:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ibg3U-0000bx-3H for emacs-orgmode@gnu.org; Mon, 02 Dec 2019 02:23:37 -0500 Received: from relay12.mail.gandi.net ([217.70.178.232]:52263) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ibg3T-0000ae-TV for emacs-orgmode@gnu.org; Mon, 02 Dec 2019 02:23:36 -0500 Received: from localhost (40-67.ipv4.commingeshautdebit.fr [185.131.40.67]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay12.mail.gandi.net (Postfix) with ESMTPSA id 70E25200005 for ; Mon, 2 Dec 2019 07:23:31 +0000 (UTC) In-Reply-To: <87r21nvkq5.fsf@informationelle-selbstbestimmung-im-internet.de> (Jens Lechtenboerger's message of "Sun, 01 Dec 2019 21:45:06 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org Hello, Jens Lechtenboerger writes: > currently, we have to write the following to continue an ordered > list from a value different from 1: > > 42. [@42] Answer > 43. Question? > > The requirement to type redundant information with the @-syntax > always struck me as odd. For my export backend org-re-reveal, I > recently received a request to export lists without @-syntax to > their =E2=80=9Ccorrect=E2=80=9D start values [1]. > > Before working on my backend, I=E2=80=99d like to ask for feedback: Why w= as > the @-syntax introduced? Of what non-obvious effects should I be > aware? > > What do you think about the attached patch that allows to omit the > @-syntax? Controlled by the new variable > org-list-use-first-bullet-as-non-standard-counter, the code assigns > a counter value to the first list item from its bullet string if the > item > 1. does not specify a counter itself, > 2. has an alphanumeric bullet, and > 3. does not have a default start value (1, a, A). I think the current situation is better. It works, as advertised, and it allows you to re-number any item in the list, not necessarily the first one. Of course, it may be less "elegant", but the overhead is negligible, and, as a data point, I'd rather have continuation lists more visible than not, as it could create confusion in the document. I do not know about org-re-reveal, but included exporters do not display the [@xxx] part. However, they use its value to start lists at an appropriate number, if technically possible. I suggest org-re-reveal to do the same if that's not the case. Regards, --=20 Nicolas Goaziou