emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Case-insensitive completion is broken


From: Chris Madsen
Subject: Case-insensitive completion is broken
Date: Thu, 07 Dec 2006 10:13:14 -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 f <tab>


I expected it to complete "f" 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
completes to "foo".  If you press Tab again, Emacs displays the list
of possible completions ("Foo" and "Foobar"), but the minibuffer text
remains "foo".

If you type "b <tab>", it will change "foob" to "Foobar" (as expected).

I checked some of the older executables I had lying around.  This
worked properly in GNU Emacs 22.0.50.1 (i686-pc-linux-gnu, GTK+
Version 2.6.10) of 2005-11-27.

The bug is present in the copy of 22.0.50.1 I compiled on 2006-09-03.
It's still present in the current version.

All these were built from the current CVS HEAD sources on the
compilation date.


In GNU Emacs 22.0.91.1 (i686-pc-linux-gnu, GTK+ Version 2.8.19)
 of 2006-12-07 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.91' '--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 <escape> <tab> - c <escape>
<tab> SPC t ) C-j M-x p a r t <tab> <return> C-x C-f
f <tab> <tab> C-g M-x r - e - b <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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]