From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Politz Newsgroups: gmane.emacs.help Subject: Re: Prioritized lists in Emacs? Date: Wed, 27 Aug 2008 18:49:37 +0200 Organization: FH-Trier Message-ID: <1219855922.469730@arno.fh-trier.de> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1219858861 5696 80.91.229.12 (27 Aug 2008 17:41:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 27 Aug 2008 17:41:01 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Aug 27 19:41:55 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KYP1g-00005I-EX for geh-help-gnu-emacs@m.gmane.org; Wed, 27 Aug 2008 19:41:48 +0200 Original-Received: from localhost ([127.0.0.1]:58031 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KYP0i-0000r4-22 for geh-help-gnu-emacs@m.gmane.org; Wed, 27 Aug 2008 13:40:48 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!newsfeed.straub-nv.de!newsfeed01.sul.t-online.de!t-online.de!news.belwue.de!news.uni-kl.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 51 Original-NNTP-Posting-Host: 143-93-54-11.arno.fh-trier.de Original-X-Trace: news.uni-kl.de 1219855920 9206 143.93.54.11 (27 Aug 2008 16:52:00 GMT) Original-X-Complaints-To: usenet@news.uni-kl.de Original-NNTP-Posting-Date: Wed, 27 Aug 2008 16:52:00 +0000 (UTC) User-Agent: Mozilla-Thunderbird 2.0.0.16 (X11/20080724) In-Reply-To: Cache-Post-Path: arno.fh-trier.de!unknown@dslb-088-068-204-086.pools.arcor-ip.net X-Cache: nntpcache 3.0.1 (see http://www.nntpcache.org/) Original-Xref: news.stanford.edu gnu.emacs.help:161689 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:57030 Archived-At: 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