all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Peter Dyballa <Peter_Dyballa@Web.DE>
To: "Dave Pawson" <dave.pawson@gmail.com>
Cc: emac <help-gnu-emacs@gnu.org>
Subject: Re: Sort data in buffer.
Date: Thu, 6 Sep 2007 11:48:01 +0200	[thread overview]
Message-ID: <5B437196-BB92-4E3D-8946-1BA203190301@Web.DE> (raw)
In-Reply-To: <711a73df0709060210w622da220xc18a8772b14ab90b@mail.gmail.com>


Am 06.09.2007 um 11:10 schrieb Dave Pawson:

> I.e. not really simple text. I want to sort it alphabetically  
> (ASCII based say),
> and I can't find out how?

There are three functions:

	• sort-lines
	• sort-regexp-fields
	• shell-command-on-region, which offers to use some command (chain)  
from your system.

The second option seems to be the most promising: you can mask out  
characters or character classes before sorting the remains.

--
Greetings

   Pete

Never be led astray onto the path of virtue

  reply	other threads:[~2007-09-06  9:48 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-06  9:10 Sort data in buffer Dave Pawson
2007-09-06  9:48 ` Peter Dyballa [this message]
     [not found] <mailman.407.1189069833.18990.help-gnu-emacs@gnu.org>
2007-09-06  9:31 ` Thien-Thi Nguyen
2007-09-06  9:49   ` Dave Pawson
     [not found]   ` <mailman.412.1189072188.18990.help-gnu-emacs@gnu.org>
2007-09-06 10:32     ` Thien-Thi Nguyen
2007-09-06  9:33 ` David Kastrup

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=5B437196-BB92-4E3D-8946-1BA203190301@Web.DE \
    --to=peter_dyballa@web.de \
    --cc=dave.pawson@gmail.com \
    --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.