From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Hansen Newsgroups: gmane.emacs.devel Subject: Re: Debugger and mode-line Date: Thu, 29 Jun 2006 17:21:39 +0200 Message-ID: <44A3F003.4010802@soem.dk> References: <44A2B0A0.8060601@soem.dk> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1151594572 643 80.91.229.2 (29 Jun 2006 15:22:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 29 Jun 2006 15:22:52 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 29 17:22:50 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FvyLN-00005q-U8 for ged-emacs-devel@m.gmane.org; Thu, 29 Jun 2006 17:22:14 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FvyLN-0007K0-DY for ged-emacs-devel@m.gmane.org; Thu, 29 Jun 2006 11:22:13 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FvyLC-0007Jl-8T for emacs-devel@gnu.org; Thu, 29 Jun 2006 11:22:02 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FvyL9-0007JP-WB for emacs-devel@gnu.org; Thu, 29 Jun 2006 11:22:01 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FvyL9-0007JM-RD for emacs-devel@gnu.org; Thu, 29 Jun 2006 11:21:59 -0400 Original-Received: from [212.99.225.245] (helo=odin.broadcom.dk) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FvyXT-0002b0-4n; Thu, 29 Jun 2006 11:34:43 -0400 Original-Received: from pppoe3-ves.broadcom.dk ([212.99.255.42] helo=[10.17.0.131]) by odin.broadcom.dk with esmtp (Exim 4.24; FreeBSD) id 1FvyJR-000G8U-N8; Thu, 29 Jun 2006 17:20:13 +0200 User-Agent: Debian Thunderbird 1.0.2 (X11/20060423) X-Accept-Language: en-us, en Original-To: rms@gnu.org In-Reply-To: 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:56295 Archived-At: Richard Stallman wrote: > Is this a debugger bug? Or should evaluation of the mode-line save > match-data? > >It should save the match-data, because it is a generally useful >function and regexp matching is not part of its _purpose_. > > I agree that abbreviate-file-name should save match data. But what I meant was: Maybe Emacs should save match data when *evaluating the modeline*. Otherwise someone will run into the problem of malfunctioning debugger because they happen to have something else in the modeline that overwrite match data.