From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Andreas_R=F6hler?= Newsgroups: gmane.emacs.help Subject: Re: Sorting on compound keys? Date: Mon, 13 Jun 2011 09:32:09 +0200 Message-ID: <4DF5BCF9.2000807@easy-emacs.de> References: <4DDC9A94.3080903@easy-emacs.de> <4DDDF2FA.2050201@easy-emacs.de> <4DE2A9F7.4040605@easy-emacs.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1307950447 23927 80.91.229.12 (13 Jun 2011 07:34:07 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 13 Jun 2011 07:34:07 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jun 13 09:34:04 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QW1eu-0001FF-1P for geh-help-gnu-emacs@m.gmane.org; Mon, 13 Jun 2011 09:34:04 +0200 Original-Received: from localhost ([::1]:43679 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QW1et-0004G4-8d for geh-help-gnu-emacs@m.gmane.org; Mon, 13 Jun 2011 03:34:03 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:34382) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QW1dF-0004Fw-8r for help-gnu-emacs@gnu.org; Mon, 13 Jun 2011 03:32:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QW1dE-0005T2-9t for help-gnu-emacs@gnu.org; Mon, 13 Jun 2011 03:32:21 -0400 Original-Received: from moutng.kundenserver.de ([212.227.17.10]:56525) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QW1dD-0005Sn-Ts for help-gnu-emacs@gnu.org; Mon, 13 Jun 2011 03:32:20 -0400 Original-Received: from [192.168.178.27] (brln-4db9f84c.pool.mediaWays.net [77.185.248.76]) by mrelayeu.kundenserver.de (node=mreu4) with ESMTP (Nemesis) id 0M4gBt-1PbYT72f5J-00yzbG; Mon, 13 Jun 2011 09:32:16 +0200 User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.17) Gecko/20110414 SUSE/3.1.10 Thunderbird/3.1.10 In-Reply-To: X-Provags-ID: V02:K0:lgdISTig+hMbZsQ8IvmNgGdZG1Y2Uwt7AQcXpVhp4an HpjtB14XXGvjZtDm8rcr6pjitX3ABRov0b6e/R9GoIkNMY/Hft R6HlXNC/OD/NYNxTFiyznjDeQqG4r9h8L6NuEnuwHbKQzIVcSb jhI2zg7zFDHBnReiDeT+5PSHPTDta0Y8AghTwh3ifbp2F+tqR9 WleNwWcOnf3TBznsfxmI6EaDh/s0F9l4GyM0j1xoRs= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 212.227.17.10 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:81337 Archived-At: Am 10.06.2011 02:26, schrieb Tim Landscheidt: [ ... ] >> 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), Thanks correcting that. Should have mentioned `sort-fields' instead.