From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: find-file-noselect needs save-match-data Date: Wed, 06 Jun 2007 08:58:37 +0200 Message-ID: <46665B1D.8000005@gmx.at> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1181113237 11380 80.91.229.12 (6 Jun 2007 07:00:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 6 Jun 2007 07:00:37 +0000 (UTC) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Herbert Euler Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 06 09:00:36 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 1HvpVT-0001rs-Fl for ged-emacs-devel@m.gmane.org; Wed, 06 Jun 2007 09:00:36 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HvpVS-00086v-D9 for ged-emacs-devel@m.gmane.org; Wed, 06 Jun 2007 03:00:34 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HvpUq-0007pE-Js for emacs-devel@gnu.org; Wed, 06 Jun 2007 02:59:56 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HvpUo-0007ou-LH for emacs-devel@gnu.org; Wed, 06 Jun 2007 02:59:55 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HvpUo-0007op-GJ for emacs-devel@gnu.org; Wed, 06 Jun 2007 02:59:54 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1HvpUm-0006z8-Hs for emacs-devel@gnu.org; Wed, 06 Jun 2007 02:59:53 -0400 Original-Received: (qmail invoked by alias); 06 Jun 2007 06:59:44 -0000 Original-Received: from N805P011.adsl.highway.telekom.at (EHLO [62.47.44.139]) [62.47.44.139] by mail.gmx.net (mp043) with SMTP; 06 Jun 2007 08:59:44 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX19dPsZav0JdNnUvmEb/Zz7NWVMRvVp81ZMMRJ0sIB 2miZCJ7AatWgfl User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en In-Reply-To: X-Y-GMX-Trusted: 0 X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) 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:72314 Archived-At: > I don't understand. In this case, `find-file-noselect' uses regexps, > and is placed on `post-command-hook' indirectly (I don't know whether > `post-command-hook' is sensitive). Every hook is sensitive. > Following your opinion, I conclude that it's type-break's > responsibility to know `find-file-noselect' uses regexps and so it > should use `save-match-data' when placing it to `post-command-hook'. > While the name `find-file-noselect' does not indicate it uses regexps, > and so does its document, it is more or less not appropriate of this > conclusion to me. In any case we fill the stack with unneeded match-data.