GNU bug report logs - #842
23.0.60; find-file prompt is case sensitive on w32

Previous Next

Package: emacs;

Reported by: "Lennart Borgman (gmail)" <lennart.borgman <at> gmail.com>

Date: Sun, 31 Aug 2008 20:55:04 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 842 in the body.
You can then email your comments to 842 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#842; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to "Lennart Borgman (gmail)" <lennart.borgman <at> gmail.com>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: "Lennart Borgman (gmail)" <lennart.borgman <at> gmail.com>
To: emacs-pretest-bug <at> gnu.org
Subject: 23.0.60; find-file prompt is case sensitive on w32
Date: Sun, 31 Aug 2008 22:48:36 +0200
Try for example

  C-x C-f cha TAB

in emacs/src.

This should be case insensitive on w32 since the file system is case
insensitive.


In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600)
 of 2008-08-29
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4) --no-opt --cflags
-Ic:/g/include -fno-crossjumping'





Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#842; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to "Drew Adams" <drew.adams <at> oracle.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #10 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: "Drew Adams" <drew.adams <at> oracle.com>
To: "'Lennart Borgman \(gmail\)'" <lennart.borgman <at> gmail.com>,
        <842 <at> debbugs.gnu.org>, <emacs-pretest-bug <at> gnu.org>
Subject: RE: bug#842: 23.0.60; find-file prompt is case sensitive on w32
Date: Sun, 31 Aug 2008 15:34:10 -0700
> Try for example
> 
>   C-x C-f cha TAB
> 
> in emacs/src.
> 
> This should be case insensitive on w32 since the file system is case
> insensitive.
> 
> 
> In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600)
>  of 2008-08-29
> Windowing system distributor `Microsoft Corp.', version 5.1.2600
> configured using `configure --with-gcc (3.4) --no-opt --cflags
> -Ic:/g/include -fno-crossjumping'

I don't see that. emacs -Q with:

In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600)
 of 2008-08-29 on LENNART-69DE564
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4) --no-opt --cflags -Ic:/g/include
-fno-crossjumping'

I dont' have a src directory, but I tried it in a directory with uppercase,
lowercase, and mixed case files, and C-x C-f is case insensitive.

HTH.





Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#842; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to "Drew Adams" <drew.adams <at> oracle.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#842; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to "Lennart Borgman (gmail)" <lennart.borgman <at> gmail.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #20 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: "Lennart Borgman (gmail)" <lennart.borgman <at> gmail.com>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 842 <at> debbugs.gnu.org, emacs-pretest-bug <at> gnu.org
Subject: Re: bug#842: 23.0.60; find-file prompt is case sensitive on w32
Date: Mon, 01 Sep 2008 00:57:12 +0200
Drew Adams wrote:
>> Try for example
>>
>>   C-x C-f cha TAB
>>
>> in emacs/src.
>>
>> This should be case insensitive on w32 since the file system is case
>> insensitive.
>>
>>
>> In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600)
>>  of 2008-08-29
>> Windowing system distributor `Microsoft Corp.', version 5.1.2600
>> configured using `configure --with-gcc (3.4) --no-opt --cflags
>> -Ic:/g/include -fno-crossjumping'
> 
> I don't see that. emacs -Q with:
> 
> In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600)
>  of 2008-08-29 on LENNART-69DE564
> Windowing system distributor `Microsoft Corp.', version 5.1.2600
> configured using `configure --with-gcc (3.4) --no-opt --cflags -Ic:/g/include
> -fno-crossjumping'
> 
> I dont' have a src directory, but I tried it in a directory with uppercase,
> lowercase, and mixed case files, and C-x C-f is case insensitive.


Strange, this should be the same binaries that I am using ...

Is it perhaps the first character that matters? I am trying in emacs/src
with

  C-x C-f c TAB

and there are some files beginning with "c" and some with "C".

But there are more problems of this kind. Trying in emacs/lisp

  C-x C-f CVS TAB

I get [complete but not unique] and CVS/ is shown as only alternative.
And when I use

  C-x C-f CV TAB

I get cvs-status.el. What do you get in these cases?

