* pcomplete-suffix-list is obsolete?
@ 2012-09-26 7:13 Leo
2012-09-26 13:03 ` Stefan Monnier
0 siblings, 1 reply; 4+ messages in thread
From: Leo @ 2012-09-26 7:13 UTC (permalink / raw)
To: emacs-devel
What is the replacement for it?
I need a way to prevent insertion of a space after a completion.
Leo
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: pcomplete-suffix-list is obsolete?
2012-09-26 7:13 pcomplete-suffix-list is obsolete? Leo
@ 2012-09-26 13:03 ` Stefan Monnier
2012-10-08 15:16 ` Leo
0 siblings, 1 reply; 4+ messages in thread
From: Stefan Monnier @ 2012-09-26 13:03 UTC (permalink / raw)
To: Leo; +Cc: emacs-devel
> What is the replacement for it?
The completion table should say that the result is not the end of
the story. Usually this happens because the `completion-boundaries' of
the text after completion is not the same as the one before
completion, IIRC. We should definitely document this better.
Stefan
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: pcomplete-suffix-list is obsolete?
2012-09-26 13:03 ` Stefan Monnier
@ 2012-10-08 15:16 ` Leo
2012-10-08 15:42 ` Stefan Monnier
0 siblings, 1 reply; 4+ messages in thread
From: Leo @ 2012-10-08 15:16 UTC (permalink / raw)
To: emacs-devel
On 2012-09-26 21:03 +0800, Stefan Monnier wrote:
> The completion table should say that the result is not the end of
> the story. Usually this happens because the `completion-boundaries' of
> the text after completion is not the same as the one before
> completion, IIRC. We should definitely document this better.
So what is 'boundary' in the context of completion? I cannot find any
explanation.
Leo
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: pcomplete-suffix-list is obsolete?
2012-10-08 15:16 ` Leo
@ 2012-10-08 15:42 ` Stefan Monnier
0 siblings, 0 replies; 4+ messages in thread
From: Stefan Monnier @ 2012-10-08 15:42 UTC (permalink / raw)
To: Leo; +Cc: emacs-devel
>> The completion table should say that the result is not the end of
>> the story. Usually this happens because the `completion-boundaries' of
>> the text after completion is not the same as the one before
>> completion, IIRC. We should definitely document this better.
> So what is 'boundary' in the context of completion? I cannot find any
> explanation.
The `completion-boundaries' indicate which part of the overall text is
described by `all-completions'.
For example, for normal files the boundaries are delimited by the
slashes, because when you have "/usr/sha", all-completions will list
neither "/usr/share/" nor "/usr/share/emacs" but only "share/".
Stefan
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-10-08 15:42 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-26 7:13 pcomplete-suffix-list is obsolete? Leo
2012-09-26 13:03 ` Stefan Monnier
2012-10-08 15:16 ` Leo
2012-10-08 15:42 ` Stefan Monnier
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).