[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: accept more version names in file-name-sans-versions
From: |
Andreas Schwab |
Subject: |
Re: accept more version names in file-name-sans-versions |
Date: |
Sat, 22 Sep 2007 10:52:18 +0200 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (gnu/linux) |
Dan Nicolaescu <address@hidden> writes:
> Juri Linkov <address@hidden> 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, address@hidden
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."
- accept more version names in file-name-sans-versions, Dan Nicolaescu, 2007/09/19
- Re: accept more version names in file-name-sans-versions, Juri Linkov, 2007/09/20
- Re: accept more version names in file-name-sans-versions, Dan Nicolaescu, 2007/09/21
- Re: accept more version names in file-name-sans-versions,
Andreas Schwab <=
- Re: accept more version names in file-name-sans-versions, Richard Stallman, 2007/09/22
- Re: accept more version names in file-name-sans-versions, Andreas Schwab, 2007/09/22
- Re: accept more version names in file-name-sans-versions, Richard Stallman, 2007/09/23
- Re: accept more version names in file-name-sans-versions, Andreas Schwab, 2007/09/23
- Re: accept more version names in file-name-sans-versions, Richard Stallman, 2007/09/24
- Re: accept more version names in file-name-sans-versions, Dan Nicolaescu, 2007/09/22
- Re: accept more version names in file-name-sans-versions, Michaël Cadilhac, 2007/09/22
- Re: accept more version names in file-name-sans-versions, Dan Nicolaescu, 2007/09/22
- Re: accept more version names in file-name-sans-versions, Stefan Monnier, 2007/09/22
- Re: accept more version names in file-name-sans-versions, Stefan Monnier, 2007/09/22