I believe this used to work for me.




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#842; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to "Lennart Borgman (gmail)" <lennart.borgman <at> gmail.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#842; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to "Drew Adams" <drew.adams <at> oracle.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #30 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: "Drew Adams" <drew.adams <at> oracle.com>
To: "'Lennart Borgman \(gmail\)'" <lennart.borgman <at> gmail.com>
Cc: <842 <at> debbugs.gnu.org>, <emacs-pretest-bug <at> gnu.org>
Subject: RE: bug#842: 23.0.60; find-file prompt is case sensitive on w32
Date: Sun, 31 Aug 2008 16:16:50 -0700
> >> Try for example
> >>   C-x C-f cha TAB
> >> in emacs/src.
> >> This should be case insensitive on w32 since the file 
> >> system is case insensitive.
> >>
> >> In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600)
> >>  of 2008-08-29
> >> Windowing system distributor `Microsoft Corp.', version 5.1.2600
> >> configured using `configure --with-gcc (3.4) --no-opt --cflags
> >> -Ic:/g/include -fno-crossjumping'
> > 
> > I don't see that. emacs -Q with:
> > 
> > In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600)
> >  of 2008-08-29 on LENNART-69DE564
> > Windowing system distributor `Microsoft Corp.', version 5.1.2600
> > configured using `configure --with-gcc (3.4) --no-opt 
> --cflags -Ic:/g/include
> > -fno-crossjumping'
> > 
> > I dont' have a src directory, but I tried it in a directory 
> > with uppercase, lowercase, and mixed case files, and C-x C-f
> > is case insensitive.
> 
> Strange, this should be the same binaries that I am using ...

Dunno - your lines above don't include "on LENNART-69DE564"; mine do.

> Is it perhaps the first character that matters? I am trying 
> in emacs/src with  C-x C-f c TAB and there are some files
> beginning with "c" and some with "C".
> But there are more problems of this kind. Trying in emacs/lisp
>   C-x C-f CVS TAB
> I get [complete but not unique] and CVS/ is shown as only alternative.

For me it is completed to c:/.../lisp/cvs-status.el, with no minibuffer message.

Do you have another file (in the dir) that starts with "cvs"?

> And when I use C-x C-f CV TAB I get cvs-status.el.

Same here - same as above, exactly.

> What do you get in these cases?
> I believe this used to work for me.

Are you sure you're using -Q?






Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#842; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to "Drew Adams" <drew.adams <at> oracle.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#842; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to "Drew Adams" <drew.adams <at> oracle.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #40 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: "Drew Adams" <drew.adams <at> oracle.com>
To: "'Lennart Borgman \(gmail\)'" <lennart.borgman <at> gmail.com>
Cc: <842 <at> debbugs.gnu.org>, <emacs-pretest-bug <at> gnu.org>
Subject: RE: bug#842: 23.0.60; find-file prompt is case sensitive on w32
Date: Sun, 31 Aug 2008 16:20:55 -0700
> > Trying in emacs/lisp C-x C-f CVS TAB
> > I get [complete but not unique] and CVS/ is shown as only 
> > alternative.

What is your value of `completion-ignored-extensions'? Mine includes ".elc". You
no doubt have a file cvs-status.elc, in addition to .el.

> For me it is completed to c:/.../lisp/cvs-status.el, with no 
> minibuffer message.





Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#842; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to "Drew Adams" <drew.adams <at> oracle.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#842; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to "Lennart Borgman (gmail)" <lennart.borgman <at> gmail.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #50 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: "Lennart Borgman (gmail)" <lennart.borgman <at> gmail.com>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 842 <at> debbugs.gnu.org, emacs-pretest-bug <at> gnu.org
Subject: Re: bug#842: 23.0.60; find-file prompt is case sensitive on w32
Date: Mon, 01 Sep 2008 01:26:35 +0200
Drew Adams wrote:
>>> Trying in emacs/lisp C-x C-f CVS TAB
>>> I get [complete but not unique] and CVS/ is shown as only 
>>> alternative.
> 
> What is your value of `completion-ignored-extensions'? Mine includes ".elc". You
> no doubt have a file cvs-status.elc, in addition to .el.

The default value. This is with "emacs -Q".


