From mboxrd@z Thu Jan  1 00:00:00 1970
Path: main.gmane.org!not-for-mail
From: Reuben Thomas <rrt@sc3d.org>
Newsgroups: gmane.emacs.bugs
Subject: Oddity with filename completion in the minibuffer
Date: Sat, 31 Jan 2004 12:29:10 +0100 (CET)
Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org
Message-ID: <Pine.LNX.4.58.0401311223000.31597@mnemosyne>
NNTP-Posting-Host: deer.gmane.org
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Trace: sea.gmane.org 1075551651 29238 80.91.224.253 (31 Jan 2004 12:20:51 GMT)
X-Complaints-To: usenet@sea.gmane.org
NNTP-Posting-Date: Sat, 31 Jan 2004 12:20:51 +0000 (UTC)
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jan 31 12:31:18 2004
Return-path: <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org>
Original-Received: from monty-python.gnu.org ([199.232.76.173])
	by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian))
	id 1AmtLK-0005oZ-00
	for <geb-bug-gnu-emacs@m.gmane.org>; Sat, 31 Jan 2004 12:31:18 +0100
Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org)
	by monty-python.gnu.org with esmtp (Exim 4.24)
	id 1AmtJw-0006hO-Ep
	for geb-bug-gnu-emacs@m.gmane.org; Sat, 31 Jan 2004 06:29:52 -0500
Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1AmtJs-0006es-4L
	for bug-gnu-emacs@gnu.org; Sat, 31 Jan 2004 06:29:48 -0500
Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1AmtJJ-0006Jy-Qn
	for bug-gnu-emacs@gnu.org; Sat, 31 Jan 2004 06:29:45 -0500
Original-Received: from [217.206.202.87] (helo=cognition.stroop.net)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.24) id 1AmtJJ-0006Ju-9I
	for bug-gnu-emacs@gnu.org; Sat, 31 Jan 2004 06:29:13 -0500
Original-Received: from rrt (helo=localhost)
	by cognition.stroop.net with local-esmtp (Exim 3.35 #1)
	id 1AmtJI-0007NG-00
	for bug-gnu-emacs@gnu.org; Sat, 31 Jan 2004 11:29:12 +0000
X-X-Sender: rrt@mnemosyne
Original-To: Emacs Bugs <bug-gnu-emacs@gnu.org>
X-BeenThere: bug-gnu-emacs@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors
	<bug-gnu-emacs.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-gnu-emacs>,
	<mailto:bug-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-gnu-emacs>
List-Post: <mailto:bug-gnu-emacs@gnu.org>
List-Help: <mailto:bug-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-gnu-emacs>,
	<mailto:bug-gnu-emacs-request@gnu.org?subject=subscribe>
Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org
Xref: main.gmane.org gmane.emacs.bugs:6841

This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English, because the Emacs maintainers do not have
translators to read other languages for them.

Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list,
and to the gnu.emacs.bug news group.

In GNU Emacs 21.3.1 (i386-redhat-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2003-10-27 on daffy.perf.redhat.com
configured using `configure  --host=i386-redhat-linux
--build=i386-redhat-linux --target=i386-redhat-linux-gnu --program-prefix=
--prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin
--sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include
--libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var
--sharedstatedir=/usr/com --mandir=/usr/share/man
--infodir=/usr/share/info --with-gcc --with-pop --with-sound'
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: POSIX
  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: en_GB.UTF-8
  locale-coding-system: utf-8
  default-enable-multibyte-characters: t

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

I have a directory structure like this:

~/.sylpheed/
   sylpheed.log
   sylpheed.log.bak

You can see the precise keystrokes I used below, but basically, I typed

~ / . s y l <tab> sylp <tab> . <tab>

and got ~/.sylpheed/sylpheed.log.bak, when I should have got
~/.sylpheed/sylpheed.log. If I type "~/.sylpheed/sylpheed.log" and press
<tab> then I get the message [Complete but not unique] as expected. Emacs
seems to work correctly on similar examples, just not this one.

I tried this running emacs -q to make sure it wasn't a result of my
configuration.


Recent input:
<drag-mouse-1> <C-insert> C-x b T o <return> M-< C-k
C-k C-x C-s C-x C-f ~ / . s y l <tab> s y l p <tab>
. <tab> <backspace> <backspace> <backspace> <backspace>
<tab> <tab> <tab> C-a C-g C-g C-g C-x b C-s C-r <return>
l s SPC - l SPC ~ / . s y l <tab> <return> M-x r e
p o r t - <return>

Recent messages:
Completing file name...
Completed
Mark set
Wrote /home/rrt/ToDo
Making completion list...
setq: Quit
keyboard-quit: Quit [2 times]
Completing file name...
Completed
Loading emacsbug...done