unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#8159: file-name-sans-version fails for some git files
@ 2011-03-02 22:31 Reuben Thomas
  2011-03-03  3:58 ` Eli Zaretskii
  0 siblings, 1 reply; 19+ messages in thread
From: Reuben Thomas @ 2011-03-02 22:31 UTC (permalink / raw)
  To: 8159

filenames like foo.js.~HEAD~1~ aren't handled properly because of the
internal tilde.

This is easily fixable by adding tilde to the character class matched
against (in emacs-23 it's in the source of file-name-sans-version; in
the trunk it's in the more accessible file-name-version-regexp).

It seems to me that git is commonly-enough used that this is probably
worth fixing in the source rather than leaving to users who notice the
problem (especially in emacs-23, where it means redefining
file-name-sans-version).

-- 
http://rrt.sc3d.org





^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2011-03-05 20:36 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-02 22:31 bug#8159: file-name-sans-version fails for some git files Reuben Thomas
2011-03-03  3:58 ` Eli Zaretskii
2011-03-03 12:02   ` Reuben Thomas
2011-03-03 13:36     ` Eli Zaretskii
2011-03-03 13:39       ` Reuben Thomas
2011-03-03 13:57         ` Eli Zaretskii
2011-03-03 14:00           ` Reuben Thomas
2011-03-03 15:09           ` Andreas Schwab
2011-03-03 15:26             ` Reuben Thomas
2011-03-03 16:23               ` Andreas Schwab
2011-03-03 22:58                 ` Reuben Thomas
2011-03-04  7:55                   ` Eli Zaretskii
2011-03-05 16:42                     ` Reuben Thomas
2011-03-05 17:00                       ` Eli Zaretskii
2011-03-05 20:36                         ` Chong Yidong
2011-03-03 14:33       ` Andreas Schwab
2011-03-03 14:35         ` Reuben Thomas
2011-03-03 14:45           ` Andreas Schwab
2011-03-03 14:53             ` Reuben Thomas

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).