[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Debugger and mode-line
From: |
Lars Hansen |
Subject: |
Re: Debugger and mode-line |
Date: |
Thu, 29 Jun 2006 17:21:39 +0200 |
User-agent: |
Debian Thunderbird 1.0.2 (X11/20060423) |
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.