[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
lisp-completion-at-point "end" position.
From: |
Thierry Volpiatto |
Subject: |
lisp-completion-at-point "end" position. |
Date: |
Tue, 19 Jul 2011 18:09:37 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Hi,
lisp-completion-at-point return:
beg end [completions] :predicate :annotation-function
If i complete:(cursor is !)
(def!
The value of beg is the value of point at "d"
The value of end is the value of point at !
Which is correct.
If i complete:
(def! some_text
Same it is correct.
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"
Which is maybe not correct.
Is there a good reason for that?
I must use just `point' here instead of the end value that
lisp-completion-at-point return to handle this case.
BTW i see a comment in source code:
;; FIXME: the `end' could be after point?
Don't know what that mean.
--
A+ Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- lisp-completion-at-point "end" position.,
Thierry Volpiatto <=