Gnus development mailing list
 help / color / mirror / Atom feed
* Where is member-if defined?
@ 2000-02-13 18:30 John Daschbach
  2000-02-13 18:46 ` Hrvoje Niksic
  2000-02-13 19:14 ` Simon Josefsson
  0 siblings, 2 replies; 3+ messages in thread
From: John Daschbach @ 2000-02-13 18:30 UTC (permalink / raw)


I finally got imap support working in gnus but after one use it's
broken.  The initial problem was that I defined 

(setq nnimap-debug (not nil))

which breaks imap support and which took me forever to track down.  Even
with debug-on-error set true I couldn't figure where the error was
occuring, just that I got an illegal type error.  I still haven't fixed
that problem, just turned off debugging.

Now, I get an undefined function 'member-if' which occurs in the
following fragment in nnimap.el

(or (member-if (lambda (mailbox)
			   (string= (downcase mailbox) "\\noselect"))
			 (imap-mailbox-get 'list-flags mbx
					   nnimap-server-buffer))

I've grepped both the gnus (9 Feb 2000 CVS update) and Emacs (20.3) lisp
directories and this is in fact the only reference to this function in
any of these locations.

So what should I do?  I'd really like to get imap working in gnus.

-John



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Where is member-if defined?
  2000-02-13 18:30 Where is member-if defined? John Daschbach
@ 2000-02-13 18:46 ` Hrvoje Niksic
  2000-02-13 19:14 ` Simon Josefsson
  1 sibling, 0 replies; 3+ messages in thread
From: Hrvoje Niksic @ 2000-02-13 18:46 UTC (permalink / raw)


John Daschbach <jldasch@3-cities.com> writes:

> Now, I get an undefined function 'member-if' which occurs in the
> following fragment in nnimap.el
> 
> (or (member-if (lambda (mailbox)
> 			   (string= (downcase mailbox) "\\noselect"))
> 			 (imap-mailbox-get 'list-flags mbx
> 					   nnimap-server-buffer))

It's defined in cl-seq.el.  You get it with (require 'cl).

> I've grepped both the gnus (9 Feb 2000 CVS update) and Emacs (20.3)
> lisp directories

Are you sure you can't find it in
`/usr/local/share/emacs/20.3/lisp/emacs-lisp/cl-seq.el'?



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Where is member-if defined?
  2000-02-13 18:30 Where is member-if defined? John Daschbach
  2000-02-13 18:46 ` Hrvoje Niksic
@ 2000-02-13 19:14 ` Simon Josefsson
  1 sibling, 0 replies; 3+ messages in thread
From: Simon Josefsson @ 2000-02-13 19:14 UTC (permalink / raw)
  Cc: Gnus List

John Daschbach <jldasch@3-cities.com> writes:

> (setq nnimap-debug (not nil))

Try `(setq nnimap-debug "*nnimap-debug*")'. Or rather, don't, it will
slow down nnimap and usually isn't very useful anyway.

`(setq imap-log "*imap-log*")' might be useful in debugging.

> Now, I get an undefined function 'member-if'

`member-if' is defined in cl-seq.el which come with emacs. I think
something is wrong with your emacs installation.



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2000-02-13 19:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-02-13 18:30 Where is member-if defined? John Daschbach
2000-02-13 18:46 ` Hrvoje Niksic
2000-02-13 19:14 ` Simon Josefsson

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).