all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Reuben Thomas <rrt@sc3d.org>
To: 8159@debbugs.gnu.org
Subject: bug#8159: file-name-sans-version fails for some git files
Date: Wed, 2 Mar 2011 22:31:12 +0000	[thread overview]
Message-ID: <AANLkTin4iEre5pawwYjL7YV3PCmaHSg3waZj3L2r5eyE@mail.gmail.com> (raw)

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





             reply	other threads:[~2011-03-02 22:31 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-02 22:31 Reuben Thomas [this message]
2011-03-03  3:58 ` bug#8159: file-name-sans-version fails for some git files 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTin4iEre5pawwYjL7YV3PCmaHSg3waZj3L2r5eyE@mail.gmail.com \
    --to=rrt@sc3d.org \
    --cc=8159@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.