[Top][All Lists]

[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: Wed, 13 Jun 2007 00:37:38 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux)

Miles Bader <address@hidden> writes:

> David Kastrup <address@hidden> writes:
>>> How about string-match-no-record?
>> What about string-match-beginning?  Or string-match-save?  Or
>> stealthy-string-match?
> I think all of those are misleading.
> "string-match-reentrant"?

What use is reentrancy in a routine that does not call Lisp and can't
be called in interrupts?

Anyway, such a function should likely _return_ the corresponding
match-data (rather than setting a global variable to it), and things
like match-beginning should optionally take an argument for this
particular match-data.

David Kastrup, Kriemhildstr. 15, 44793 Bochum

reply via email to

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