all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Thierry Volpiatto <thierry.volpiatto@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: lisp-completion-at-point "end" position.
Date: Mon, 01 Aug 2011 22:50:25 -0400	[thread overview]
Message-ID: <jwv4o20a5vt.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <8762my2qwu.fsf@gmail.com> (Thierry Volpiatto's message of "Tue,  19 Jul 2011 18:09:37 +0200")

> 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	other threads:[~2011-08-02  2:50 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-19 16:09 lisp-completion-at-point "end" position Thierry Volpiatto
2011-08-02  2:50 ` Stefan Monnier [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwv4o20a5vt.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=thierry.volpiatto@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.