From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: lisp-completion-at-point "end" position. Date: Mon, 01 Aug 2011 22:50:25 -0400 Message-ID: References: <8762my2qwu.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1312253436 21457 80.91.229.12 (2 Aug 2011 02:50:36 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 2 Aug 2011 02:50:36 +0000 (UTC) Cc: emacs-devel@gnu.org To: Thierry Volpiatto Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 02 04:50:31 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Qo53v-0001GM-Ke for ged-emacs-devel@m.gmane.org; Tue, 02 Aug 2011 04:50:31 +0200 Original-Received: from localhost ([::1]:60743 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qo53u-0004fc-UV for ged-emacs-devel@m.gmane.org; Mon, 01 Aug 2011 22:50:30 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:60898) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qo53s-0004fX-PB for emacs-devel@gnu.org; Mon, 01 Aug 2011 22:50:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qo53r-00037G-Ey for emacs-devel@gnu.org; Mon, 01 Aug 2011 22:50:28 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183]:25486 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qo53r-00036r-Bz for emacs-devel@gnu.org; Mon, 01 Aug 2011 22:50:27 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAM5kN05FxKfe/2dsb2JhbABCp194gUABAQQBViMFCws0EhQYDSSHf8EJhkIEn0qEMQ X-IronPort-AV: E=Sophos;i="4.67,304,1309752000"; d="scan'208";a="128370555" Original-Received: from 69-196-167-222.dsl.teksavvy.com (HELO ceviche.home) ([69.196.167.222]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 01 Aug 2011 22:50:25 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id B6966660CF; Mon, 1 Aug 2011 22:50:25 -0400 (EDT) In-Reply-To: <8762my2qwu.fsf@gmail.com> (Thierry Volpiatto's message of "Tue, 19 Jul 2011 18:09:37 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.183 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:142664 Archived-At: > 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