From: Andreas Politz <politza@fh-trier.de>
To: help-gnu-emacs@gnu.org
Subject: Re: Prioritized lists in Emacs?
Date: Wed, 27 Aug 2008 18:49:37 +0200 [thread overview]
Message-ID: <1219855922.469730@arno.fh-trier.de> (raw)
In-Reply-To: <g93t61$e4j$1@reader1.panix.com>
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
next prev parent reply other threads:[~2008-08-27 16:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-27 15:51 Prioritized lists in Emacs? kj
2008-08-27 16:49 ` Andreas Politz [this message]
2008-08-28 15:04 ` Christian Egli
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1219855922.469730@arno.fh-trier.de \
--to=politza@fh-trier.de \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.