From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Sean O'Rourke" Newsgroups: gmane.emacs.devel Subject: Re: PC-do-completion weird behavior acronym expansion. Date: Sat, 25 Aug 2007 14:24:11 -0700 Message-ID: References: <87odgzxkpk.fsf@lrde.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: sea.gmane.org 1188077087 1663 80.91.229.12 (25 Aug 2007 21:24:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 25 Aug 2007 21:24:47 +0000 (UTC) Cc: emacs-devel@gnu.org To: michael@cadilhac.name (=?iso-8859-1?Q?Micha=EBl?= Cadilhac) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Aug 25 23:24:44 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 1IP37b-00055w-VM for ged-emacs-devel@m.gmane.org; Sat, 25 Aug 2007 23:24:44 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IP37b-0000PK-IV for ged-emacs-devel@m.gmane.org; Sat, 25 Aug 2007 17:24:43 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IP37X-0000Ov-A3 for emacs-devel@gnu.org; Sat, 25 Aug 2007 17:24:39 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IP37V-0000Od-VG for emacs-devel@gnu.org; Sat, 25 Aug 2007 17:24:39 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IP37V-0000Oa-Nf for emacs-devel@gnu.org; Sat, 25 Aug 2007 17:24:37 -0400 Original-Received: from outbound1.ucsd.edu ([132.239.1.205]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IP37U-0004Td-Pl for emacs-devel@gnu.org; Sat, 25 Aug 2007 17:24:37 -0400 Original-Received: from smtp.ucsd.edu (smtp.ucsd.edu [132.239.1.49]) by outbound1.ucsd.edu (8.13.6/8.13.6) with ESMTP id l7PLOJjr052807 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 25 Aug 2007 14:24:20 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; s=2007001; d=ucsd.edu; c=simple; q=dns; b=IUmvPscJrG+yuI3DJ9xHq+zBOsVEGWEhtvVpGTgpdVX253mCPgdneunoV+riXkP6C 1UQ+bjdkIUTVhsQxdXlGw== Original-Received: from dyn128-54-220-221.ucsd.edu (0-16-cb-b9-d7-be.dynamic.ucsd.edu [128.54.54.73]) by smtp.ucsd.edu (8.13.6/8.13.4) with ESMTP id l7PLOC33032755; Sat, 25 Aug 2007 14:24:19 -0700 (PDT) In-Reply-To: <87odgzxkpk.fsf@lrde.org> (=?iso-8859-1?Q?=22Micha=EBl?= Cadilhac"'s message of "Thu\, 23 Aug 2007 00\:34\:15 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (darwin) X-Detected-Kernel: FreeBSD 6.x (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:77159 Archived-At: --=-=-= Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable michael@cadilhac.name (Micha=EBl Cadilhac) writes: > Before that change=A0: > M-x fin-fi RET > Find file: ~/src/emacs/lisp/ > Now=A0: > M-x fin-fi RET=20 > M-x find-file Please try this patch. /s 2007-08-25 Sean O'Rourke * complete.el (PC-do-completion): make RET accept a non-unique but complete expansion again. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment Index: complete.el =================================================================== RCS file: /cvsroot/emacs/emacs/lisp/complete.el,v retrieving revision 1.77 diff -p -u -w -r1.77 complete.el --- complete.el 7 Aug 2007 03:02:04 -0000 1.77 +++ complete.el 25 Aug 2007 21:20:27 -0000 @@ -831,12 +831,12 @@ GOTO-END is non-nil, however, it instead (setq completion-base-size (if dirname dirlength (- beg prompt-end)))))) - (PC-temp-minibuffer-message " [Next char not unique]")))))) - ;; Expansion of filenames is not reversible, so just keep - ;; the prefix. + (PC-temp-minibuffer-message " [Next char not unique]")) + ;; Expansion of filenames is not reversible, + ;; so just keep the prefix. (when (and abbreviated filename) (delete-region (point) end)) - nil) + nil))))) ;; Only one possible completion (t --=-=-= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel --=-=-=--