From: Andreas Schwab <schwab@suse.de>
To: Dan Nicolaescu <dann@ics.uci.edu>
Cc: Juri Linkov <juri@jurta.org>, emacs-devel@gnu.org
Subject: Re: accept more version names in file-name-sans-versions
Date: Sat, 22 Sep 2007 10:52:18 +0200 [thread overview]
Message-ID: <jemyvfdqv1.fsf@sykes.suse.de> (raw)
In-Reply-To: <200709220214.l8M2ELRP010769@oogie-boogie.ics.uci.edu> (Dan Nicolaescu's message of "Fri\, 21 Sep 2007 19\:14\:21 -0700")
Dan Nicolaescu <dann@ics.uci.edu> writes:
> Juri Linkov <juri@jurta.org> writes:
>
> > > For a file file.c managed by git doing
> > > C-u C-x v = master RET
> > >
> > > will create the buffer file.c.~master~ with the major-mode
> > > fundamental-mode not c-mode.
> > >
> > > The reason is that file-name-sans-versions only looks for revision
> > > names matching ".~[0-9.]+~", so .~master~ does not match.
> > >
> > > Any reason not to add a-z to that regexp?
> >
> > Then please add also "-" since often the revision name contains it,
> > e.g. file.c.~multi-tty~ or file.c.~2007-09-20~
>
> Good idea, I made the changes on the EMACS_22_BASE branch.
Now if you are checking out revision EMACS_22_BASE it still does not
work. :-)
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
next prev parent reply other threads:[~2007-09-22 8:52 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-20 1:14 accept more version names in file-name-sans-versions Dan Nicolaescu
2007-09-20 8:52 ` Juri Linkov
2007-09-22 2:14 ` Dan Nicolaescu
2007-09-22 8:52 ` Andreas Schwab [this message]
2007-09-22 15:48 ` Richard Stallman
2007-09-22 16:00 ` Andreas Schwab
2007-09-23 15:05 ` Richard Stallman
2007-09-23 16:11 ` Andreas Schwab
2007-09-24 18:20 ` Richard Stallman
2007-09-22 16:20 ` Dan Nicolaescu
2007-09-22 16:31 ` Michaël Cadilhac
2007-09-22 17:52 ` Dan Nicolaescu
2007-09-22 20:02 ` Stefan Monnier
2007-09-22 20:04 ` Stefan Monnier
2007-09-23 16:14 ` Dan Nicolaescu
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=jemyvfdqv1.fsf@sykes.suse.de \
--to=schwab@suse.de \
--cc=dann@ics.uci.edu \
--cc=emacs-devel@gnu.org \
--cc=juri@jurta.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.