|
From: | Stefan Monnier |
Subject: | Re: lisp-completion-at-point "end" position. |
Date: | Tue, 02 Aug 2011 14:53:44 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
> (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). >>> 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. Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |