all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* resume an interrupted enumerated list or reset the counter
@ 2021-10-14 12:36 Uwe Brauer
  2021-10-14 13:36 ` Ihor Radchenko
  0 siblings, 1 reply; 6+ messages in thread
From: Uwe Brauer @ 2021-10-14 12:36 UTC (permalink / raw)
  To: emacs-orgmode


Hi 

Sometimes I have the following 

1. first

2. Second

3. Third
#+begin_src 
A=7
#+end_src

1. 


So enumerated list start with a fresh counter, is there a possibility
either to resume the list or to reset its counter?

Regards

Uwe Brauer 



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: resume an interrupted enumerated list or reset the counter
  2021-10-14 12:36 resume an interrupted enumerated list or reset the counter Uwe Brauer
@ 2021-10-14 13:36 ` Ihor Radchenko
  2021-10-14 20:51   ` Uwe Brauer
  0 siblings, 1 reply; 6+ messages in thread
From: Ihor Radchenko @ 2021-10-14 13:36 UTC (permalink / raw)
  To: Uwe Brauer; +Cc: emacs-orgmode

Uwe Brauer <oub@mat.ucm.es> writes:

> Hi 
>
> Sometimes I have the following 
>
> 1. first
>
> 2. Second
>
> 3. Third
> #+begin_src 
> A=7
> #+end_src
>
> 1. 
>
>
> So enumerated list start with a fresh counter, is there a possibility
> either to resume the list or to reset its counter?

You need an indent:

1. first

2. Second

3. Third
   #+begin_src
A=7
   #+end_src
4.

Best,
Ihor


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: resume an interrupted enumerated list or reset the counter
  2021-10-14 13:36 ` Ihor Radchenko
@ 2021-10-14 20:51   ` Uwe Brauer
  2021-10-15  8:24     ` Eric S Fraga
  0 siblings, 1 reply; 6+ messages in thread
From: Uwe Brauer @ 2021-10-14 20:51 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 376 bytes --]


> Uwe Brauer <oub@mat.ucm.es> writes:

> You need an indent:

> 1. first

> 2. Second

> 3. Third

>    #+begin_src
> A=7
>    #+end_src

> 4.

Thanks, but what if the list itself is indented, like:

   1. first
  
   2. Second
  
   3. Third

   4. 
      #+begin_src
   A=7
      #+end_src
   4. <---- does not work anymore

Regards

Uwe 

[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5673 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: resume an interrupted enumerated list or reset the counter
  2021-10-14 20:51   ` Uwe Brauer
@ 2021-10-15  8:24     ` Eric S Fraga
  2021-10-15 14:46       ` Uwe Brauer
  0 siblings, 1 reply; 6+ messages in thread
From: Eric S Fraga @ 2021-10-15  8:24 UTC (permalink / raw)
  To: emacs-orgmode

On Thursday, 14 Oct 2021 at 22:51, Uwe Brauer wrote:
> Thanks, but what if the list itself is indented, like:

Works fine for me.

-- 
: Eric S Fraga via Emacs 28.0.60, Org release_9.5-107-g879942
: Latest paper written in org: https://arxiv.org/abs/2106.05096


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: resume an interrupted enumerated list or reset the counter
  2021-10-15  8:24     ` Eric S Fraga
@ 2021-10-15 14:46       ` Uwe Brauer
  2021-10-15 16:21         ` Nicolas Goaziou
  0 siblings, 1 reply; 6+ messages in thread
From: Uwe Brauer @ 2021-10-15 14:46 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 268 bytes --]

>>> "ESF" == Eric S Fraga <e.fraga@ucl.ac.uk> writes:

> On Thursday, 14 Oct 2021 at 22:51, Uwe Brauer wrote:
>> Thanks, but what if the list itself is indented, like:

> Works fine for me.

Right in a org buffer! But not say in a message buffer, using orgalist-mode.

[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5673 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: resume an interrupted enumerated list or reset the counter
  2021-10-15 14:46       ` Uwe Brauer
@ 2021-10-15 16:21         ` Nicolas Goaziou
  0 siblings, 0 replies; 6+ messages in thread
From: Nicolas Goaziou @ 2021-10-15 16:21 UTC (permalink / raw)
  To: emacs-orgmode

Hello,

Uwe Brauer <oub@mat.ucm.es> writes:

> Right in a org buffer! But not say in a message buffer, using
> orgalist-mode.

Orgalist minor mode is not Org mode. In particular, the former has no
knowledge about source blocks.

You can either indent the contents of the source block appropriately, or
use an ugly number cookie:

 1. Item 1
 3. [@3] Item 3

Regards,
-- 
Nicolas Goaziou


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-10-15 16:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-14 12:36 resume an interrupted enumerated list or reset the counter Uwe Brauer
2021-10-14 13:36 ` Ihor Radchenko
2021-10-14 20:51   ` Uwe Brauer
2021-10-15  8:24     ` Eric S Fraga
2021-10-15 14:46       ` Uwe Brauer
2021-10-15 16:21         ` Nicolas Goaziou

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.