emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: accept more version names in file-name-sans-versions


From: Juri Linkov
Subject: Re: accept more version names in file-name-sans-versions
Date: Thu, 20 Sep 2007 11:52:30 +0300
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux)

> 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~

-- 
Juri Linkov
http://www.jurta.org/emacs/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]