In article <[EMAIL PROTECTED]>, Miles Bader <[EMAIL PROTECTED]> writes:

> Hmmm, I see the following in referenced in various places in regex.c,
> and it seems to be set by Emacs callers to the regex functions:

>    /* In Emacs, this is the string or buffer in which we
>       are matching.  It is used for looking up syntax properties.     */
>    Lisp_Object re_match_object;

> search.c sets it to nil for the current buffer (and the string in the
> case of a string); if word_boundary_p were just passed this object and
> the position as extra arguments...?

Ah!  Thank you for the info.  I didn't know about that
variable.  Hmmm, it seems that we can use it.

>>   And first of all, is re_match_2_internal a safe place
>>  to call a Lisp function?

> Good question ... :-/

When I find a time, I'll implement and test it in the
Unicode branch.

---
Ken'ichi HANDA
[EMAIL PROTECTED]


_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

Reply via email to