all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: florian@fsavigny.de (Florian v. Savigny)
To: Sean McAfee <eefacm@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Is there a function to sort file names by file version number, like "ls -v"?
Date: Thu, 23 May 2013 16:01:28 -0400	[thread overview]
Message-ID: <E1UfbhU-0007vD-5J@eggs.gnu.org> (raw)
In-Reply-To: <bp8ehcxsg0y.fsf@usca1uw-JZWWPM1.sanmateo.corp.akamai.com> (message from Sean McAfee on Thu, 23 May 2013 11:33:01 -0700)


Hi Sean,

thanks so much for being so helpful!

  > I don't think so, but it's easy to write one:

You call that easy ... I'm wondering how long it took you? In any
case, I honestly admire you. (It only ever LOOKS easy when I try, but
it always ends up being complicated.)

  > (defun versioned-filename-lessp (a b)
  >   (labels ((parse (str)

I was wondering about these two functions, "labels" and "parse", but
emacs does not seem to know them either. Are you assuming that some
library is loaded, maybe? (I am using Emacs 24.3.1.)

Best regards, and thanks again,

Florian







  reply	other threads:[~2013-05-23 20:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.229.1369297314.22516.help-gnu-emacs@gnu.org>
2013-05-23 18:33 ` Is there a function to sort file names by file version number, like "ls -v"? Sean McAfee
2013-05-23 20:01   ` Florian v. Savigny [this message]
     [not found]   ` <mailman.283.1369339299.22516.help-gnu-emacs@gnu.org>
2013-05-23 20:18     ` Pascal J. Bourguignon
2013-05-23 20:28     ` Sean McAfee
2013-05-24 15:07       ` Florian v. Savigny
2013-05-23  8:21 Florian v. Savigny

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=E1UfbhU-0007vD-5J@eggs.gnu.org \
    --to=florian@fsavigny.de \
    --cc=eefacm@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.