unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* lisp-completion-at-point "end" position.
@ 2011-07-19 16:09 Thierry Volpiatto
  2011-08-02  2:50 ` Stefan Monnier
  0 siblings, 1 reply; 10+ messages in thread
From: Thierry Volpiatto @ 2011-07-19 16:09 UTC (permalink / raw)
  To: emacs-devel

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 




^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2011-08-03 14:21 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-19 16:09 lisp-completion-at-point "end" position Thierry Volpiatto
2011-08-02  2:50 ` Stefan Monnier
2011-08-02  4:58   ` Thierry Volpiatto
2011-08-02 18:53     ` Stefan Monnier
2011-08-02 19:14       ` Thierry Volpiatto
2011-08-02 20:11         ` Stefan Monnier
2011-08-02 20:35           ` Thierry Volpiatto
2011-08-03  1:07             ` Stefan Monnier
2011-08-03  4:35               ` Thierry Volpiatto
2011-08-03 14:21                 ` Stefan Monnier

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).