From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Katsumi Yamaoka <yamaoka@jpl.org>
Cc: emacs-devel@gnu.org, ding@gnus.org
Subject: Re: functionp bug
Date: Mon, 07 Apr 2008 12:04:06 -0400 [thread overview]
Message-ID: <jwviqytwt2f.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <b4mej9ih34e.fsf@jpl.org> (Katsumi Yamaoka's message of "Mon, 07 Apr 2008 10:20:49 +0900")
> * subr.el (functionp): Return nil for special forms.
> Because of this, the `file' mail source without the :path spec,
> i.e. (setq mail-sources '((file))), for Gnus doesn't work as
> follows:
> (mail-source-value (cadr (assq :path (assq 'file mail-source-keyword-map))))
> => (or (getenv "MAIL")
> (expand-file-name (user-login-name) rmail-spool-directory))
I've installed the patch below which should fix it.
Stefan
--- mail-source.el.~1.38.~ 2008-03-30 10:39:37.000000000 -0400
+++ mail-source.el 2008-04-07 12:02:53.000000000 -0400
@@ -500,8 +500,7 @@
((stringp value)
value)
;; Function
- ((and (listp value)
- (functionp (car value)))
+ ((and (listp value) (symbolp (car value)) (fboundp (car value)))
(eval value))
;; Just return the value.
(t
next prev parent reply other threads:[~2008-04-07 16:04 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-07 1:20 Katsumi Yamaoka
2008-04-07 16:04 ` Stefan Monnier [this message]
2008-04-07 18:34 ` Romain Francoise
2008-04-07 19:26 ` Stefan Monnier
2008-04-07 21:27 ` Manoj Srivastava
2008-04-07 21:50 ` Reiner Steib
2008-04-07 18:40 ` Reiner Steib
2008-04-07 19:23 ` Stefan Monnier
2008-04-09 7:56 ` Katsumi Yamaoka
2008-04-09 8:54 ` Andreas Schwab
2008-04-09 10:34 ` Richard Stallman
2008-04-09 14:22 ` Stefan Monnier
2008-04-09 14:26 ` Stefan Monnier
2008-04-09 22:53 ` Katsumi Yamaoka
2008-04-10 1:36 ` Stefan Monnier
2008-04-10 2:02 ` Katsumi Yamaoka
2008-04-10 10:44 ` Reiner Steib
2008-04-10 11:19 ` Katsumi Yamaoka
2008-04-10 11:38 ` Reiner Steib
2008-04-10 11:57 ` Katsumi Yamaoka
2008-04-10 18:24 ` Stefan Monnier
2008-04-10 19:12 ` Reiner Steib
2008-04-10 21:17 ` Stefan Monnier
2008-04-10 22:13 ` Reiner Steib
2008-04-09 22:34 ` Johan Bockgård
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=jwviqytwt2f.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=ding@gnus.org \
--cc=emacs-devel@gnu.org \
--cc=yamaoka@jpl.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).