all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* maybe don't set completion-ignore-case to t on w32 ?
@ 2007-03-04 20:55 John Paul Wallington
  2007-03-04 21:09 ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: John Paul Wallington @ 2007-03-04 20:55 UTC (permalink / raw)
  To: emacs-devel

Is it necessary to set `completion-ignore-case' to t in w32-fns.el for
the purpose of ignoring case on file-name completion now that we have
`read-file-name-completion-ignore-case' that defaults to t on
MS-Windows systems?

I'm using an MS-Windows system here, and M-x cust[TAB] gives `Custom-'
prefixed commands where I would only get `customize-' prefixed commands
with `completion-ignore-case' set to t.

Proposed change:

--- w32-fns.el	21 Jan 2007 03:53:10 +0000	1.64
+++ w32-fns.el	04 Mar 2007 20:39:57 +0000	
@@ -43,9 +43,6 @@
 (define-key function-key-map [M-backspace] [?\M-\177])
 (define-key function-key-map [C-M-backspace] [\C-\M-delete])
 
-;; Ignore case on file-name completion
-(setq completion-ignore-case t)
-
 ;; Map all versions of a filename (8.3, longname, mixed case) to the
 ;; same buffer.
 (setq find-file-visit-truename t)

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

* Re: maybe don't set completion-ignore-case to t on w32 ?
  2007-03-04 20:55 maybe don't set completion-ignore-case to t on w32 ? John Paul Wallington
@ 2007-03-04 21:09 ` Eli Zaretskii
  2007-03-04 21:41   ` John Paul Wallington
  0 siblings, 1 reply; 3+ messages in thread
From: Eli Zaretskii @ 2007-03-04 21:09 UTC (permalink / raw)
  To: John Paul Wallington; +Cc: emacs-devel

> Date: Sun, 04 Mar 2007 20:55:08 +0000
> From: jpw@pobox.com (John Paul Wallington)
> 
> Is it necessary to set `completion-ignore-case' to t in w32-fns.el for
> the purpose of ignoring case on file-name completion now that we have
> `read-file-name-completion-ignore-case' that defaults to t on
> MS-Windows systems?

I don't know if it's necessary, but I suggest that we not change
anything at this point that does not fix a clear bug.

> I'm using an MS-Windows system here, and M-x cust[TAB] gives `Custom-'
> prefixed commands where I would only get `customize-' prefixed commands
> with `completion-ignore-case' set to t.

I cannot reproduce that, for me "M-x cust[TAB]" yields `customize'
(sic, without the trailing dash that you show above), and tapping on
TAB 2 more times shows a completion buffer where all completions begin
with "customize", with a lower-case `c'.

Do you see this problem in "emacs -Q"?

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

* Re: maybe don't set completion-ignore-case to t on w32 ?
  2007-03-04 21:09 ` Eli Zaretskii
@ 2007-03-04 21:41   ` John Paul Wallington
  0 siblings, 0 replies; 3+ messages in thread
From: John Paul Wallington @ 2007-03-04 21:41 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: emacs-devel

Eli Zaretskii <eliz@gnu.org> writes:

>> Is it necessary to set `completion-ignore-case' to t in w32-fns.el for
>> the purpose of ignoring case on file-name completion now that we have
>> `read-file-name-completion-ignore-case' that defaults to t on
>> MS-Windows systems?
>
> I don't know if it's necessary, but I suggest that we not change
> anything at this point that does not fix a clear bug.

Fair enough.  I think it would be a good change to make after the
release though.

>> I'm using an MS-Windows system here, and M-x cust[TAB] gives `Custom-'
>> prefixed commands where I would only get `customize-' prefixed commands
>> with `completion-ignore-case' set to t.
>
> I cannot reproduce that, for me "M-x cust[TAB]" yields `customize'
> (sic, without the trailing dash that you show above), and tapping on
> TAB 2 more times shows a completion buffer where all completions begin
> with "customize", with a lower-case `c'.
> Do you see this problem in "emacs -Q"?

I think that's because only `customize-' prefixed stuff is defined
after emacs -Q.  Doing emacs -Q then M-x customize-variable varname
[RET] loads cus-edit at which point M-x cust [TAB} shows both
`customize-' and `Custom-' prefixed commands.

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

end of thread, other threads:[~2007-03-04 21:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-04 20:55 maybe don't set completion-ignore-case to t on w32 ? John Paul Wallington
2007-03-04 21:09 ` Eli Zaretskii
2007-03-04 21:41   ` John Paul Wallington

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.