From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: [bojohan+mail@dd.chalmers.se: Partial completion] Date: Thu, 08 Mar 2007 18:01:37 -0500 Message-ID: <87zm6nwd9q.fsf@stupidchicken.com> References: <17888.10288.446902.230637@kahikatea.snap.net.nz> <45E0979B.2020006@gmx.at> <87abynsbwu.fsf@stupidchicken.com> <45F08F82.6000100@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1173394938 21598 80.91.229.12 (8 Mar 2007 23:02:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 8 Mar 2007 23:02:18 +0000 (UTC) Cc: emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Mar 09 00:02:12 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HPRci-00046W-Al for ged-emacs-devel@m.gmane.org; Fri, 09 Mar 2007 00:02:12 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HPRcx-0005FK-BF for ged-emacs-devel@m.gmane.org; Thu, 08 Mar 2007 18:02:27 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HPRcl-0005FD-OI for emacs-devel@gnu.org; Thu, 08 Mar 2007 18:02:15 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HPRcl-0005F1-Er for emacs-devel@gnu.org; Thu, 08 Mar 2007 18:02:15 -0500 Original-Received: from south-station-annex.mit.edu ([18.72.1.2]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HPRcV-0005C4-7S for emacs-devel@gnu.org; Thu, 08 Mar 2007 18:01:59 -0500 Original-Received: from central-city-carrier-station.mit.edu (CENTRAL-CITY-CARRIER-STATION.MIT.EDU [18.7.7.72]) by south-station-annex.mit.edu (8.13.6/8.9.2) with ESMTP id l28N1naF029059; Thu, 8 Mar 2007 18:01:50 -0500 (EST) Original-Received: from outgoing-legacy.mit.edu (OUTGOING-LEGACY.MIT.EDU [18.7.22.104]) by central-city-carrier-station.mit.edu (8.13.6/8.9.2) with ESMTP id l28N1dH7005498; Thu, 8 Mar 2007 18:01:39 -0500 (EST) Original-Received: from localhost (MAIN-TWELVE-TWO-FIFTY-SIX.MIT.EDU [18.19.6.1]) ) by outgoing-legacy.mit.edu (8.13.6/8.12.4) with ESMTP id l28N1bVX018529; Thu, 8 Mar 2007 18:01:38 -0500 (EST) Original-Received: from cyd by localhost with local (Exim 3.36 #1 (Debian)) id 1HPRc9-0002KX-00; Thu, 08 Mar 2007 18:01:37 -0500 In-Reply-To: <45F08F82.6000100@gmx.at> (martin rudalics's message of "Thu\, 08 Mar 2007 23\:34\:42 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.95 (gnu/linux) X-Scanned-By: MIMEDefang 2.42 X-Spam-Score: -2.599 X-detected-kernel: Solaris 9.1 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:67591 Archived-At: martin rudalics writes: >> I think it's time to check this patch in. > > The last version of this with a correction supplied by Glenn Morris > and a thick comment layer requested by Stefan is on the thread > > [alinsoar@voila.fr: EVAL and mouse selection in *Completions*] > > please have a look. The patch looks OK to me. > It does _not_ handle the buffer erasure problem since I thought you'd > take care of this in a more general way. What do you intend to do? > What shall I do? The way standard completion handles this now, with my recent checkin, is to check minibuffer-completing-symbol and not bind completion-base size if it is non-nil (eval-expression binds minibuffer-completing-symbol to indicate that it is currently reading a symbol): (setq completion-base-size (cond .. (minibuffer-completing-symbol nil)