>> For me it is completed to c:/.../lisp/cvs-status.el, with no 
>> minibuffer message.
> 
> 




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#842; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to "Lennart Borgman (gmail)" <lennart.borgman <at> gmail.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #55 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: "Lennart Borgman (gmail)" <lennart.borgman <at> gmail.com>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 842 <at> debbugs.gnu.org, emacs-pretest-bug <at> gnu.org
Subject: Re: bug#842: 23.0.60; find-file prompt is case sensitive on w32
Date: Mon, 01 Sep 2008 01:29:32 +0200
Drew Adams wrote:
>>>> Try for example
>>>>   C-x C-f cha TAB
>>>> in emacs/src.
>>>> This should be case insensitive on w32 since the file 
>>>> system is case insensitive.
>>>>
>>>> In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600)
>>>>  of 2008-08-29
>>>> Windowing system distributor `Microsoft Corp.', version 5.1.2600
>>>> configured using `configure --with-gcc (3.4) --no-opt --cflags
>>>> -Ic:/g/include -fno-crossjumping'
>>> I don't see that. emacs -Q with:
>>>
>>> In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600)
>>>  of 2008-08-29 on LENNART-69DE564
>>> Windowing system distributor `Microsoft Corp.', version 5.1.2600
>>> configured using `configure --with-gcc (3.4) --no-opt 
>> --cflags -Ic:/g/include
>>> -fno-crossjumping'
>>>
>>> I dont' have a src directory, but I tried it in a directory 
>>> with uppercase, lowercase, and mixed case files, and C-x C-f
>>> is case insensitive.
>> Strange, this should be the same binaries that I am using ...
> 
> Dunno - your lines above don't include "on LENNART-69DE564"; mine do.

It is the same.

>> Is it perhaps the first character that matters? I am trying 
>> in emacs/src with  C-x C-f c TAB and there are some files
>> beginning with "c" and some with "C".
>> But there are more problems of this kind. Trying in emacs/lisp
>>   C-x C-f CVS TAB
>> I get [complete but not unique] and CVS/ is shown as only alternative.
> 
> For me it is completed to c:/.../lisp/cvs-status.el, with no minibuffer message.
> 
> Do you have another file (in the dir) that starts with "cvs"?

Ah, yes. You do not have that one so this was a bad test. (It is the CVS
directory, which is hidden.)

Maybe if you create a file named CVS and try again?

>> And when I use C-x C-f CV TAB I get cvs-status.el.
> 
> Same here - same as above, exactly.
> 
>> What do you get in these cases?
>> I believe this used to work for me.
> 
> Are you sure you're using -Q?

Yes, I am a bit tired, stressed, but ... ;-)




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#842; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to "Lennart Borgman (gmail)" <lennart.borgman <at> gmail.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#842; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to "Lennart Borgman (gmail)" <lennart.borgman <at> gmail.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#842; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to "Drew Adams" <drew.adams <at> oracle.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #70 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: "Drew Adams" <drew.adams <at> oracle.com>
To: "'Lennart Borgman \(gmail\)'" <lennart.borgman <at> gmail.com>
Cc: <842 <at> debbugs.gnu.org>, <emacs-pretest-bug <at> gnu.org>
Subject: RE: bug#842: 23.0.60; find-file prompt is case sensitive on w32
Date: Sun, 31 Aug 2008 16:46:29 -0700
> Maybe if you create a file named CVS and try again?

Yes, I confirm that I see the same thing as you.

With files CVS and cvs-status.lisp present, C-x C-f CVS TAB and C-x C-f cvs TAB
both do as you said: They show the minibuffer message "Complete but not unique",
and a second TAB shows only the file name CVS, not both file names as possible
completions. Looks like a bug.





Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#842; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to "Drew Adams" <drew.adams <at> oracle.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Reply sent to Chong Yidong <cyd <at> stupidchicken.com>:
You have taken responsibility. Full text and rfc822 format available.

Notification sent to "Lennart Borgman (gmail)" <lennart.borgman <at> gmail.com>:
bug acknowledged by developer. Full text and rfc822 format available.

Message #80 received at 842-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: "Lennart Borgman \(gmail\)" <lennart.borgman <at> gmail.com>
Cc: 842-done <at> debbugs.gnu.org
Subject: 23.0.60; find-file prompt is case sensitive on w32
Date: Mon, 01 Sep 2008 17:38:08 -0400
This was a bug in the new completion code.  I've checked in a fix.




bug archived. Request was from Debbugs Internal Request <don <at> donarmstrong.com> to internal_control <at> emacsbugs.donarmstrong.com. (Tue, 30 Sep 2008 14:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 16 years and 260 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.