From unknown Sat Jun 21 10:43:05 2025 X-Loop: don@donarmstrong.com Subject: bug#508: emacs 22.2.1 becomes confused Reply-To: "Bruce Korb" , 508@debbugs.gnu.org Resent-From: "Bruce Korb" Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 30 Jun 2008 15:10:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 508 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.121483820014006 (code B ref -1); Mon, 30 Jun 2008 15:10:04 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-3.6 required=4.0 tests=BAYES_00,FOURLA, IMPRONONCABLE_1,MURPHY_WRONG_WORD1,MURPHY_WRONG_WORD2,RCVD_IN_DNSWL_LOW autolearn=no version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 30 Jun 2008 15:03:20 +0000 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m5UF3GPt014000 for ; Mon, 30 Jun 2008 08:03:18 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KDKuS-00028o-DL for bug-gnu-emacs@gnu.org; Mon, 30 Jun 2008 11:03:16 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KDKuQ-00027V-8b for bug-gnu-emacs@gnu.org; Mon, 30 Jun 2008 11:03:15 -0400 Received: from [199.232.76.173] (port=37032 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KDKuQ-00027R-00 for bug-gnu-emacs@gnu.org; Mon, 30 Jun 2008 11:03:14 -0400 Received: from wx-out-0506.google.com ([66.249.82.231]:43443) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KDKuP-000468-OL for bug-gnu-emacs@gnu.org; Mon, 30 Jun 2008 11:03:13 -0400 Received: by wx-out-0506.google.com with SMTP id h28so623148wxd.24 for ; Mon, 30 Jun 2008 08:03:12 -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:mime-version:content-type:content-transfer-encoding :content-disposition; bh=M5nVFzQGRywm3NMWIebmuHydsOHG3EfsI/nEEEKcg30=; b=SYS3AL08i+uw8FDmIkmgBIppL2t7eQALGtzdt09bo4EAUNhvRhklEUWcTYIeQcrdk0 R2QsA3apwPMJ+mcm+5uj6oZcQjF7CD1FWCIjknp/9vZeoRXv5SyuVU2I7lgfZd8Z0XS3 zWKvlAi9nhay2dRP9eU+wLnTQ8Gv3w2Bwdves= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:mime-version:content-type :content-transfer-encoding:content-disposition; b=dwpSyy7CyT0abapRmrfhwKoHfqV7u+JUZFQYhMJKBCwHDAFslsDOvFIqhmbuflBFFK QYWXZEctFdaDMaQnjbBUZ9rDSiAJwSeM1aKLHhzjMTkB9H/dFm9dhWPjGOxSP3yD2YCM 51N1nININVb4J9ox6x8p78Cf2npNK/gxmDCeM= Received: by 10.151.85.20 with SMTP id n20mr8602337ybl.52.1214838192343; Mon, 30 Jun 2008 08:03:12 -0700 (PDT) Received: by 10.150.57.4 with HTTP; Mon, 30 Jun 2008 08:03:12 -0700 (PDT) Message-ID: <668c430c0806300803o222328cdr6505dcbb5165c817@mail.gmail.com> Date: Mon, 30 Jun 2008 08:03:12 -0700 From: "Bruce Korb" To: bug-gnu-emacs@gnu.org Cc: "Bruce Korb" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Hi, I recently re-installed my system. For various reasons not worth going into here, I renamed my home directory from /home/foo to /home/Foo and re-created my "foo" user name. It is not possible to edit anything in the /home/Foo hierarchy with emacs. At all. I can cd to the correct directory and invoke "emacs file" and it will try to open the equivalently named file under /home/foo. Somebody somewhere fiddled some code such that tab-completion works correctly, but when it comes to actually "visiting" the file, the blasted thing substitutes "$HOME" for "/home/Foo". Someone please be kind enough to find that "strncasecmp" and replace it with "strncmp" and put out an emergency fix. Thank you. Regards, Bruce $ /usr/bin/emacs --version GNU Emacs 22.2.1 Copyright (C) 2008 Free Software Foundation, Inc. From unknown Sat Jun 21 10:43:05 2025 X-Loop: don@donarmstrong.com Subject: bug#508: emacs 22.2.1 becomes confused Reply-To: Sven Joachim , 508@debbugs.gnu.org Resent-From: Sven Joachim Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 30 Jun 2008 18:05:05 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 508 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 508-submit@emacsbugs.donarmstrong.com id=B508.121484871225059 (code B ref 508); Mon, 30 Jun 2008 18:05:05 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-4.4 required=4.0 tests=AWL,BAYES_00,FOURLA, HAS_BUG_NUMBER,IMPRONONCABLE_1,MURPHY_DRUGS_REL8,MURPHY_WRONG_WORD1, MURPHY_WRONG_WORD2 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 508) by emacsbugs.donarmstrong.com; 30 Jun 2008 17:58:32 +0000 Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with SMTP id m5UHwRgu025053 for <508@emacsbugs.donarmstrong.com>; Mon, 30 Jun 2008 10:58:29 -0700 Received: (qmail invoked by alias); 30 Jun 2008 17:58:21 -0000 Received: from p54863B6A.dip.t-dialin.net (EHLO debian) [84.134.59.106] by mail.gmx.net (mp026) with SMTP; 30 Jun 2008 19:58:21 +0200 X-Authenticated: #28250155 X-Provags-ID: V01U2FsdGVkX18yRtR0gK8yjiIBRAR89g7UTwC4zPziv/klrlCkup gbG64iTDcGFUVy From: Sven Joachim To: Bruce Korb Cc: 508@debbugs.gnu.org References: Date: Mon, 30 Jun 2008 19:53:51 +0200 In-Reply-To: (Bruce Korb's message of "Mon, 30 Jun 2008 08:03:12 -0700") Message-ID: <871w2evmfk.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Y-GMX-Trusted: 0 X-FuHaFi: 0.5 On 2008-06-30 17:03 +0200, Bruce Korb wrote: > I recently re-installed my system. For various reasons not worth > going into here, > I renamed my home directory from /home/foo to /home/Foo and re-created my > "foo" user name. It is not possible to edit anything in the /home/Foo hierarchy > with emacs. At all. I can cd to the correct directory and invoke "emacs file" > and it will try to open the equivalently named file under /home/foo. Somebody > somewhere fiddled some code such that tab-completion works correctly, but > when it comes to actually "visiting" the file, the blasted thing substitutes > "$HOME" for "/home/Foo". This is with HOME=/home/foo, I suppose? Because when I tried to reproduce it, I set $HOME to /home/Foo and files beneath /home/foo became inaccessible. > Someone please be kind enough to find that > "strncasecmp" and replace it with "strncmp" and put out an emergency fix. Actually, this is not a problem in the C code, but rather in Lisp, in the function abbreviate-file-name. 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? --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--- Changelog entry: 2008-06-30 Sven Joachim * files.el (abbreviate-file-name): Match the home directory case-sensitively on systems that have case-sensitive filesystems. Regards, Sven From unknown Sat Jun 21 10:43:05 2025 X-Loop: don@donarmstrong.com Subject: bug#508: emacs 22.2.1 becomes confused Reply-To: "Bruce Korb" , 508@debbugs.gnu.org Resent-From: "Bruce Korb" Resent-To: bug-submit-list@lists.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: Received: via spool by 508-submit@emacsbugs.donarmstrong.com id=B508.121484958129335 (code B ref 508); Mon, 30 Jun 2008 18:20:03 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-7.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER, MURPHY_DRUGS_REL8 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 508) by emacsbugs.donarmstrong.com; 30 Jun 2008 18:13:01 +0000 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 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= Received: by 10.150.147.9 with SMTP id u9mr6769158ybd.193.1214849577634; Mon, 30 Jun 2008 11:12:57 -0700 (PDT) Received: by 10.150.57.4 with HTTP; Mon, 30 Jun 2008 11:12:57 -0700 (PDT) Message-ID: <668c430c0806301112n18b68441sc7da5e42b451baa1@mail.gmail.com> Date: Mon, 30 Jun 2008 11:12:57 -0700 From: "Bruce Korb" To: "Sven Joachim" Cc: 508@debbugs.gnu.org In-Reply-To: <871w2evmfk.fsf@gmx.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <871w2evmfk.fsf@gmx.de> 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--- From unknown Sat Jun 21 10:43:05 2025 X-Loop: don@donarmstrong.com Subject: bug#508: emacs 22.2.1 becomes confused Reply-To: Eli Zaretskii , 508@debbugs.gnu.org Resent-From: Eli Zaretskii Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 30 Jun 2008 20:05:06 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 508 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.121485589022301 (code B ref -1); Mon, 30 Jun 2008 20:05:06 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-7.7 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, RCVD_IN_DNSWL_LOW autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 30 Jun 2008 19:58:10 +0000 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m5UJw0NI022295 for ; Mon, 30 Jun 2008 12:58:05 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KDPVc-00085s-Mt for bug-gnu-emacs@gnu.org; Mon, 30 Jun 2008 15:57:56 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KDPVZ-00084j-7O for bug-gnu-emacs@gnu.org; Mon, 30 Jun 2008 15:57:56 -0400 Received: from [199.232.76.173] (port=39737 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KDPVY-00084b-H8 for bug-gnu-emacs@gnu.org; Mon, 30 Jun 2008 15:57:53 -0400 Received: from mtaout6.012.net.il ([84.95.2.16]:17455) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KDPVX-0004fe-J5 for bug-gnu-emacs@gnu.org; Mon, 30 Jun 2008 15:57:52 -0400 Received: from HOME-C4E4A596F7 ([80.230.31.196]) by i-mtaout6.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0K3A00GQ0LH5FTA0@i-mtaout6.012.net.il> for bug-gnu-emacs@gnu.org; Mon, 30 Jun 2008 23:12:41 +0300 (IDT) Date: Mon, 30 Jun 2008 22:57:21 +0300 From: Eli Zaretskii In-reply-to: <871w2evmfk.fsf@gmx.de> X-012-Sender: halo1@inter.net.il To: Sven Joachim , 508@debbugs.gnu.org Cc: bruce.korb@gmail.com, bug-gnu-emacs@gnu.org Message-id: References: <871w2evmfk.fsf@gmx.de> X-detected-kernel: by monty-python.gnu.org: Solaris 10 (1203?) X-CrossAssassin-Score: 2 > From: Sven Joachim > Date: Mon, 30 Jun 2008 19:53:51 +0200 > Cc: 508@emacsbugs.donarmstrong.com > > + (case-fold-search > + (if (memq system-type '(ms-dos windows-nt darwin macos vax-vms axp-vms)) You forgot cygwin in this list. From unknown Sat Jun 21 10:43:05 2025 X-Loop: don@donarmstrong.com Subject: bug#508: emacs 22.2.1 becomes confused Reply-To: Eli Zaretskii , 508@debbugs.gnu.org Resent-From: Eli Zaretskii Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 30 Jun 2008 20:10:05 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 508 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.121485613323486 (code B ref -1); Mon, 30 Jun 2008 20:10:05 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.5 required=4.0 tests=AWL,BAYES_00,GMAIL, HAS_BUG_NUMBER,MURPHY_DRUGS_REL8,RCVD_IN_DNSWL_LOW,RCVD_IN_NIX1 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 30 Jun 2008 20:02:13 +0000 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m5UK29v2023478 for ; Mon, 30 Jun 2008 13:02:10 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KDPZg-0001At-TK for bug-gnu-emacs@gnu.org; Mon, 30 Jun 2008 16:02:09 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KDPZf-00019J-Dt for bug-gnu-emacs@gnu.org; Mon, 30 Jun 2008 16:02:07 -0400 Received: from [199.232.76.173] (port=50935 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KDPZf-000195-40 for bug-gnu-emacs@gnu.org; Mon, 30 Jun 2008 16:02:07 -0400 Received: from mtaout4.012.net.il ([84.95.2.10]:23111) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KDPZe-0005Ut-FY for bug-gnu-emacs@gnu.org; Mon, 30 Jun 2008 16:02:06 -0400 Received: from HOME-C4E4A596F7 ([80.230.31.196]) by i_mtaout4.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0K3A00HTBLO9NTO1@i_mtaout4.012.net.il> for bug-gnu-emacs@gnu.org; Mon, 30 Jun 2008 23:16:58 +0300 (IDT) Date: Mon, 30 Jun 2008 23:01:37 +0300 From: Eli Zaretskii In-reply-to: <668c430c0806301112n18b68441sc7da5e42b451baa1@mail.gmail.com> X-012-Sender: halo1@inter.net.il To: Bruce Korb , 508@debbugs.gnu.org Cc: svenjoac@gmx.de, bug-gnu-emacs@gnu.org Message-id: References: <871w2evmfk.fsf@gmx.de> <668c430c0806301112n18b68441sc7da5e42b451baa1@mail.gmail.com> X-detected-kernel: by monty-python.gnu.org: Solaris 9.1 > Date: Mon, 30 Jun 2008 11:12:57 -0700 > From: "Bruce Korb" > Cc: 508@emacsbugs.donarmstrong.com > > 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 You probably didn't installed the Lisp sources. But don't hurry to do that yet: files.el is preloaded into Emacs, so to make that change you will have to rebuild Emacs, not just patch files.el. From unknown Sat Jun 21 10:43:05 2025 X-Loop: don@donarmstrong.com Subject: bug#508: emacs 22.2.1 becomes confused Reply-To: Sven Joachim , 508@debbugs.gnu.org Resent-From: Sven Joachim Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 30 Jun 2008 20:25:05 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 508 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 508-submit@emacsbugs.donarmstrong.com id=B508.121485712627820 (code B ref 508); Mon, 30 Jun 2008 20:25:05 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-5.2 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 508) by emacsbugs.donarmstrong.com; 30 Jun 2008 20:18:46 +0000 Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with SMTP id m5UKIdi7027814 for <508@emacsbugs.donarmstrong.com>; Mon, 30 Jun 2008 13:18:41 -0700 Received: (qmail invoked by alias); 30 Jun 2008 20:18:33 -0000 Received: from p54863E78.dip.t-dialin.net (EHLO debian) [84.134.62.120] by mail.gmx.net (mp065) with SMTP; 30 Jun 2008 22:18:33 +0200 X-Authenticated: #28250155 X-Provags-ID: V01U2FsdGVkX1/XbWB4DHvXsdTkqarAGwB8sgqLPffZwyVEpGLjTG gcf8pvgGhRr5Hz From: Sven Joachim To: Eli Zaretskii Cc: 508@debbugs.gnu.org, bruce.korb@gmail.com References: <871w2evmfk.fsf@gmx.de> Date: Mon, 30 Jun 2008 22:14:02 +0200 In-Reply-To: (Eli Zaretskii's message of "Mon, 30 Jun 2008 22:57:21 +0300") Message-ID: <8763rqu1dh.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Y-GMX-Trusted: 0 X-FuHaFi: 0.63 On 2008-06-30 21:57 +0200, Eli Zaretskii wrote: >> From: Sven Joachim >> Date: Mon, 30 Jun 2008 19:53:51 +0200 >> Cc: 508@emacsbugs.donarmstrong.com >> >> + (case-fold-search >> + (if (memq system-type '(ms-dos windows-nt darwin macos vax-vms axp-vms)) > > You forgot cygwin in this list. I just pasted the list from the read-file-name-completion-ignore-case defcustom in minibuffer.el. Should that list include cygwin as well? Sven From unknown Sat Jun 21 10:43:05 2025 X-Loop: don@donarmstrong.com Subject: bug#508: emacs 22.2.1 becomes confused Reply-To: "Lennart Borgman (gmail)" , 508@debbugs.gnu.org Resent-From: "Lennart Borgman (gmail)" Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 30 Jun 2008 20:40:06 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 508 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 508-submit@emacsbugs.donarmstrong.com id=B508.121485781530761 (code B ref 508); Mon, 30 Jun 2008 20:40:06 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.4 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, RCVD_IN_DNSWL_LOW autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 508) by emacsbugs.donarmstrong.com; 30 Jun 2008 20:30:15 +0000 Received: from ch-smtp02.sth.basefarm.net (ch-smtp02.sth.basefarm.net [80.76.149.213]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m5UKUBsq030755 for <508@emacsbugs.donarmstrong.com>; Mon, 30 Jun 2008 13:30:12 -0700 Received: from c83-254-145-59.bredband.comhem.se ([83.254.145.59]:64711 helo=[127.0.0.1]) by ch-smtp02.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1KDQ0o-000825-7n; Mon, 30 Jun 2008 22:30:11 +0200 Message-ID: <4869424B.3050806@gmail.com> Date: Mon, 30 Jun 2008 22:30:03 +0200 From: "Lennart Borgman (gmail)" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 MIME-Version: 1.0 To: Sven Joachim , 508@debbugs.gnu.org CC: Eli Zaretskii , bruce.korb@gmail.com References: <871w2evmfk.fsf@gmx.de> <8763rqu1dh.fsf@gmx.de> In-Reply-To: <8763rqu1dh.fsf@gmx.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 080630-0, 2008-06-30), Outbound message X-Antivirus-Status: Clean X-Originating-IP: 83.254.145.59 X-Scan-Result: No virus found in message 1KDQ0o-000825-7n. X-Scan-Signature: ch-smtp02.sth.basefarm.net 1KDQ0o-000825-7n 987b29ca6534b4748ae96e11da64f02e Sven Joachim wrote: > On 2008-06-30 21:57 +0200, Eli Zaretskii wrote: > >>> From: Sven Joachim >>> Date: Mon, 30 Jun 2008 19:53:51 +0200 >>> Cc: 508@emacsbugs.donarmstrong.com >>> >>> + (case-fold-search >>> + (if (memq system-type '(ms-dos windows-nt darwin macos vax-vms axp-vms)) >> You forgot cygwin in this list. > > I just pasted the list from the read-file-name-completion-ignore-case > defcustom in minibuffer.el. Should that list include cygwin as well? Shouldn't these things be defsubt so that it easier to change and maintain? From unknown Sat Jun 21 10:43:05 2025 X-Loop: don@donarmstrong.com Subject: bug#508: emacs 22.2.1 becomes confused Reply-To: Eli Zaretskii , 508@debbugs.gnu.org Resent-From: Eli Zaretskii Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 01 Jul 2008 03:05:05 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 508 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 508-submit@emacsbugs.donarmstrong.com id=B508.121488117329312 (code B ref 508); Tue, 01 Jul 2008 03:05:05 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-5.8 required=4.0 tests=AWL,BAYES_00,GMAIL, HAS_BUG_NUMBER,RCVD_IN_NIX1 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 508) by emacsbugs.donarmstrong.com; 1 Jul 2008 02:59:33 +0000 Received: from mtaout6.012.net.il (mtaout6.012.net.il [84.95.2.16]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m612xTNW029306 for <508@emacsbugs.donarmstrong.com>; Mon, 30 Jun 2008 19:59:30 -0700 Received: from HOME-C4E4A596F7 ([80.230.31.196]) by i-mtaout6.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0K3B0010N4ZKDTT1@i-mtaout6.012.net.il> for 508@emacsbugs.donarmstrong.com; Tue, 01 Jul 2008 06:14:09 +0300 (IDT) Date: Tue, 01 Jul 2008 05:58:48 +0300 From: Eli Zaretskii In-reply-to: <8763rqu1dh.fsf@gmx.de> X-012-Sender: halo1@inter.net.il To: Sven Joachim Cc: 508@debbugs.gnu.org, bruce.korb@gmail.com Message-id: References: <871w2evmfk.fsf@gmx.de> <8763rqu1dh.fsf@gmx.de> > From: Sven Joachim > Cc: 508@emacsbugs.donarmstrong.com, bruce.korb@gmail.com > Date: Mon, 30 Jun 2008 22:14:02 +0200 > > On 2008-06-30 21:57 +0200, Eli Zaretskii wrote: > > >> From: Sven Joachim > >> Date: Mon, 30 Jun 2008 19:53:51 +0200 > >> Cc: 508@emacsbugs.donarmstrong.com > >> > >> + (case-fold-search > >> + (if (memq system-type '(ms-dos windows-nt darwin macos vax-vms axp-vms)) > > > > You forgot cygwin in this list. > > I just pasted the list from the read-file-name-completion-ignore-case > defcustom in minibuffer.el. Should that list include cygwin as well? Yes, I think so. From unknown Sat Jun 21 10:43:05 2025 X-Loop: don@donarmstrong.com Subject: bug#508: emacs 22.2.1 becomes confused Reply-To: Eli Zaretskii , 508@debbugs.gnu.org Resent-From: Eli Zaretskii Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 01 Jul 2008 03:10:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 508 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 508-submit@emacsbugs.donarmstrong.com id=B508.121488129530482 (code B ref 508); Tue, 01 Jul 2008 03:10:04 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.5 required=4.0 tests=AWL,BAYES_00,GMAIL, HAS_BUG_NUMBER autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 508) by emacsbugs.donarmstrong.com; 1 Jul 2008 03:01:35 +0000 Received: from mtaout7.012.net.il (mtaout7.012.net.il [84.95.2.19]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m6131T7C030476 for <508@emacsbugs.donarmstrong.com>; Mon, 30 Jun 2008 20:01:30 -0700 Received: from HOME-C4E4A596F7 ([80.230.31.196]) by i-mtaout7.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0K3B0035O3L5HWB0@i-mtaout7.012.net.il> for 508@emacsbugs.donarmstrong.com; Tue, 01 Jul 2008 05:43:53 +0300 (IDT) Date: Tue, 01 Jul 2008 06:00:27 +0300 From: Eli Zaretskii In-reply-to: <4869424B.3050806@gmail.com> X-012-Sender: halo1@inter.net.il To: "Lennart Borgman (gmail)" Cc: svenjoac@gmx.de, 508@debbugs.gnu.org, bruce.korb@gmail.com Message-id: References: <871w2evmfk.fsf@gmx.de> <8763rqu1dh.fsf@gmx.de> <4869424B.3050806@gmail.com> > Date: Mon, 30 Jun 2008 22:30:03 +0200 > From: "Lennart Borgman (gmail)" > CC: Eli Zaretskii , bruce.korb@gmail.com > > Sven Joachim wrote: > > On 2008-06-30 21:57 +0200, Eli Zaretskii wrote: > > > >>> From: Sven Joachim > >>> Date: Mon, 30 Jun 2008 19:53:51 +0200 > >>> Cc: 508@emacsbugs.donarmstrong.com > >>> > >>> + (case-fold-search > >>> + (if (memq system-type '(ms-dos windows-nt darwin macos vax-vms axp-vms)) > >> You forgot cygwin in this list. > > > > I just pasted the list from the read-file-name-completion-ignore-case > > defcustom in minibuffer.el. Should that list include cygwin as well? > > > Shouldn't these things be defsubt so that it easier to change and maintain? I'm not sure I understand what you are suggesting. Please explain. From unknown Sat Jun 21 10:43:05 2025 X-Loop: don@donarmstrong.com Subject: bug#508: emacs 22.2.1 becomes confused Reply-To: Kevin Rodgers , 508@debbugs.gnu.org Resent-From: Kevin Rodgers Original-Sender: news Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 01 Jul 2008 04:05:06 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 508 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.121488462011769 (code B ref -1); Tue, 01 Jul 2008 04:05:06 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-7.7 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, RCVD_IN_DNSWL_LOW autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 1 Jul 2008 03:57:00 +0000 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m613utad011763 for ; Mon, 30 Jun 2008 20:56:57 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KDWz8-0007bJ-Uf for bug-gnu-emacs@gnu.org; Mon, 30 Jun 2008 23:56:54 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KDWz7-0007Zz-Hy for bug-gnu-emacs@gnu.org; Mon, 30 Jun 2008 23:56:53 -0400 Received: from [199.232.76.173] (port=59640 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KDWz7-0007Zo-EL for bug-gnu-emacs@gnu.org; Mon, 30 Jun 2008 23:56:53 -0400 Received: from main.gmane.org ([80.91.229.2]:54474 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KDWz7-0007Ti-7b for bug-gnu-emacs@gnu.org; Mon, 30 Jun 2008 23:56:53 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KDWyz-0005gp-38 for bug-gnu-emacs@gnu.org; Tue, 01 Jul 2008 03:56:45 +0000 Received: from c-67-190-29-163.hsd1.co.comcast.net ([67.190.29.163]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 01 Jul 2008 03:56:45 +0000 Received: from kevin.d.rodgers by c-67-190-29-163.hsd1.co.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 01 Jul 2008 03:56:45 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: bug-gnu-emacs@gnu.org From: Kevin Rodgers Date: Mon, 30 Jun 2008 21:56:33 -0600 Lines: 22 Message-ID: References: <871w2evmfk.fsf@gmx.de> <8763rqu1dh.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-67-190-29-163.hsd1.co.comcast.net User-Agent: Thunderbird 2.0.0.14 (Macintosh/20080421) In-Reply-To: <8763rqu1dh.fsf@gmx.de> Sender: news X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Sven Joachim wrote: > On 2008-06-30 21:57 +0200, Eli Zaretskii wrote: > >>> From: Sven Joachim >>> Date: Mon, 30 Jun 2008 19:53:51 +0200 >>> Cc: 508@emacsbugs.donarmstrong.com >>> >>> + (case-fold-search >>> + (if (memq system-type '(ms-dos windows-nt darwin macos vax-vms axp-vms)) >> You forgot cygwin in this list. > > I just pasted the list from the read-file-name-completion-ignore-case > defcustom in minibuffer.el. Why not bind case-fold-search to the value of read-file-name-completion-ignore-case there? > Should that list include cygwin as well? -- Kevin Rodgers Denver, Colorado, USA From unknown Sat Jun 21 10:43:05 2025 X-Loop: don@donarmstrong.com Subject: bug#508: emacs 22.2.1 becomes confused Reply-To: Sven Joachim , 508@debbugs.gnu.org Resent-From: Sven Joachim Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 01 Jul 2008 06:40:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 508 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 508-submit@emacsbugs.donarmstrong.com id=B508.121489396417914 (code B ref 508); Tue, 01 Jul 2008 06:40:04 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-4.9 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, MONOTONE_WORDS_2_15 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 508) by emacsbugs.donarmstrong.com; 1 Jul 2008 06:32:44 +0000 Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with SMTP id m616WeEi017908 for <508@emacsbugs.donarmstrong.com>; Mon, 30 Jun 2008 23:32:41 -0700 Received: (qmail invoked by alias); 01 Jul 2008 06:32:34 -0000 Received: from p54864D04.dip.t-dialin.net (EHLO debian) [84.134.77.4] by mail.gmx.net (mp026) with SMTP; 01 Jul 2008 08:32:34 +0200 X-Authenticated: #28250155 X-Provags-ID: V01U2FsdGVkX1+xaDktyVax4N+uYa2yoBkpPHyPZxqhWn7yGHhx77 FV5/7gKz61Befp From: Sven Joachim To: Kevin Rodgers Cc: 508@debbugs.gnu.org References: <871w2evmfk.fsf@gmx.de> <8763rqu1dh.fsf@gmx.de> Date: Tue, 01 Jul 2008 08:28:07 +0200 In-Reply-To: (Kevin Rodgers's message of "Mon, 30 Jun 2008 21:56:33 -0600") Message-ID: <87fxqu6ruw.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Y-GMX-Trusted: 0 X-FuHaFi: 0.6 On 2008-07-01 05:56 +0200, Kevin Rodgers wrote: > Sven Joachim wrote: >> On 2008-06-30 21:57 +0200, Eli Zaretskii wrote: >> >>>> From: Sven Joachim >>>> Date: Mon, 30 Jun 2008 19:53:51 +0200 >>>> Cc: 508@emacsbugs.donarmstrong.com >>>> >>>> + (case-fold-search >>>> + (if (memq system-type '(ms-dos windows-nt darwin macos vax-vms axp-vms)) >>> You forgot cygwin in this list. >> >> I just pasted the list from the read-file-name-completion-ignore-case >> defcustom in minibuffer.el. > > Why not bind case-fold-search to the value of > read-file-name-completion-ignore-case there? That would be wrong, IMO. Users may or may not prefer filename completion to be case sensitive regardless of their filesystems, but the code in question really depends on the actual feature of the filesystem. There could be a new defvar (or defconst), like this: (defvar case-insensitive-systems-alist '(ms-dos windows-nt cygwin darwin macos vax-vms axp-vms) "List of systems who have case insensitive filesystems.") which could then be used in code that depends on the filesystem being case sensitive or not, and in the read-file-name-completion-ignore-case defcustom as well. Sven From unknown Sat Jun 21 10:43:05 2025 X-Loop: don@donarmstrong.com Subject: bug#508: emacs 22.2.1 becomes confused Reply-To: Stefan Monnier , 508@debbugs.gnu.org Resent-From: Stefan Monnier Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 03 Jul 2008 05:05:05 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 508 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 508-submit@emacsbugs.donarmstrong.com id=B508.121506090825101 (code B ref 508); Thu, 03 Jul 2008 05:05:05 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-3.5 required=4.0 tests=AWL,BAYES_00,FOURLA, HAS_BUG_NUMBER,HELO_LH_HOME,RDNS_DYNAMIC autolearn=no version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 508) by emacsbugs.donarmstrong.com; 3 Jul 2008 04:55:08 +0000 Received: from ceviche.home (69-196-135-70.dsl.teksavvy.com [69.196.135.70]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m634t3ef024871 for <508@emacsbugs.donarmstrong.com>; Wed, 2 Jul 2008 21:55:05 -0700 Received: by ceviche.home (Postfix, from userid 20848) id C6823B420A; Thu, 3 Jul 2008 00:54:57 -0400 (EDT) From: Stefan Monnier To: Sven Joachim Cc: 508@debbugs.gnu.org, Kevin Rodgers Message-ID: References: <871w2evmfk.fsf@gmx.de> <8763rqu1dh.fsf@gmx.de> <87fxqu6ruw.fsf@gmx.de> Date: Thu, 03 Jul 2008 00:54:57 -0400 In-Reply-To: <87fxqu6ruw.fsf@gmx.de> (Sven Joachim's message of "Tue, 01 Jul 2008 08:28:07 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > There could be a new defvar (or defconst), like this: > (defvar case-insensitive-systems-alist > '(ms-dos windows-nt cygwin darwin macos vax-vms axp-vms) > "List of systems who have case insensitive filesystems.") Actually, it should not be a variable but a function (and even a file-name operation, obeying file-name-handlers): (directory-case-sensitive-p FILE) -- Stefan From unknown Sat Jun 21 10:43:05 2025 X-Loop: don@donarmstrong.com Subject: bug#508: emacs 22.2.1 becomes confused Reply-To: Eli Zaretskii , 508@debbugs.gnu.org Resent-From: Eli Zaretskii Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 04 Jul 2008 10:15: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: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12151659163512 (code B ref -1); Fri, 04 Jul 2008 10:15:03 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.4 required=4.0 tests=AWL,BAYES_00,FOURLA,GMAIL, HAS_BUG_NUMBER,RCVD_IN_DNSWL_LOW autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 4 Jul 2008 10:05:16 +0000 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m64A5Bft003217 for ; Fri, 4 Jul 2008 03:05:12 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KEiAA-0002W4-6H for bug-gnu-emacs@gnu.org; Fri, 04 Jul 2008 06:05:10 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KEiA7-0002V9-Ns for bug-gnu-emacs@gnu.org; Fri, 04 Jul 2008 06:05:08 -0400 Received: from [199.232.76.173] (port=60541 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KEiA6-0002Ut-5X for bug-gnu-emacs@gnu.org; Fri, 04 Jul 2008 06:05:06 -0400 Received: from mtaout5.012.net.il ([84.95.2.13]:57061) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KEiA5-00089Q-OQ for bug-gnu-emacs@gnu.org; Fri, 04 Jul 2008 06:05:05 -0400 Received: from HOME-C4E4A596F7 ([77.126.76.119]) by i_mtaout5.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0K3H00LSM8OV8KA2@i_mtaout5.012.net.il> for bug-gnu-emacs@gnu.org; Fri, 04 Jul 2008 13:19:44 +0300 (IDT) Date: Fri, 04 Jul 2008 13:04:22 +0300 From: Eli Zaretskii In-reply-to: X-012-Sender: halo1@inter.net.il To: Stefan Monnier , 508@debbugs.gnu.org Cc: svenjoac@gmx.de, kevin.d.rodgers@gmail.com, 508@debbugs.gnu.org, bug-gnu-emacs@gnu.org Message-id: References: <871w2evmfk.fsf@gmx.de> <8763rqu1dh.fsf@gmx.de> <87fxqu6ruw.fsf@gmx.de> X-detected-kernel: by monty-python.gnu.org: Solaris 9.1 > Resent-From: Stefan Monnier > Resent-To: bug-submit-list@donarmstrong.com > Resent-CC: Emacs Bugs > Resent-Sender: don@donarmstrong.com > From: Stefan Monnier > Date: Thu, 03 Jul 2008 00:54:57 -0400 > Cc: Kevin Rodgers , 508@emacsbugs.donarmstrong.com > > > There could be a new defvar (or defconst), like this: > > > (defvar case-insensitive-systems-alist > > '(ms-dos windows-nt cygwin darwin macos vax-vms axp-vms) > > "List of systems who have case insensitive filesystems.") > > Actually, it should not be a variable but a function (and even > a file-name operation, obeying file-name-handlers): > > (directory-case-sensitive-p FILE) 100% agreement: with the proliferation of network-mounted filesystems, there's no longer a deterministic way to infer whether a filesystem is case-sensitive or not from the OS brand. Instead, we should query the filesystem about that, and the function suggested by Stefan should do that (when there're no file-name-handlers for the filesystem). From unknown Sat Jun 21 10:43:05 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: don@donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: "Bruce Korb" Subject: bug#508 closed by Chong Yidong (Re: bug#508: emacs 22.2.1 becomes confused) Message-ID: References: <87iquleoto.fsf@stupidchicken.com> <668c430c0806300803o222328cdr6505dcbb5165c817@mail.gmail.com> X-Emacs-PR-Message: they-closed 508 X-Emacs-PR-Package: emacs Reply-To: 508@debbugs.gnu.org Content-Type: multipart/mixed; boundary="----------=_1217539505-3515-1" This is a multi-part message in MIME format... ------------=_1217539505-3515-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs package: #508: emacs 22.2.1 becomes confused It has been closed by Chong Yidong . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Chong Yidong by replying to this email. --=20 508: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D508 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1217539505-3515-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit >From cyd@stupidchicken.com Thu Jul 31 14:17:14 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-4.5 required=4.0 tests=AWL,BAYES_00,FOURLA, HAS_BUG_NUMBER,MURPHY_DRUGS_REL8 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 508-done) by emacsbugs.donarmstrong.com; 31 Jul 2008 21:17:15 +0000 Received: from cyd (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m6VLHBFL002102 for <508-done@emacsbugs.donarmstrong.com>; Thu, 31 Jul 2008 14:17:12 -0700 Received: by cyd (Postfix, from userid 1000) id 59F1457E333; Thu, 31 Jul 2008 17:17:10 -0400 (EDT) From: Chong Yidong To: 508-done@debbugs.gnu.org Subject: Re: bug#508: emacs 22.2.1 becomes confused Date: Thu, 31 Jul 2008 17:17:07 -0400 Message-ID: <87iquleoto.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Since no one has offered to write a directory-case-sensitive-p function, I've checked in Sven's first, simpler patch. Even if it doesn't do the completely right thing in the failure case (e.g., a vfat home directory on GNU/Linux), all that does is fail to replace $HOME with ~, which is hardly fatal. After the release, if someone wants to write directory-case-sensitive-p, we can switch to that. ------------=_1217539505-3515-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit >From bruce.korb@gmail.com Mon Jun 30 08:03:20 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-3.6 required=4.0 tests=BAYES_00,FOURLA, IMPRONONCABLE_1,MURPHY_WRONG_WORD1,MURPHY_WRONG_WORD2,RCVD_IN_DNSWL_LOW autolearn=no version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 30 Jun 2008 15:03:20 +0000 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m5UF3GPt014000 for ; Mon, 30 Jun 2008 08:03:18 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KDKuS-00028o-DL for bug-gnu-emacs@gnu.org; Mon, 30 Jun 2008 11:03:16 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KDKuQ-00027V-8b for bug-gnu-emacs@gnu.org; Mon, 30 Jun 2008 11:03:15 -0400 Received: from [199.232.76.173] (port=37032 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KDKuQ-00027R-00 for bug-gnu-emacs@gnu.org; Mon, 30 Jun 2008 11:03:14 -0400 Received: from wx-out-0506.google.com ([66.249.82.231]:43443) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KDKuP-000468-OL for bug-gnu-emacs@gnu.org; Mon, 30 Jun 2008 11:03:13 -0400 Received: by wx-out-0506.google.com with SMTP id h28so623148wxd.24 for ; Mon, 30 Jun 2008 08:03:12 -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:mime-version:content-type:content-transfer-encoding :content-disposition; bh=M5nVFzQGRywm3NMWIebmuHydsOHG3EfsI/nEEEKcg30=; b=SYS3AL08i+uw8FDmIkmgBIppL2t7eQALGtzdt09bo4EAUNhvRhklEUWcTYIeQcrdk0 R2QsA3apwPMJ+mcm+5uj6oZcQjF7CD1FWCIjknp/9vZeoRXv5SyuVU2I7lgfZd8Z0XS3 zWKvlAi9nhay2dRP9eU+wLnTQ8Gv3w2Bwdves= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:mime-version:content-type :content-transfer-encoding:content-disposition; b=dwpSyy7CyT0abapRmrfhwKoHfqV7u+JUZFQYhMJKBCwHDAFslsDOvFIqhmbuflBFFK QYWXZEctFdaDMaQnjbBUZ9rDSiAJwSeM1aKLHhzjMTkB9H/dFm9dhWPjGOxSP3yD2YCM 51N1nININVb4J9ox6x8p78Cf2npNK/gxmDCeM= Received: by 10.151.85.20 with SMTP id n20mr8602337ybl.52.1214838192343; Mon, 30 Jun 2008 08:03:12 -0700 (PDT) Received: by 10.150.57.4 with HTTP; Mon, 30 Jun 2008 08:03:12 -0700 (PDT) Message-ID: <668c430c0806300803o222328cdr6505dcbb5165c817@mail.gmail.com> Date: Mon, 30 Jun 2008 08:03:12 -0700 From: "Bruce Korb" To: bug-gnu-emacs@gnu.org Subject: emacs 22.2.1 becomes confused Cc: "Bruce Korb" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Hi, I recently re-installed my system. For various reasons not worth going into here, I renamed my home directory from /home/foo to /home/Foo and re-created my "foo" user name. It is not possible to edit anything in the /home/Foo hierarchy with emacs. At all. I can cd to the correct directory and invoke "emacs file" and it will try to open the equivalently named file under /home/foo. Somebody somewhere fiddled some code such that tab-completion works correctly, but when it comes to actually "visiting" the file, the blasted thing substitutes "$HOME" for "/home/Foo". Someone please be kind enough to find that "strncasecmp" and replace it with "strncmp" and put out an emergency fix. Thank you. Regards, Bruce $ /usr/bin/emacs --version GNU Emacs 22.2.1 Copyright (C) 2008 Free Software Foundation, Inc. ------------=_1217539505-3515-1--