GNU bug report logs - #7215
24.0.50; Minibuffer path completion mispositions point

Previous Next

Package: emacs;

Reported by: Tim Van Holder <tim.vanholder <at> gmail.com>

Date: Thu, 14 Oct 2010 13:20:03 UTC

Severity: normal

Found in version 24.0.50

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Tim Van Holder <tim.vanholder <at> gmail.com>
Subject: bug#7215: closed (Re: bug#7215: 24.0.50; Minibuffer path
 completion mispositions point)
Date: Mon, 18 Oct 2010 20:19:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#7215: 24.0.50; Minibuffer path completion mispositions point

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 7215 <at> debbugs.gnu.org.

-- 
7215: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7215
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Tim Van Holder <tim.vanholder <at> gmail.com>
Subject: Re: bug#7215: 24.0.50; Minibuffer path completion mispositions point
Date: Mon, 18 Oct 2010 16:03:27 -0400
>> I'm on trunk, not the emacs-23 branch.
>> However, I (manually) applied the same change to trunk and the problem
>> did indeed go away.
> Thank you for confirming.

Closing, then,


        Stefan

[Message part 3 (message/rfc822, inline)]
From: Tim Van Holder <tim.vanholder <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.0.50; Minibuffer path completion mispositions point
Date: Thu, 14 Oct 2010 15:22:16 +0200
Recipe:

$ mkdir directory
$ cd directory
$ mkdir subdir
$ cd subdir
$ emacs -Q
  C-x C-f

At this point, the minibuffer will contain (with * indicating point):

  Find file: .../directory/subdir/*

Now delete most of "directory", leaving the minibuffer as:

  Find file: .../dir*/subdir/

Now press [tab]. This correctly completes "dir" back to "directory", but
also moves point backwards, resulting in:

  Find file: .../di*rectory/subdir/

The amount point moves seems to be relative to the place it should end
up at (it will always be after the "di" regardless of whether the
completion was for "di", "dir" or "direc"). It also seems to be related
to the size of the subsequent path component; doing the same tab
completion for the portion of the path before "directory" makes point
jump much further back.

For the last path component (subdir in this case) it _looks_ fine,
resulting in

  Find file: .../directory/subdir*/

But simply adding a single letter after the trailing '/' shows that this
is just the one case where it looks like it's doing the right thing;
trying to complete "subdir" from "sub" then yields:

  Find file: .../directory/subdi*r/x


In GNU Emacs 24.0.50.2 (i686-pc-linux-gnu, GTK+ Version 2.8.20)
 of 2010-10-14 on leeloo
Windowing system distributor `The Cygwin/X Project', version 11.0.10503000
configured using `configure  '--with-x''



This bug report was last modified 14 years and 277 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.