emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: find-file-noselect needs save-match-data


From: David Kastrup
Subject: Re: find-file-noselect needs save-match-data
Date: Mon, 18 Jun 2007 23:42:12 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux)

Richard Stallman <address@hidden> writes:

>     What is the relevant date for a function that never has been
>     different?
>
> I thought you said it had been changed, and complained that the
> change could cause a bug.  I took your word for it.

Oh please.  You took your mistaken recollection of my word for it.  I
certainly _never_ claimed that it had been changed.  I claimed that
the current implementation is arguably wrong in addition to being
unnecesssarily inefficient.

> If `save-match-data' was never changed, then there was no point at
> which a change could have broken anything, thus no issue.

I already gave an explicit Elisp example where save-match-data around
a passage not accessing the match data leads to different results from
not using save-match-data.

So save-match-data is _not_ a noop in the absence of match-string and
similar, and I asked what the rationale was for that (since it
actually is _expensive_ to use markers here).

I still am waiting for any rationale better than "there must be some
reason".

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum




reply via email to

[Prev in Thread] Current Thread [Next in Thread]