unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* On minibuffer completion (Cygwin)
@ 2008-08-02 21:24 Angelo Graziosi
  2008-08-03  2:23 ` Chong Yidong
  0 siblings, 1 reply; 4+ messages in thread
From: Angelo Graziosi @ 2008-08-02 21:24 UTC (permalink / raw)
  To: emacs-devel

Since these changes:

* minibuffer.el (read-file-name-completion-ignore-case):
   Add cygwin to the list.

often I need to type two keys to complete a name, while before it was 
sufficient only one key.

For example, if I have

foo
Fio

then before: 'f<TAB>' worked fine and the completion was 'foo'; 'F<TAB>' 
==> 'Fio'. Now I need 'fo<TAB>' or 'Fi<TAB>'.

Usually Cygwin is strictly case sensitive by default, even if it 'lives' 
on a OS case insensitive. For ex.: 'mv emacs.mail Emacs.mail' works; 
only 'cp emacs.mail Emacs.mail' doesn't.

So, why Emacs can't do what Cygwin can at its prompt?

To be short: my opinion is that Cygwin shouldn't be added to that list!


Cheers,
    Angelo.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: On minibuffer completion (Cygwin)
  2008-08-02 21:24 On minibuffer completion (Cygwin) Angelo Graziosi
@ 2008-08-03  2:23 ` Chong Yidong
  2008-08-03  3:23   ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: Chong Yidong @ 2008-08-03  2:23 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: emacs-devel, Angelo Graziosi

Angelo Graziosi <angelo.graziosi@alice.it> writes:

> * minibuffer.el (read-file-name-completion-ignore-case):
>   Add cygwin to the list.
>
> often I need to type two keys to complete a name, while before it was
> sufficient only one key.
>
> For example, if I have
>
> foo
> Fio
>
> then before: 'f<TAB>' worked fine and the completion was 'foo';
> F<TAB>' ==> 'Fio'. Now I need 'fo<TAB>' or 'Fi<TAB>'.
>
> Usually Cygwin is strictly case sensitive by default, even if it
> lives' on a OS case insensitive. For ex.: 'mv emacs.mail Emacs.mail'
> works; only 'cp emacs.mail Emacs.mail' doesn't.

Eli, you originally suggested adding cygwin to the list.  What's your
opinion about this?




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: On minibuffer completion (Cygwin)
  2008-08-03  2:23 ` Chong Yidong
@ 2008-08-03  3:23   ` Eli Zaretskii
  2008-08-03 18:23     ` Stefan Monnier
  0 siblings, 1 reply; 4+ messages in thread
From: Eli Zaretskii @ 2008-08-03  3:23 UTC (permalink / raw)
  To: Chong Yidong; +Cc: emacs-devel, angelo.graziosi

> From: Chong Yidong <cyd@stupidchicken.com>
> Cc: Angelo Graziosi <angelo.graziosi@alice.it>, emacs-devel@gnu.org
> Date: Sat, 02 Aug 2008 22:23:35 -0400
> 
> Angelo Graziosi <angelo.graziosi@alice.it> writes:
> 
> > * minibuffer.el (read-file-name-completion-ignore-case):
> >   Add cygwin to the list.
> >
> > often I need to type two keys to complete a name, while before it was
> > sufficient only one key.
> >
> > For example, if I have
> >
> > foo
> > Fio
> >
> > then before: 'f<TAB>' worked fine and the completion was 'foo';
> > F<TAB>' ==> 'Fio'. Now I need 'fo<TAB>' or 'Fi<TAB>'.
> >
> > Usually Cygwin is strictly case sensitive by default, even if it
> > lives' on a OS case insensitive. For ex.: 'mv emacs.mail Emacs.mail'
> > works; only 'cp emacs.mail Emacs.mail' doesn't.
> 
> Eli, you originally suggested adding cygwin to the list.  What's your
> opinion about this?

My opinion is that Cygwin runs on a case-insensitive filesystem, and
therefore should behave accordingly.  Users who don't like that can
always customize Emacs.




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: On minibuffer completion (Cygwin)
  2008-08-03  3:23   ` Eli Zaretskii
@ 2008-08-03 18:23     ` Stefan Monnier
  0 siblings, 0 replies; 4+ messages in thread
From: Stefan Monnier @ 2008-08-03 18:23 UTC (permalink / raw)
  To: Eli Zaretskii, Joe Buehler; +Cc: Chong Yidong, angelo.graziosi, emacs-devel

> My opinion is that Cygwin runs on a case-insensitive filesystem, and
> therefore should behave accordingly.  Users who don't like that can
> always customize Emacs.

But if the Cygwin system itself (i.e. the Cygwin utilities) tries to
pretend that it runs on a case-sensitive filesystem, then Emacs should
follow that convention.
Where's the maintainer of the Cygwin port?


        Stefan




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-08-03 18:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-02 21:24 On minibuffer completion (Cygwin) Angelo Graziosi
2008-08-03  2:23 ` Chong Yidong
2008-08-03  3:23   ` Eli Zaretskii
2008-08-03 18:23     ` Stefan Monnier

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).