all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#16334: 24.3.50; company-capf eats the first char in IELM filename completions
@ 2014-01-03 23:20 Dmitry Gutov
  2014-01-04  5:00 ` Stefan Monnier
  0 siblings, 1 reply; 13+ messages in thread
From: Dmitry Gutov @ 2014-01-03 23:20 UTC (permalink / raw)
  To: 16334

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@users.sourceforge.net-20140103141824-juu968y9pi6r2zvv
Windowing system distributor `The X.Org Foundation', version 11.0.11403000
System Description:	Ubuntu 13.10





^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2014-01-10 14:58 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-03 23:20 bug#16334: 24.3.50; company-capf eats the first char in IELM filename completions Dmitry Gutov
2014-01-04  5:00 ` Stefan Monnier
2014-01-05  2:20   ` Dmitry Gutov
2014-01-05  3:17     ` Dmitry Gutov
2014-01-05  4:53     ` Stefan Monnier
2014-01-06  5:33       ` Dmitry Gutov
2014-01-06 15:23         ` Stefan Monnier
2014-01-07  2:52           ` Dmitry Gutov
2014-01-08  3:33             ` Stefan Monnier
2014-01-09  6:21               ` Dmitry Gutov
2014-01-09 16:00                 ` Stefan Monnier
2014-01-10  6:23                   ` Dmitry Gutov
2014-01-10 14:58                     ` Stefan Monnier

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.