[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Completions in Semantic
From: |
Stefan Monnier |
Subject: |
Re: Completions in Semantic |
Date: |
Mon, 19 Oct 2009 20:14:05 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) |
> For my completion engine, I used an overlay to wrap the text being
> completed.
That's also what lisp-complete-symbol uses to tell minibuffer-completion
what is to be completed (more specifically minibuffer-completion
operates on a `field', so I create an overlay with a field property).
> As soon as the cursor leaves the overlay, or if the user
> types a character that doesn't belong in the symbol such as SPC, ., or
> other punctuation, then it exists.
That's the kind of UI I was thinking of, yes. Can you point me to the
relevant code you use for that (especially things like
post-command-hook)?
> A side effect is that a *completions* buffer is not always desired, so
> there are some experiments on completion showing that might not need a
> buffer, such as the tooltip, or ghost-text. These options have varying
> success in this task.
Yes, rather than a *completions* buffer, we could have tooltip-like
frames show up. That will need to be chosen by the caller.
Stefan
- Re: Completions in Semantic, (continued)
- Re: Completions in Semantic, Eric M. Ludlam, 2009/10/18
- Re: Completions in Semantic, Stefan Monnier, 2009/10/19
- Re: Completions in Semantic, Eric M. Ludlam, 2009/10/19
- Re: Completions in Semantic, Stefan Monnier, 2009/10/19
- Re: Completions in Semantic, Eric M. Ludlam, 2009/10/19
- Re: Completions in Semantic, Stefan Monnier, 2009/10/19
- Re: Completions in Semantic, Eric M. Ludlam, 2009/10/19
- Re: Completions in Semantic, Lennart Borgman, 2009/10/19
- Re: Completions in Semantic, Toby Cubitt, 2009/10/30
- Re: Completions in Semantic, Lennart Borgman, 2009/10/30
- Re: Completions in Semantic,
Stefan Monnier <=
- Re: Completions in Semantic, Eric M. Ludlam, 2009/10/20
- Re: Completions in Semantic, Lluis, 2009/10/21
- Re: Completions in Semantic, Eric M. Ludlam, 2009/10/21
- Re: Completions in Semantic, Lluis, 2009/10/21
- Re: Completions in Semantic, Eric M. Ludlam, 2009/10/21
- Re: Completions in Semantic, Stefan Monnier, 2009/10/22
- Re: Completions in Semantic, Lluis, 2009/10/27
- Re: Completions in Semantic, Stefan Monnier, 2009/10/27
- Re: Completions in Semantic, Eric M. Ludlam, 2009/10/27
- Re: Completions in Semantic, Stefan Monnier, 2009/10/27