From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Suggestion for org-sort Date: Thu, 13 Dec 2007 23:08:06 +0100 Message-ID: <5CE5B71E-B44E-447F-9AC5-CDF2C0C525FF@gmail.com> References: <5ea706d0712081311g5c6b5ecbo58025240a54fcd97@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v915) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J2wVS-000552-KS for emacs-orgmode@gnu.org; Thu, 13 Dec 2007 17:26:14 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J2wVR-00053q-0k for emacs-orgmode@gnu.org; Thu, 13 Dec 2007 17:26:14 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J2wVQ-00053e-TQ for emacs-orgmode@gnu.org; Thu, 13 Dec 2007 17:26:12 -0500 Received: from nf-out-0910.google.com ([64.233.182.188]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1J2wVQ-0000xh-Ha for emacs-orgmode@gnu.org; Thu, 13 Dec 2007 17:26:12 -0500 Received: by nf-out-0910.google.com with SMTP id f5so676795nfh.26 for ; Thu, 13 Dec 2007 14:26:12 -0800 (PST) In-Reply-To: <5ea706d0712081311g5c6b5ecbo58025240a54fcd97@mail.gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Chris Leyon Cc: emacs-orgmode@gnu.org On Dec 8, 2007, at 10:11 PM, Chris Leyon wrote: > I ran into this behavior while sorting table lines but it may happen > elsewhere too. In a nutshell, I'd like to alphabetical-sort (C-c ^ a) > > | alpha | > | [[file:beta][beta]] | > | gamma | > > into the order shown, but currently the "beta" line sorts less than > "alpha". I can't claim it's a bug--the behavior is > understandable--but perhaps the sort function can be enhanced to only > look at the link description, if present. This does make sense. However, I am planning to rewrite the sorting part for table anyway, making use of the sorting function John has recently introduced into Org-mode. So this is now on my list, put probably not yet for the next release. Thanks. - Carsten