guile-devel
[Top][All Lists]
Advanced

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

Re: Regex parenthesis handling bug


From: Neil Jerram
Subject: Re: Regex parenthesis handling bug
Date: 24 Oct 2001 22:36:03 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

>>>>> "Gary" == Gary Houston <address@hidden> writes:

    >> From: Neil Jerram <address@hidden> Date: 22 Oct 2001
    >> 23:32:23 +0100
    >> 
    >> But it turns out that the setting of re_syntax_options doesn't
    >> apply to POSIX regcomp, but to the GNUish re_compile_pattern
    >> function.  If I write a new `make-emacs-regexp' primitive using
    >> re_compile_pattern rather than regcomp, it gives the desired
    >> behaviour.
    >> 
    >> That still leaves a problem for non-glibc systems, where Elisp
    >> regex support is concerned, but I guess that can be solved by
    >> including source code from Emacs where necessary.
    >> 

    Gary> I think this would be best organised as a separate module,
    Gary> outside of libguile.  You'd have a configure script to
    Gary> detect glibc or fall back to some other alternative e.g.,
    Gary> require that the Rx library be installed, or include it with
    Gary> the module.

Yes, I think you're probably right.  In any case, it's only an
important problem if and when we get close to having a Guile-based
Emacs.

        Neil




reply via email to

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