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: Stefan Monnier
Subject: Re: lisp-completion-at-point "end" position.
Date: Mon, 01 Aug 2011 22:50:25 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

> If i complete:(note that there is no space between "!" and "s")
> (def!some_text

> The value of beg is the value of point at "d"
> The value of end is the value of point at "t"

Yes, so you can do complete (wit!sel to (with-selected-.
Whether that is done or not will depend on completion-styles, where the
difference between `basic', `emacs22', and `emacs21' is exactly about
what to do in such a case.

> 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.


        Stefan



reply via email to

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