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: partial-completion-mode and eval Date: Tue, 27 Mar 2007 17:26:24 -0400 Message-ID: <87648mwf7j.fsf@stupidchicken.com> References: <30269022.199151175016912912.JavaMail.www@wwinf4003> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1175030817 4676 80.91.229.12 (27 Mar 2007 21:26:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 27 Mar 2007 21:26:57 +0000 (UTC) Cc: "Emacs Dev \[emacs-devel\]" To: alinsoar@voila.fr Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 27 23:26:49 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 1HWJBp-0000cN-G0 for ged-emacs-devel@m.gmane.org; Tue, 27 Mar 2007 23:26:49 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HWJED-0002vp-Hb for ged-emacs-devel@m.gmane.org; Tue, 27 Mar 2007 16:29:17 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HWJEA-0002v3-Oq for emacs-devel@gnu.org; Tue, 27 Mar 2007 17:29:14 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HWJEA-0002uh-3x for emacs-devel@gnu.org; Tue, 27 Mar 2007 16:29:14 -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 1HWJBl-00080r-5s for emacs-devel@gnu.org; Tue, 27 Mar 2007 17:26:45 -0400 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 l2RLQhKn028496; Tue, 27 Mar 2007 16:26:43 -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 l2RLQTAo007813; Tue, 27 Mar 2007 17:26:31 -0400 (EDT) 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 l2RLQOnW008000; Tue, 27 Mar 2007 17:26:28 -0400 (EDT) Original-Received: from cyd by localhost with local (Exim 3.36 #1 (Debian)) id 1HWJBQ-0005B8-00; Tue, 27 Mar 2007 17:26:24 -0400 In-Reply-To: <30269022.199151175016912912.JavaMail.www@wwinf4003> (A. Soare's message of "Tue\, 27 Mar 2007 19\:35\:12 +0200 \(CEST\)") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.96 (gnu/linux) X-Scanned-By: MIMEDefang 2.42 X-Spam-Score: 0 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:68684 Archived-At: A Soare writes: > 1. Emacs -Q > > 2. switch on partial completion mode. > > 3. M-: > > Eval: (fo-ch > > => (fo-char and the point position after fo. > > Now press > > Eval: (forw-char > > => Eval: (forward--char > > There are 2 -- instead of 1. After looking at this again, I think this is a generic behavior of PC-lisp-complete-symbol in partial completion mode; it happens even outside the minibuffer, and the logic is that PC-lisp-complete-symbol completes the part of the symbol before point. It's arguably true that the alternative behavior you suggested is better, but I think we should leave this alone, at least for now.