GNU bug report logs - #16334
24.3.50; company-capf eats the first char in IELM filename completions

Previous Next

Package: emacs;

Reported by: Dmitry Gutov <dgutov <at> yandex.ru>

Date: Fri, 3 Jan 2014 23:21:02 UTC

Severity: normal

Found in version 24.3.50

Done: Dmitry Gutov <dgutov <at> yandex.ru>

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: Dmitry Gutov <dgutov <at> yandex.ru>
Subject: bug#16334: closed (Re: bug#16334: 24.3.50; company-capf eats the
 first char in IELM filename completions)
Date: Sun, 05 Jan 2014 03:18:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#16334: 24.3.50; company-capf eats the first char in IELM filename completions

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 16334 <at> debbugs.gnu.org.

-- 
16334: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16334
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 16334-done <at> debbugs.gnu.org
Subject: Re: bug#16334: 24.3.50; company-capf eats the first char in IELM
 filename completions
Date: Sun, 05 Jan 2014 07:17:00 +0400
On 05.01.2014 06:20, Dmitry Gutov wrote:
> Ok, I'll try.

Fixed upstream.

[Message part 3 (message/rfc822, inline)]
From: Dmitry Gutov <dgutov <at> yandex.ru>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3.50; company-capf eats the first char in IELM filename completions
Date: Sat, 04 Jan 2014 03:20:17 +0400
1. Open an IELM buffer and (on Unix) type `"/' there.

2. Leave the point after `/'.

3. Type `M-x company-capf', see that all candidates have the first
character missing.

This is caused by `(comint--match-partial-filename)' matching the full
file path, including the leading slash, but
`comint-completion-file-name-table' returning base names, without any
path separators. Not sure how `completion-at-point' ignores that
problem.

Bonus round:

4. Type `/u', see the suggestion to complete it to `/ur/'.

5. Type `/usr/', then `M-x company-capf', see an error caused by some
candidates being shorter than the prefix.

In GNU Emacs 24.3.50.4 (x86_64-unknown-linux-gnu, GTK+ Version 3.8.6)
 of 2014-01-04 on axl
Bzr revision: 115859 vincentb1 <at> users.sourceforge.net-20140103141824-juu968y9pi6r2zvv
Windowing system distributor `The X.Org Foundation', version 11.0.11403000
System Description:	Ubuntu 13.10



This bug report was last modified 11 years and 138 days ago.

Previous Next


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