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: Sat, 16 Jun 2007 12:01:43 +0200 Message-ID: <4673B507.2040404@gmx.at> References: <46665AD7.7040706@gmx.at> <87k5ueq23m.fsf@kfs-lx.testafd.dk> <87myz8c10t.fsf@jurta.org> <18030.3441.204697.244518@rgrjr.dyndns.org> <87zm3515r4.fsf@jurta.org> <85k5u8x2gm.fsf@lola.goethe.zz> <87r6og6czf.fsf@catnip.gol.com> <85bqfkx0i5.fsf@lola.goethe.zz> <87odjjzaoz.fsf@catnip.gol.com> <46723234.2090704@gmx.at> 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 1181988236 20155 80.91.229.12 (16 Jun 2007 10:03:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 16 Jun 2007 10:03:56 +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 Sat Jun 16 12:03:54 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 1HzV8K-0004Yo-9y for ged-emacs-devel@m.gmane.org; Sat, 16 Jun 2007 12:03:52 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HzV8J-00082U-ST for ged-emacs-devel@m.gmane.org; Sat, 16 Jun 2007 06:03:51 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HzV7k-0007ot-8l for emacs-devel@gnu.org; Sat, 16 Jun 2007 06:03:16 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HzV7h-0007o6-D8 for emacs-devel@gnu.org; Sat, 16 Jun 2007 06:03:14 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HzV7h-0007o3-A7 for emacs-devel@gnu.org; Sat, 16 Jun 2007 06:03:13 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1HzV7g-0005aV-JM for emacs-devel@gnu.org; Sat, 16 Jun 2007 06:03:12 -0400 Original-Received: (qmail invoked by alias); 16 Jun 2007 10:03:11 -0000 Original-Received: from M3109P008.adsl.highway.telekom.at (EHLO [88.117.36.136]) [88.117.36.136] by mail.gmx.net (mp052) with SMTP; 16 Jun 2007 12:03:11 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX19oKxJwCihof5PxJHL5+ThuwLiDEpUMca5w53rHI4 YRW03Eftk6PFbR 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:73053 Archived-At: > I'd rather have a new function than add an argument to string-match. > It will be easier to use and easier to remember. The argument could be 'match-string instead of t so it would be easier to see what an actual call does. And the argument could be for example 'match-beginning so `string-match' would return the begin of the match. `looking-at', `re-search-forward', etc. could be handled the same way. Well, I really don't know. Stefan's arguments didn't convince me entirely but usually he's right. Sometimes he fails to understand more simple-minded programmers' concerns ...