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: Dan Nicolaescu
Subject: Re: accept more version names in file-name-sans-versions
Date: Fri, 21 Sep 2007 19:14:21 -0700

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.




reply via email to

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