emacs-devel
[Top][All Lists]
Advanced

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

Re: Discrepancy in definition/use of match-data?


From: Stephen J. Turnbull
Subject: Re: Discrepancy in definition/use of match-data?
Date: Mon, 14 Jun 2004 14:06:58 +0900
User-agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.5 (chayote, linux)

>>>>> "rms" == Richard Stallman <address@hidden> writes:

    rms> sjt writes:

    On the other hand, pretty much any time any Lisp code intervenes
    between the return of the matching function and entry to the match
    data access there is an opportunity for a hook or handler to be
    called.

    rms> That is rather an exaggeration.

Exaggeration, sure.  But it contains a kernel of truth.

    rms> Most of the Lisp functions described in the manual cannot
    rms> call any hook.

True, but not relevant unless you know which ones they are.  Offhand,
I don't, and the docstrings/source comments are less than 100%
reliable.

Anyway, I've implemented a last-match-succeeded flag (for debug usage
only) and check it in match_limits and Fmatch_data (when XEmacs is
configured for error-checking).  If we catch anything that looks
relevant to GNU Emacs I'll report it here.


-- 
Institute of Policy and Planning Sciences     http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba                    Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
               Ask not how you can "do" free software business;
              ask what your business can "do for" free software.




reply via email to

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