Gnus development mailing list
 help / color / mirror / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
To: ding@gnus.org
Subject: Re: Symbol's function definition is void: remove-if-not
Date: Sun, 03 Oct 2010 22:49:10 -0500	[thread overview]
Message-ID: <87eic6hb2h.fsf@lifelogs.com> (raw)
In-Reply-To: <8739sn2tch.fsf@keller.adm.naquadah.org>

On Sun, 03 Oct 2010 17:23:26 +0200 Julien Danjou <julien@danjou.info> wrote: 

JD> On Sun, Oct 03 2010, Stephen Berman wrote:
>> I just updated from the Emacs trunk, built with make bootstrap, started
>> Emacs with my initializations, started Gnus, typed `1 j' to select a
>> group, typed TAB to get a completion list, and got the error in the
>> subject line (in gnus-group-completing-read).  After evalling (require
>> 'cl) the error ceased.

JD> This is a known issue. I've introduced the use of remove-if-not in a
JD> recent patch, and am not smart enough to write a gnus-remove-if(-not)
JD> working on all types of sequence to replace it.

Can you use `gnus-remove-if' with the predicate inverted?

It looks like `remove-if-not' is used in several places actually:

gnus-art.el:         (remove-if-not pred (mailcap-mime-types))
gnus-group.el:                          (remove-if-not 'symbolp collection)))
gnus-score.el:                                            (remove-if-not
gnus-sum.el:             (remove-if-not 'gnus-valid-move-group-p gnus-active-hashtb)
gnus-sum.el:             prom (remove-if-not 'gnus-valid-move-group-p gnus-active-hashtb)

Speaking of gnus-util.el, IMO `gnus-pull' should be renamed.  The name
is really not intuitive.

Ted




  reply	other threads:[~2010-10-04  3:49 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-03 15:13 Stephen Berman
2010-10-03 15:23 ` Julien Danjou
2010-10-04  3:49   ` Ted Zlatanov [this message]
2010-10-04  7:15     ` Katsumi Yamaoka
2010-10-04 16:36       ` Ted Zlatanov
2010-10-04 16:42         ` Lars Magne Ingebrigtsen
2010-10-05  7:32         ` Katsumi Yamaoka
2010-10-08 16:35           ` Ted Zlatanov
2010-10-04 16:30     ` Ted Zlatanov
2010-10-04 16:42       ` Lars Magne Ingebrigtsen
2010-10-08 16:36         ` Ted Zlatanov

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

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

  git send-email \
    --in-reply-to=87eic6hb2h.fsf@lifelogs.com \
    --to=tzz@lifelogs.com \
    --cc=ding@gnus.org \
    /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 NNTP newsgroup(s).