From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mark H Weaver Newsgroups: gmane.lisp.guile.bugs Subject: bug#20645: sxml xpath exports "filter" Date: Thu, 23 Jun 2016 12:42:55 -0400 Message-ID: <87por7rh4g.fsf@netris.org> References: <58CFEC81-0925-474C-973A-40AA746844AC@alumni.caltech.edu> <9F844ED2-BD66-4422-A616-297AAC34E696@alumni.caltech.edu> <87ziv7n38y.fsf@netris.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1466701454 2085 80.91.229.3 (23 Jun 2016 17:04:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 23 Jun 2016 17:04:14 +0000 (UTC) Cc: 20645-done@debbugs.gnu.org To: Matt Wette Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Thu Jun 23 19:04:04 2016 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bG82p-0001uh-Om for guile-bugs@m.gmane.org; Thu, 23 Jun 2016 19:03:59 +0200 Original-Received: from localhost ([::1]:38127 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bG82o-0005z5-Oe for guile-bugs@m.gmane.org; Thu, 23 Jun 2016 13:03:58 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45716) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bG7jc-0000le-UZ for bug-guile@gnu.org; Thu, 23 Jun 2016 12:44:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bG7jW-0004TU-Ub for bug-guile@gnu.org; Thu, 23 Jun 2016 12:44:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:40555) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bG7jW-0004TO-RC for bug-guile@gnu.org; Thu, 23 Jun 2016 12:44:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bG7jW-0006ur-Mw for bug-guile@gnu.org; Thu, 23 Jun 2016 12:44:02 -0400 Resent-From: Mark H Weaver Original-Sender: "Debbugs-submit" Resent-To: bug-guile@gnu.org Resent-Date: Thu, 23 Jun 2016 16:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 20645 X-GNU-PR-Package: guile X-GNU-PR-Keywords: Mail-Followup-To: 20645@debbugs.gnu.org, mhw@netris.org, mwette@alumni.caltech.edu Original-Received: via spool by 20645-done@debbugs.gnu.org id=D20645.146670019426517 (code D ref 20645); Thu, 23 Jun 2016 16:44:02 +0000 Original-Received: (at 20645-done) by debbugs.gnu.org; 23 Jun 2016 16:43:14 +0000 Original-Received: from localhost ([127.0.0.1]:52892 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bG7ik-0006td-3T for submit@debbugs.gnu.org; Thu, 23 Jun 2016 12:43:14 -0400 Original-Received: from world.peace.net ([50.252.239.5]:35289) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bG7ii-0006tQ-Hm for 20645-done@debbugs.gnu.org; Thu, 23 Jun 2016 12:43:12 -0400 Original-Received: from c-73-253-48-168.hsd1.ma.comcast.net ([73.253.48.168] helo=jojen) by world.peace.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1bG7ic-0000wf-Kp; Thu, 23 Jun 2016 12:43:06 -0400 In-Reply-To: <87ziv7n38y.fsf@netris.org> (Mark H. Weaver's message of "Thu, 11 Feb 2016 01:57:17 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.95 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: "bug-guile" Xref: news.gmane.org gmane.lisp.guile.bugs:8173 Archived-At: Mark H Weaver writes: > Matt Wette writes: > >> This is a very annoying "bug". The (sxml xpath) =E2=80=9Cfilter=E2=80= =9D procedure overrides the builtin guile =E2=80=9Cfilter=E2=80=9D. >> >> 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 =E2=80=9Cfilter=E2=80=9D with =E2=80=9C= node-filter=E2=80=9D > > 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