From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lawrence Bottorff Subject: Automatic ordered lists with "intelligent decimalization"? Date: Sat, 7 Jun 2014 08:52:52 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b162fd559924504fb3f4b5b Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58049) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WtH3H-0000iN-Ls for emacs-orgmode@gnu.org; Sat, 07 Jun 2014 09:52:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WtH3G-0007xJ-JB for emacs-orgmode@gnu.org; Sat, 07 Jun 2014 09:52:55 -0400 Received: from mail-pd0-x231.google.com ([2607:f8b0:400e:c02::231]:62612) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WtH3G-0007x8-Bs for emacs-orgmode@gnu.org; Sat, 07 Jun 2014 09:52:54 -0400 Received: by mail-pd0-f177.google.com with SMTP id g10so3521916pdj.8 for ; Sat, 07 Jun 2014 06:52:52 -0700 (PDT) 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --047d7b162fd559924504fb3f4b5b Content-Type: text/plain; charset=UTF-8 I've seen explanations all around this issue, but nothing specific to the question: Can you create so-called *ordered* list entries automatically, i.e., just with M-ret and M-left/right? I saw this very question asked in stackoverflow.com ( http://stackoverflow.com/questions/13378222/emacs-ordered-lists-in-org-mode) . . . then not answered. I want to create a hierarchy of list items which are numbered, with proper "decimalization" for the subtree(s): 1. thing-1 1.1. thing-1-1 1.2. thing-1-2 1.2.1. thing-1-2-1 . . . It seems from the documentation that this behavior is only manual insertion. Otherwise, I start with 1. Header then do M-ret and M-right. But that only indents and starts another 1. line. 1. Header 1. sub header Subsequent M-ret's only produces either increments, or a M-ret M-right creates a sub-sub starting again at 1: 1. Header 1. sub header 2. sub header 3. sub header 1. sub sub header --047d7b162fd559924504fb3f4b5b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I've seen explanations all around this issue, but noth= ing specific to the question: Can you create so-called *ordered* list entri= es automatically, i.e., just with M-ret and =C2=A0M-left/right? I saw this = very question asked in stackoverflow.c= om (http://stackoverflow.com/questions/13378222/emacs-orde= red-lists-in-org-mode) . . . then not answered.

I want to create a hierarchy of list items which are numbere= d, with proper "decimalization" for the subtree(s):
1. thing-1
1.1. thing-1-1
1.2. thing-1= -2
1.2.1. thing-1-2-1
. . .=C2=A0

It seems from the documentation that this behavior is only manual inserti= on. Otherwise, I start with

1. Header
then do M-ret and M-right. But that only indents and starts anot= her 1. line.

1. Header
=C2=A0 =C2= =A01. sub header

Subsequent M-ret's only= produces either increments, or a M-ret M-right creates a sub-sub starting = again at 1:

