unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Tim Landscheidt <tim@tim-landscheidt.de>
To: help-gnu-emacs@gnu.org
Subject: Re: Sorting on compound keys?
Date: Fri, 10 Jun 2011 00:26:46 +0000	[thread overview]
Message-ID: <m3oc26sf95.fsf@passepartout.tim-landscheidt.de> (raw)
In-Reply-To: 4DE2A9F7.4040605@easy-emacs.de

Andreas Röhler <andreas.roehler@easy-emacs.de> wrote:

> you are right. It must not be done inside sort-subr, but on the top of it.

> BTW as sort-subr takes whitespace as field-delimiter, there
> is no way to get +A considered as two fields. Beside this
> limitation, code below should provide multiple-fields
> sorting.
> [...]

sort-subr allows arbitrary field definitions (as long as
they are literal, continuous parts of the buffer), but
Mark's article reminded me that not only the effect your
sort-multiple-fields has can be achieved with multiple calls
to sort-fields as well, but ...




  reply	other threads:[~2011-06-10  0:26 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-24 20:57 Sorting on compound keys? Tim Landscheidt
2011-05-25  5:58 ` Andreas Röhler
2011-05-25 22:08   ` Tim Landscheidt
2011-05-26  6:28     ` Andreas Röhler
2011-05-26 22:49       ` Tim Landscheidt
2011-05-29 20:17         ` Andreas Röhler
2011-06-10  0:26           ` Tim Landscheidt [this message]
2011-06-13  7:32             ` Andreas Röhler
2011-05-29 21:50 ` Mark Tilford
2011-06-10  0:27   ` Tim Landscheidt

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3oc26sf95.fsf@passepartout.tim-landscheidt.de \
    --to=tim@tim-landscheidt.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.
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).