unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: Mark H Weaver <mhw@netris.org>
To: Matt Wette <mwette@alumni.caltech.edu>
Cc: 20645-done@debbugs.gnu.org
Subject: bug#20645: sxml xpath exports "filter"
Date: Thu, 23 Jun 2016 12:42:55 -0400	[thread overview]
Message-ID: <87por7rh4g.fsf@netris.org> (raw)
In-Reply-To: <87ziv7n38y.fsf@netris.org> (Mark H. Weaver's message of "Thu, 11 Feb 2016 01:57:17 -0500")

Mark H Weaver <mhw@netris.org> writes:

> Matt Wette <mwette@alumni.caltech.edu> writes:
>
>> This is a very annoying "bug".  The (sxml xpath) “filter” procedure overrides the builtin guile “filter”.
>>
>> I believe the fix can be implemented with the following changes to (sxml xpath):
>> 1) (define node-filter filter)
>> 2) In the #:export list, replace “filter” with “node-filter”
>
> We can't do this because it would break existing code that uses 'filter'
> from (sxml xpath), and also introduce a Guile-specific change to the API
> of a portable library.
>
> However, you can rename 'filter' at import time as follows:
>
>   (use-modules ((sxml xpath) #:select ((filter . node-filter))))
>
> Does this work for you?

Having not heard back for 19 weeks, I'm closing this bug now.

      Mark





      reply	other threads:[~2016-06-23 16:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-24 15:34 bug#20645: sxml xpath exports "filter" Matt Wette
2016-02-09  4:03 ` Matt Wette
2016-02-09 14:16   ` Thompson, David
2016-02-11  6:57   ` Mark H Weaver
2016-06-23 16:42     ` Mark H Weaver [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87por7rh4g.fsf@netris.org \
    --to=mhw@netris.org \
    --cc=20645-done@debbugs.gnu.org \
    --cc=mwette@alumni.caltech.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).