GNU bug report logs - #8159
file-name-sans-version fails for some git files

Previous Next

Package: emacs;

Reported by: Reuben Thomas <rrt <at> sc3d.org>

Date: Wed, 2 Mar 2011 22:32:02 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


Message #20 received at 8159 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Reuben Thomas <rrt <at> sc3d.org>
Cc: 8159 <at> debbugs.gnu.org
Subject: Re: bug#8159: file-name-sans-version fails for some git files
Date: Thu, 03 Mar 2011 08:57:25 -0500
> Date: Thu, 3 Mar 2011 13:39:32 +0000
> From: Reuben Thomas <rrt <at> sc3d.org>
> Cc: 8159 <at> debbugs.gnu.org
> 
> On 3 March 2011 13:36, Eli Zaretskii <eliz <at> gnu.org> wrote:
> >
> > If you are okay with having foo.js~ as a simple backup file name of
> > foo.js.~HEAD~1~ and foo.js.~3~ as its numbered backup, then I see no
> > issues here.  I just wonder if that would surprise git users (I don't
> > use it too much, so I don't know).
> 
> Why would you have a backup of such a file?

Because vc-make-backup-files is set non-nil?

> It's a file visited with
> vc-revision-other-window, which is by default read-only.

Is that the only way to visit files with such names?

Anyway, your change is not limited to this particular situation, it is
more general.  It will affect any file of that form, anywhere.




This bug report was last modified 14 years and 84 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.