From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Herbert Euler" Newsgroups: gmane.emacs.devel Subject: Re: find-file-noselect needs save-match-data Date: Sat, 16 Jun 2007 00:03:01 +0800 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-Trace: sea.gmane.org 1181923693 15926 80.91.229.12 (15 Jun 2007 16:08:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 15 Jun 2007 16:08:13 +0000 (UTC) Cc: miles.bader@necel.com, schwab@suse.de, emacs-devel@gnu.org, juri@jurta.org, monnier@iro.umontreal.ca, miles@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 15 18:08:09 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 1HzELH-0000Kj-Vq for ged-emacs-devel@m.gmane.org; Fri, 15 Jun 2007 18:08:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HzELD-00074U-TI for ged-emacs-devel@m.gmane.org; Fri, 15 Jun 2007 12:08:03 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HzEGU-0004Gi-7z for emacs-devel@gnu.org; Fri, 15 Jun 2007 12:03:10 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HzEGT-0004GI-AQ for emacs-devel@gnu.org; Fri, 15 Jun 2007 12:03:09 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HzEGT-0004GC-4T for emacs-devel@gnu.org; Fri, 15 Jun 2007 12:03:09 -0400 Original-Received: from bay0-omc3-s18.bay0.hotmail.com ([65.54.246.218]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HzEGQ-0004Bn-Lo; Fri, 15 Jun 2007 12:03:06 -0400 Original-Received: from hotmail.com ([65.55.154.115]) by bay0-omc3-s18.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2668); Fri, 15 Jun 2007 09:03:05 -0700 Original-Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 15 Jun 2007 09:03:04 -0700 Original-Received: from 65.55.154.123 by by143fd.bay143.hotmail.msn.com with HTTP; Fri, 15 Jun 2007 16:03:01 GMT X-Originating-IP: [221.223.221.87] X-Originating-Email: [herberteuler@hotmail.com] X-Sender: herberteuler@hotmail.com In-Reply-To: X-OriginalArrivalTime: 15 Jun 2007 16:03:04.0967 (UTC) FILETIME=[A85EF970:01C7AF66] X-detected-kernel: Windows 2000 SP4, XP SP1+ 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:72966 Archived-At: > Finally, I knew it's in type-break, and then I knew > the problem is caused by `find-file-noselect' which is put on > `post-command-hook' and changes the match data. > >I think it is a bug to expect the match data to be preserved across >`post-command-hook'. Which code expects that? We should fix that >code to protect itself. Then currently nothing needs to be fixed. The code that expects it is me, when I studied the Emacs source. And I (with Stefan's and your help) have fixed this code. Thank you. Regards, Guanpeng Xu _________________________________________________________________ Don't just search. Find. Check out the new MSN Search! http://search.msn.com/