[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Case-insensitive partial-completion bug
From: |
Christopher J. Madsen |
Subject: |
Case-insensitive partial-completion bug |
Date: |
Thu, 09 Nov 2006 10:47:45 -0600 (CST) |
Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:
In a shell, create a new directory and cd there.
> touch Foo Foobar
> emacs -Q
In the *scratch* buffer, type:
(setq read-file-name-completion-ignore-case t) C-j
M-x partial-completion-mode <return>
C-x C-f foo <tab>
I expected it to change "foo" to "Foo", because all possible
completions begin with "Foo". That's what it does if you don't enable
partial-completion-mode. But with partial-completion-mode enabled, it
stays "foo" and Emacs displays the list of possible completions.
If you type "b <tab>", it will change "foob" to "Foobar" (as expected).
This used to work in Emacs 21.3.1 (although there the variable is
completion-ignore-case instead). I first noticed the bug a couple
months ago, but it's still present in the CVS HEAD version I compiled
yesterday.
In GNU Emacs 22.0.90.1 (i686-pc-linux-gnu, GTK+ Version 2.8.19)
of 2006-11-08 on bit
X server distributor `The X.Org Foundation', version 11.0.70101000
configured using `configure '--prefix=/usr' '--host=i686-pc-linux-gnu'
'--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share'
'--sysconfdir=/etc' '--localstatedir=/var/lib'
'--program-suffix=.emacs-22.0.90' '--without-carbon' '--with-x' '--with-xpm'
'--with-toolkit-scroll-bars' '--with-jpeg' '--with-tiff' '--with-gif'
'--with-png' '--with-x-toolkit=gtk' '--build=i686-pc-linux-gnu' 'CFLAGS=-O2'
'build_alias=i686-pc-linux-gnu' 'host_alias=i686-pc-linux-gnu''
Important settings:
value of $LC_ALL: en_US
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: nil
locale-coding-system: iso-8859-1
default-enable-multibyte-characters: t
Major mode: Lisp Interaction
Minor modes in effect:
partial-completion-mode: t
tooltip-mode: t
tool-bar-mode: t
mouse-wheel-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
unify-8859-on-encoding-mode: t
utf-translate-cjk-mode: t
auto-compression-mode: t
line-number-mode: t
Recent input:
( s e t q SPC r e a d - f i l e <escape> <tab> - c
<escape> <tab> SPC t ) C-j M-x p a r t <tab> <return>
C-x C-f f o o <tab> C-g M-x r e p o r t <tab> <return>
Recent messages:
(emacs -Q)
For information about the GNU Project and its goals, type C-h C-p.
Loading complete...
Loading advice...done
Loading complete...done
Partial-Completion mode enabled
Quit
Loading emacsbug...
Loading regexp-opt...done
Loading emacsbug...done
- Case-insensitive partial-completion bug,
Christopher J. Madsen <=