From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas =?iso-8859-15?q?R=F6hler?= Newsgroups: gmane.emacs.devel Subject: Re: [ra5ul@comcast.net: case-insensitive partial-completion-mode issue] Date: Fri, 7 Dec 2007 14:04:50 +0100 Message-ID: <200712071404.50749.andreas.roehler@online.de> References: <200712060949.51142.andreas.roehler@online.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1197032775 13467 80.91.229.12 (7 Dec 2007 13:06:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 7 Dec 2007 13:06:15 +0000 (UTC) Cc: emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 07 14:06:25 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1J0cu7-0002op-HN for ged-emacs-devel@m.gmane.org; Fri, 07 Dec 2007 14:06:07 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J0ctq-0000hS-Aj for ged-emacs-devel@m.gmane.org; Fri, 07 Dec 2007 08:05:50 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J0ctm-0000dy-2s for emacs-devel@gnu.org; Fri, 07 Dec 2007 08:05:46 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J0ctk-0000YB-8v for emacs-devel@gnu.org; Fri, 07 Dec 2007 08:05:45 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J0ctk-0000Xr-3c for emacs-devel@gnu.org; Fri, 07 Dec 2007 08:05:44 -0500 Original-Received: from moutng.kundenserver.de ([212.227.126.174]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1J0cte-0001Lh-9v; Fri, 07 Dec 2007 08:05:38 -0500 Original-Received: from noname (p54BEB4B1.dip0.t-ipconnect.de [84.190.180.177]) by mrelayeu.kundenserver.de (node=mrelayeu4) with ESMTP (Nemesis) id 0ML21M-1J0ctc11k3-0001pz; Fri, 07 Dec 2007 14:05:36 +0100 User-Agent: KMail/1.9.5 In-Reply-To: Content-Disposition: inline X-Provags-ID: V01U2FsdGVkX1/yjQt2nFD2PCqbbncRXFHfndR4YDRa9NpwVBU nYd+8jm6ajTqsafrxCxTBzDThfgqn0XR8HFiQI9z21oJNrysiR Ssc+eVhSwdB9KajgPk+OQ== X-detected-kernel: by monty-python.gnu.org: Linux 2.6? (barebone, rare!) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:84828 Archived-At: Am Donnerstag, 6. Dezember 2007 22:43 schrieb Richard Stallman: > As `read-file-name-completion-ignore-case' seems not > honoured anyway by completion.el, maybe simply drop > that var and use `case-fold-search' instead? > > The standard minibuffer completion routines do obey > `read-file-name-completion-ignore-case', don't they? Basically, see below. > We just need to fix complete.el to do so. > Hope so but don't know at all. Thanks having gratuitously ignored my mistake with complete/completion.el After some more checks this morning the issue AFAIS now mixes with "completion over directories" Emacs -Q GNU Emacs 23.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.10.6) of 2007-11-18= =20 ~/tmp> touch Bar.txt ~/tmp> touch bar.txt Directory up=20 ~/> read-file-name-completion-ignore-case =3D=3D> t C-x C-f ~/t/B TAB =3D=3D> ~/tmp/Bar.txt but C-x C-f ~/t/b TAB =3D=3D> ~/t*/b Ambiguous dir name however C-x C-f ~/te/b TAB =3D=3D> ~/tmp/bar.txt ;;;;;;;;;;;; Now the example given by OP /~> touch FILE.TXT ~/> mkdir DIRECTORY ~/> touch DIRECTORY/FILE.TXT Partial-Completion mode enabled (setq read-file-name-completion-ignore-case t) C-x C-f ~/F =3D=3D> F *Completions* =46ILE.TXT Foo-Bar =2E.. firefox-installer/ firefox/ ;;;;;;;;; OK C-x C-f ~/f =3D=3D> f ;;;;;; as above, OK C-x C-f ~/d/f =3D=3D> Error: if: Opening directory: datei oder Verzeichnis = nicht=20 gefunden, /MY-PATH/d/ C-x C-f ~/D/f =3D=3D> Error: if: Opening directory: datei oder Verzeichnis= nicht=20 gefunden, /MY-PATH/D/ But=20 C-x C-f ~/D/F =3D=3D> ~/DIRECTORY/FILE.TXT ;;;;;;;;; Evaluated your patch afterwards nonetheless: as expected same behaviour. No ideas how to fix this at the moment. Andreas R=F6hler