emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ian Barton <lists@manor-farm.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: Sorting of Lists Beginning with a Link Does Not Work as Expected
Date: Thu, 26 Nov 2009 09:30:13 +0000	[thread overview]
Message-ID: <4B0E4AA5.2020803@manor-farm.org> (raw)
In-Reply-To: <7E2E9477-3EAD-4437-8DA1-9E919A6EB369@gmail.com>

Carsten Dominik wrote:
> 
> On Nov 26, 2009, at 8:19 AM, Ian Barton wrote:
> 
>> Carsten Dominik wrote:
>>> On Nov 25, 2009, at 12:04 PM, Ian Barton wrote:
>>>> - [[./benighted_on_the_ben.html][Benighted on the Ben.]] A Winter 
>>>> ascent of Glover's Chimney almost leads to bed & breakfast on the 
>>>> summit of Ben Nevis.
>>>> - [[./route_major.html][Route Major.]] We get lost on the famous 
>>>> route on Mont Blanc's southern side.
>>>> - [[file:a_walk_in_the_berwyns.org][A Walk in the Berwyns]]  Just to 
>>>> show I don't always get lost.
>>>> - [[file:castell_helen_gogarth.org][Castell Helen Gogarth]]  Classic 
>>>> cliff with a cafe at the top!
>>>> - [[file:crowberry_left_fork.org][Crowberry Gully, Left Fork]] 
>>>> Buchaille Etive Mor. Much more fun than the ordinary straightforward 
>>>> route.
>>>> - [[file:first_pinnacle_rib_tryfan.org][First Pinaccle Rib Tryfan]] 
>>>> How not to go climbing with young children.
>>>>
>>>> Again I am not sure if this is expected behaviour. If I try to sort 
>>>> the above list using any of the available methods, it doesn't get 
>>>> sorted at all.
>>>>
>>>> Using alpha sort I would expect the list to sort starting with the 
>>>> link description and then to consider the rest of the text.
>>> Hi Ian,
>>> the sorting algorithm is not smart enough to analyze links, so this 
>>> will be sorted
>>> the the link URL, which it is.
>> Thanks. I'll sort them manually.
> 
> The sorting machine allow for a user-written function to compare 
> entries....
> 
Thanks. Time to dig out my regexp book.

Ian.

      reply	other threads:[~2009-11-26  9:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-25 11:04 Sorting of Lists Beginning with a Link Does Not Work as Expected Ian Barton
2009-11-26  6:21 ` Carsten Dominik
2009-11-26  7:19   ` Ian Barton
2009-11-26  9:04     ` Carsten Dominik
2009-11-26  9:30       ` Ian Barton [this message]

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.orgmode.org/

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

  git send-email \
    --in-reply-to=4B0E4AA5.2020803@manor-farm.org \
    --to=lists@manor-farm.org \
    --cc=emacs-orgmode@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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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).