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: File name completion glitch Date: Sat, 14 Mar 2009 13:03:24 -0400 Message-ID: <87vdqcca03.fsf@cyd.mit.edu> References: <87mybodr5p.fsf@cyd.mit.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1237050168 15196 80.91.229.12 (14 Mar 2009 17:02:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 14 Mar 2009 17:02:48 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 14 18:04:03 2009 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 1LiXGv-0004BW-LG for ged-emacs-devel@m.gmane.org; Sat, 14 Mar 2009 18:03:41 +0100 Original-Received: from localhost ([127.0.0.1]:33512 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LiXFZ-0007QK-Jx for ged-emacs-devel@m.gmane.org; Sat, 14 Mar 2009 13:02:17 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LiXFU-0007Pc-5q for emacs-devel@gnu.org; Sat, 14 Mar 2009 13:02:12 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LiXFP-0007Ns-6s for emacs-devel@gnu.org; Sat, 14 Mar 2009 13:02:11 -0400 Original-Received: from [199.232.76.173] (port=34396 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LiXFP-0007Np-3R for emacs-devel@gnu.org; Sat, 14 Mar 2009 13:02:07 -0400 Original-Received: from cyd.mit.edu ([18.115.2.24]:41439) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LiXFO-0001OB-Ms for emacs-devel@gnu.org; Sat, 14 Mar 2009 13:02:06 -0400 Original-Received: by cyd.mit.edu (Postfix, from userid 1000) id 8D7E757E211; Sat, 14 Mar 2009 13:03:24 -0400 (EDT) In-Reply-To: <87mybodr5p.fsf@cyd.mit.edu> (Chong Yidong's message of "Sat, 14 Mar 2009 12:07:30 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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:109616 Archived-At: Chong Yidong writes: > In Emacs 23, I get this: > > Save MIME part to: ~/mys_foo.txt > [TAB] > Save MIME part to: ~/mys_foo.txt [No match] > > This happens because the TAB now takes into account the minibuffer > contents after the cursor. > > Stefan, can you suggest a way to fix this problem? The easiest "fix" is to add `emacs22' to the last element of `completion-styles', which causing Emacs to fall back on Emacs 22 completion rules if the Emacs 23 rules don't return a match. Is there any reason not to do this anyway?