1. Header
=C2=A0 =C2=A01. sub header
=C2=A0 =C2=A02. sub header
=C2=A0 =C2=A03. sub header
=C2=A0 =C2=A0 =C2=A0 1. sub sub header
--047d7b162fd559924504fb3f4b5b-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Automatic ordered lists with "intelligent decimalization"? Date: Sat, 07 Jun 2014 15:58:08 +0200 Message-ID: <87k38syg7j.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59190) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WtH7t-0002Vm-FH for emacs-orgmode@gnu.org; Sat, 07 Jun 2014 09:57:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WtH7j-0001AP-Bu for emacs-orgmode@gnu.org; Sat, 07 Jun 2014 09:57:41 -0400 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:45106) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WtH7j-0001AH-5e for emacs-orgmode@gnu.org; Sat, 07 Jun 2014 09:57:31 -0400 In-Reply-To: (Lawrence Bottorff's message of "Sat, 7 Jun 2014 08:52:52 -0500") 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Lawrence Bottorff Cc: emacs-orgmode@gnu.org Hello, Lawrence Bottorff writes: > I've seen explanations all around this issue, but nothing specific to the > question: Can you create so-called *ordered* list entries automatically, > i.e., just with M-ret and M-left/right? [...] > I want to create a hierarchy of list items which are numbered, with proper > "decimalization" for the subtree(s): > > 1. thing-1 > 1.1. thing-1-1 > 1.2. thing-1-2 > 1.2.1. thing-1-2-1 No, you cannot. Regards, -- Nicolas Goaziou From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lawrence Bottorff Subject: Re: Automatic ordered lists with "intelligent decimalization"? Date: Sat, 7 Jun 2014 13:34:28 -0500 Message-ID: References: <87k38syg7j.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c3c1e467c87604fb433aca Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47772) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WtLRm-0001xU-7w for emacs-orgmode@gnu.org; Sat, 07 Jun 2014 14:34:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WtLRl-00020p-Ac for emacs-orgmode@gnu.org; Sat, 07 Jun 2014 14:34:30 -0400 Received: from mail-pd0-x229.google.com ([2607:f8b0:400e:c02::229]:41093) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WtLRl-00020X-3F for emacs-orgmode@gnu.org; Sat, 07 Jun 2014 14:34:29 -0400 Received: by mail-pd0-f169.google.com with SMTP id w10so3732948pde.14 for ; Sat, 07 Jun 2014 11:34:28 -0700 (PDT) In-Reply-To: <87k38syg7j.fsf@nicolasgoaziou.fr> 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --001a11c3c1e467c87604fb433aca Content-Type: text/plain; charset=UTF-8 Besides the stackoverflow idea, my kludge is #+STARTUP: hidestars * 1 ** 1.1 ** 1.2 ** 1.3 *** 1.3.1 *** 1.3.2 **** 1.3.2.1 ***** 1.3.2.1.1 ***** 1.3.2.1.2 Does anyone know where this sort of thing resides? Emacs outline? On Sat, Jun 7, 2014 at 8:58 AM, Nicolas Goaziou wrote: > Hello, > > Lawrence Bottorff writes: > > > I've seen explanations all around this issue, but nothing specific to the > > question: Can you create so-called *ordered* list entries automatically, > > i.e., just with M-ret and M-left/right? > > [...] > > > I want to create a hierarchy of list items which are numbered, with > proper > > "decimalization" for the subtree(s): > > > > 1. thing-1 > > 1.1. thing-1-1 > > 1.2. thing-1-2 > > 1.2.1. thing-1-2-1 > > No, you cannot. > > > Regards, > > -- > Nicolas Goaziou > --001a11c3c1e467c87604fb433aca Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Besides the stackoverflow idea, my kludge is

#+STARTUP: hidestars

* 1
** 1.1
** 1.2
** 1.3
*** 1.3.1
**= * 1.3.2
**** 1.3.2.1
***** 1.3.2.1.1
***** 1.3.2.1.2
=

Does anyone know where this sort of thing resides? Emac= s outline?




On Sat, Jun 7, 2014 at 8:58 AM, Nicolas = Goaziou <mail@nicolasgoaziou.fr> wrote:
Hello,

Lawrence Bottorff <borgauf@gmail.co= m> writes:

> I've seen explanations all around this issue, but nothing specific= to the
> question: Can you create so-called *ordered* list entries automaticall= y,
> i.e., just with M-ret and =C2=A0M-left/right?

[...]

> I want to create a hierarchy of list items which are numbered, with pr= oper
> "decimalization" for the subtree(s):
>
> 1. thing-1
> 1.1. thing-1-1
> 1.2. thing-1-2
> 1.2.1. thing-1-2-1

No, you cannot.


Regards,

--
Nicolas Goaziou

--001a11c3c1e467c87604fb433aca-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Baier Subject: Re: Automatic ordered lists with "intelligent decimalization"? Date: Sat, 07 Jun 2014 23:04:35 +0200 Message-ID: <87oay4o2ho.fsf@mailbox.org> References: <87k38syg7j.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51864) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WtNnF-0000Qm-H4 for emacs-orgmode@gnu.org; Sat, 07 Jun 2014 17:04:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WtNn9-0002dY-5q for emacs-orgmode@gnu.org; Sat, 07 Jun 2014 17:04:49 -0400 Received: from mx1.mailbox.org ([80.241.60.212]:48411) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WtNn8-0002dN-TL for emacs-orgmode@gnu.org; Sat, 07 Jun 2014 17:04:43 -0400 In-Reply-To: (Lawrence Bottorff's message of "Sat, 7 Jun 2014 13:34:28 -0500") 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Lawrence Bottorff Cc: emacs-orgmode@gnu.org On 2014-06-07 20:34 Lawrence Bottorff wrote: > Besides the stackoverflow idea, my kludge is > > #+STARTUP: hidestars > > * 1 > ** 1.1 > ** 1.2 > ** 1.3 > *** 1.3.1 > *** 1.3.2 > **** 1.3.2.1 > ***** 1.3.2.1.1 > ***** 1.3.2.1.2 > > Does anyone know where this sort of thing resides? Emacs outline? What do you mean by resides? Do you want to know which entity defines the syntax of org documents? AFAIK that would be org-element.el, which parses an org-mode structured file into a syntax tree. HTH, -- Alexander Baier