unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: "Thompson, David" <dthompson2@worcester.edu>
To: Matt Wette <mwette@alumni.caltech.edu>
Cc: 20645@debbugs.gnu.org
Subject: bug#20645: sxml xpath exports "filter"
Date: Tue, 9 Feb 2016 09:16:07 -0500	[thread overview]
Message-ID: <CAJ=RwfYiCKG0dzfi1PJvQTN_F8x=z4bi1bBrvAXYn-w915dr9w@mail.gmail.com> (raw)
In-Reply-To: <9F844ED2-BD66-4422-A616-297AAC34E696@alumni.caltech.edu>

On Mon, Feb 8, 2016 at 11:03 PM, Matt Wette <mwette@alumni.caltech.edu> wrote:
> 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”

Is this really a bug?  The module system allows names to have
different meanings without conflicting in a global namespace.  When
importing a module, you can choose which symbols to import, or prefix
all of the symbols with something.

- Dave





  reply	other threads:[~2016-02-09 14:16 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 [this message]
2016-02-11  6:57   ` Mark H Weaver
2016-06-23 16:42     ` Mark H Weaver

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='CAJ=RwfYiCKG0dzfi1PJvQTN_F8x=z4bi1bBrvAXYn-w915dr9w@mail.gmail.com' \
    --to=dthompson2@worcester.edu \
    --cc=20645@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).