From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Bruce Korb" Newsgroups: gmane.emacs.bugs Subject: bug#508: emacs 22.2.1 becomes confused Date: Mon, 30 Jun 2008 11:12:57 -0700 Message-ID: <668c430c0806301112n18b68441sc7da5e42b451baa1@mail.gmail.com> References: <871w2evmfk.fsf@gmx.de> Reply-To: Bruce Korb , 508@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1214850461 22156 80.91.229.12 (30 Jun 2008 18:27:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 30 Jun 2008 18:27:41 +0000 (UTC) Cc: 508@emacsbugs.donarmstrong.com To: "Sven Joachim" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jun 30 20:28:26 2008 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.50) id 1KDO6r-000294-96 for geb-bug-gnu-emacs@m.gmane.org; Mon, 30 Jun 2008 20:28:18 +0200 Original-Received: from localhost ([127.0.0.1]:45151 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KDO5z-0006ot-Rr for geb-bug-gnu-emacs@m.gmane.org; Mon, 30 Jun 2008 14:27:23 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KDO5u-0006of-Ku for bug-gnu-emacs@gnu.org; Mon, 30 Jun 2008 14:27:18 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KDO5t-0006oQ-9M for bug-gnu-emacs@gnu.org; Mon, 30 Jun 2008 14:27:18 -0400 Original-Received: from [199.232.76.173] (port=47247 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KDO5t-0006oN-3l for bug-gnu-emacs@gnu.org; Mon, 30 Jun 2008 14:27:17 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:43129) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KDO5s-0007SD-7f for bug-gnu-emacs@gnu.org; Mon, 30 Jun 2008 14:27:16 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m5UIRC8n000389; Mon, 30 Jun 2008 11:27:12 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m5UIK3g5030579; Mon, 30 Jun 2008 11:20:03 -0700 X-Loop: don@donarmstrong.com Resent-From: "Bruce Korb" Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 30 Jun 2008 18:20:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 508 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 508-submit@emacsbugs.donarmstrong.com id=B508.121484958129335 (code B ref 508); Mon, 30 Jun 2008 18:20:03 +0000 Original-Received: (at 508) by emacsbugs.donarmstrong.com; 30 Jun 2008 18:13:01 +0000 Original-Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.29]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m5UICw3H029327 for <508@emacsbugs.donarmstrong.com>; Mon, 30 Jun 2008 11:12:59 -0700 Original-Received: by yx-out-2324.google.com with SMTP id 8so326016yxg.31 for <508@emacsbugs.donarmstrong.com>; Mon, 30 Jun 2008 11:12:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=YWWJQ4y5lZcg97dLdY/nY7obfDqcH8HONu/QhKJK6GI=; b=fbTECY5NjfT1CMCHRK7dWdxHXX+3tSmdlaCf7ghwOYmVOuN2RNVDBaxDhvqsGY5f/h 4sig+d4AY8EKhzW/GefWnLo5RIPTE8FpCXXdg6C4OtA4XGvnzGN9den1aTPAkbhssc4X m4H/yvPCz3rdMT9taYtBxfDEKXRO9/poMS384= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=Oi9WqpfSSw6rx7LooBt/+ruWCVyclzWdIEHYZDYit/T+qsJHMaU8Bp9KlbA5pCNZZt l2rhZUCLGZ1zGHBd0je92ojKL8yvsQl8Mpyoyi37qjEh9c4D4N24tY28eYqIwxupwR0q Dl6lLLWbIlbv3BMCybLj9h6ZFmK+D6AlVp+Nw= Original-Received: by 10.150.147.9 with SMTP id u9mr6769158ybd.193.1214849577634; Mon, 30 Jun 2008 11:12:57 -0700 (PDT) Original-Received: by 10.150.57.4 with HTTP; Mon, 30 Jun 2008 11:12:57 -0700 (PDT) In-Reply-To: <871w2evmfk.fsf@gmx.de> Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Mon, 30 Jun 2008 14:27:18 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list 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:18576 Archived-At: On Mon, Jun 30, 2008 at 10:53 AM, Sven Joachim wrote: > The following patch tries to take care of this by matching the home > directory case-sensitively on systems which usually have such > filesystems, could you please test it? Sure, but given you reproduced the problem and that this fixed it for you, I'm guessing it will work. Now, where does this file live? I know I can find it if I look hard enough, but the easy search only yielded /usr/share/emacs/22.2/lisp/files.elc Thanks - Bruce > --8<---------------cut here---------------start------------->8--- > --- files.el.~1.985.~ 2008-06-11 07:54:21.000000000 +0200 > +++ files.el 2008-06-30 19:37:37.000000000 +0200 > @@ -1412,7 +1412,10 @@ > (file-exists-p (file-name-directory > (substring filename (1- (match-end 0)))))) > (setq filename (substring filename (1- (match-end 0))))) > - (let ((tail directory-abbrev-alist)) > + (let ((tail directory-abbrev-alist) > + (case-fold-search > + (if (memq system-type '(ms-dos windows-nt darwin macos vax-vms axp-vms)) > + t nil))) > ;; If any elt of directory-abbrev-alist matches this name, > ;; abbreviate accordingly. > (while tail > --8<---------------cut here---------------end--------------->8---