emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lisp-completion-at-point "end" position.


From: Thierry Volpiatto
Subject: Re: lisp-completion-at-point "end" position.
Date: Tue, 02 Aug 2011 21:14:21 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Stefan Monnier <address@hidden> writes:

>> (let ((completion-styles 'emacs22))
>>   (lisp-completion-at-point))
>
> completion-styles does not influence the set of completions and the
> completion field (which is what lisp-completion-at-point returns).
> Instead it influences how the completion UI acts on that information.
>
> I.e. the value of completion-styles is only used when completion is
> actually performed (e.g. by completion-in-region).
I understood that.

>>>> Is there a good reason for that?
>>> I'll let you judge whether it's good or not.  But it's the same behavior
>>> as in the minibuffer.
>> It's inconvenient to have to type a space just to have completion.
>> e.g:
>> (def!(something) => doesn't complete def
>> (def! (something) => complete def
>
> A space should not be needed when the subsequent char is an open-paren.
At another level, not lisp-completion-at-point.

My concern was lisp-completion-at-point, not the completion UI of
emacs. (i don't use it).

Thanks for infos.

-- 
A+ Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]