unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Prioritized lists in Emacs?
@ 2008-08-27 15:51 kj
  2008-08-27 16:49 ` Andreas Politz
  2008-08-28 15:04 ` Christian Egli
  0 siblings, 2 replies; 3+ messages in thread
From: kj @ 2008-08-27 15:51 UTC (permalink / raw)
  To: help-gnu-emacs



I'm looking for Emacs support for prioritized (aka numbered) lists.
E.g.

  1) Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
     Maecenas erat. Nulla eu dolor id nisl rutrum cursus.

  2) Cras vel dui. Etiam placerat. Aenean ut felis vel sapien
     tincidunt consectetuer. Proin a sapien id velit consequat
     vulputate. Maecenas dignissim est.

  3) Suspendisse pellentesque lorem sed elit. Aenean eleifend dapibus
     lectus.

Ideally, I'd like for support of "re-numbering" and "insertions".  By
this I mean that if one modifies the above to something like

  3) Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
     Maecenas erat. Nulla eu dolor id nisl rutrum cursus.

  1) Cras vel dui. Etiam placerat. Aenean ut felis vel sapien
     tincidunt consectetuer. Proin a sapien id velit consequat
     vulputate. Maecenas dignissim est.

  2) Suspendisse pellentesque lorem sed elit. Aenean eleifend dapibus
     lectus.

  1.1) Vivamus nisi. Praesent iaculis.  Vestibulum facilisis metus
       ut nibh.

...then with a simple command one would be able to reorder the entries
to

  1) Cras vel dui. Etiam placerat. Aenean ut felis vel sapien
     tincidunt consectetuer. Proin a sapien id velit consequat
     vulputate. Maecenas dignissim est.

  1.1) Vivamus nisi. Praesent iaculis.  Vestibulum facilisis metus
       ut nibh.

  2) Suspendisse pellentesque lorem sed elit. Aenean eleifend dapibus
     lectus.

  3) Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
     Maecenas erat. Nulla eu dolor id nisl rutrum cursus.

...or even to

  1) Cras vel dui. Etiam placerat. Aenean ut felis vel sapien
     tincidunt consectetuer. Proin a sapien id velit consequat
     vulputate. Maecenas dignissim est.

  2) Vivamus nisi. Praesent iaculis.  Vestibulum facilisis metus ut
     nibh.

  3) Suspendisse pellentesque lorem sed elit. Aenean eleifend dapibus
     lectus.

  4) Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
     Maecenas erat. Nulla eu dolor id nisl rutrum cursus.


Is there support for this sort of thing in Emacs (possibly via some
additional module)?

TIA!

kynn

-- 
NOTE: In my address everything before the first period is backwards;
and the last period, and everything after it, should be discarded.


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

* Re: Prioritized lists in Emacs?
  2008-08-27 15:51 Prioritized lists in Emacs? kj
@ 2008-08-27 16:49 ` Andreas Politz
  2008-08-28 15:04 ` Christian Egli
  1 sibling, 0 replies; 3+ messages in thread
From: Andreas Politz @ 2008-08-27 16:49 UTC (permalink / raw)
  To: help-gnu-emacs

kj wrote:
> I'm looking for Emacs support for prioritized (aka numbered) lists.
> E.g.
> 
>   1) Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
>      Maecenas erat. Nulla eu dolor id nisl rutrum cursus.
> 
>   2) Cras vel dui. Etiam placerat. Aenean ut felis vel sapien
>      tincidunt consectetuer. Proin a sapien id velit consequat
>      vulputate. Maecenas dignissim est.
> 
>   3) Suspendisse pellentesque lorem sed elit. Aenean eleifend dapibus
>      lectus.
> 
> Ideally, I'd like for support of "re-numbering" and "insertions".  By
> this I mean that if one modifies the above to something like
> 
>   3) Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
>      Maecenas erat. Nulla eu dolor id nisl rutrum cursus.
> 
>   1) Cras vel dui. Etiam placerat. Aenean ut felis vel sapien
>      tincidunt consectetuer. Proin a sapien id velit consequat
>      vulputate. Maecenas dignissim est.
> 
>   2) Suspendisse pellentesque lorem sed elit. Aenean eleifend dapibus
>      lectus.
> 
>   1.1) Vivamus nisi. Praesent iaculis.  Vestibulum facilisis metus
>        ut nibh.
> 
> ...then with a simple command one would be able to reorder the entries
> to
> 
>   1) Cras vel dui. Etiam placerat. Aenean ut felis vel sapien
>      tincidunt consectetuer. Proin a sapien id velit consequat
>      vulputate. Maecenas dignissim est.
> 
>   1.1) Vivamus nisi. Praesent iaculis.  Vestibulum facilisis metus
>        ut nibh.
> 
>   2) Suspendisse pellentesque lorem sed elit. Aenean eleifend dapibus
>      lectus.
> 
>   3) Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
>      Maecenas erat. Nulla eu dolor id nisl rutrum cursus.
> 


The command `sort-paragraphs' should do this.

-ap


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

* Re: Prioritized lists in Emacs?
  2008-08-27 15:51 Prioritized lists in Emacs? kj
  2008-08-27 16:49 ` Andreas Politz
@ 2008-08-28 15:04 ` Christian Egli
  1 sibling, 0 replies; 3+ messages in thread
From: Christian Egli @ 2008-08-28 15:04 UTC (permalink / raw)
  To: help-gnu-emacs

kj <socyl@987jk.com.invalid> writes:

> I'm looking for Emacs support for prioritized (aka numbered) lists.

> Ideally, I'd like for support of "re-numbering" and "insertions".  By
> this I mean that if one modifies the above to something like

Have you looked at org-mode?

HTH
Christian





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

end of thread, other threads:[~2008-08-28 15:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-27 15:51 Prioritized lists in Emacs? kj
2008-08-27 16:49 ` Andreas Politz
2008-08-28 15:04 ` Christian Egli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).