From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Reuben Thomas Newsgroups: gmane.emacs.bugs Subject: bug#8159: file-name-sans-version fails for some git files Date: Wed, 2 Mar 2011 22:31:12 +0000 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1299105432 22434 80.91.229.12 (2 Mar 2011 22:37:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 2 Mar 2011 22:37:12 +0000 (UTC) To: 8159@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Mar 02 23:37:08 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PuufM-00076I-70 for geb-bug-gnu-emacs@m.gmane.org; Wed, 02 Mar 2011 23:37:08 +0100 Original-Received: from localhost ([127.0.0.1]:57144 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PuufL-000265-La for geb-bug-gnu-emacs@m.gmane.org; Wed, 02 Mar 2011 17:37:07 -0500 Original-Received: from [140.186.70.92] (port=36927 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Puuf8-00024F-Lp for bug-gnu-emacs@gnu.org; Wed, 02 Mar 2011 17:36:55 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Puuf6-0005Fk-M1 for bug-gnu-emacs@gnu.org; Wed, 02 Mar 2011 17:36:54 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47484) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Puuf6-0005Fc-KR for bug-gnu-emacs@gnu.org; Wed, 02 Mar 2011 17:36:52 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PuuaQ-0005Rg-Ej; Wed, 02 Mar 2011 17:32:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Reuben Thomas Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 02 Mar 2011 22:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 8159 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-emacs Original-Received: via spool by submit@debbugs.gnu.org id=B.129910508820888 (code B ref -1); Wed, 02 Mar 2011 22:32:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 2 Mar 2011 22:31:28 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PuuZr-0005Qr-IQ for submit@debbugs.gnu.org; Wed, 02 Mar 2011 17:31:27 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PuuZo-0005Qe-W0 for submit@debbugs.gnu.org; Wed, 02 Mar 2011 17:31:25 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PuuZj-0004Ow-4D for submit@debbugs.gnu.org; Wed, 02 Mar 2011 17:31:19 -0500 Original-Received: from lists.gnu.org ([199.232.76.165]:34106) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PuuZj-0004Os-1O for submit@debbugs.gnu.org; Wed, 02 Mar 2011 17:31:19 -0500 Original-Received: from [140.186.70.92] (port=38967 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PuuZi-00011p-0X for bug-gnu-emacs@gnu.org; Wed, 02 Mar 2011 17:31:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PuuZg-0004Oe-ST for bug-gnu-emacs@gnu.org; Wed, 02 Mar 2011 17:31:17 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]:32910) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PuuZg-0004Oa-R0 for bug-gnu-emacs@gnu.org; Wed, 02 Mar 2011 17:31:16 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:46628) by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1PuuZg-00051M-H7 for bug-emacs@gnu.org; Wed, 02 Mar 2011 17:31:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PuuZf-0004OR-1y for bug-emacs@gnu.org; Wed, 02 Mar 2011 17:31:16 -0500 Original-Received: from exprod7og127.obsmtp.com ([64.18.2.210]:35840) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1PuuZe-0004O2-QZ for bug-emacs@gnu.org; Wed, 02 Mar 2011 17:31:15 -0500 Original-Received: from source ([209.85.160.41]) (using TLSv1) by exprod7ob127.postini.com ([64.18.6.12]) with SMTP ID DSNKTW7FMHs7O26pn87B/numw3mccQ0xSi+u@postini.com; Wed, 02 Mar 2011 14:31:14 PST Original-Received: by pwi10 with SMTP id 10so121327pwi.28 for ; Wed, 02 Mar 2011 14:31:12 -0800 (PST) Original-Received: by 10.142.242.9 with SMTP id p9mr208178wfh.291.1299105072195; Wed, 02 Mar 2011 14:31:12 -0800 (PST) Original-Received: by 10.142.199.21 with HTTP; Wed, 2 Mar 2011 14:31:12 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 02 Mar 2011 17:32:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:44528 Archived-At: 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