emacs-wiki-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [emacs-wiki-discuss] Re: Invalid address: nil


From: vrtprj.com
Subject: Re: [emacs-wiki-discuss] Re: Invalid address: nil
Date: Sat, 26 Jun 2004 08:57:41 +0200
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>>>>> "vrtprj" writes:

>>>>> "Sacha" == Sacha Chua <address@hidden> writes:
    Sacha> Hmm. Are you doing "A n" from the summary or message? It looks like
    Sacha> you're doing it from the message. Could you please try planner/125?
    Sacha> If this still fails, I'd like you to evaluate the following from
    Sacha> the offending message buffer

    Sacha> (planner-gnus-get-address "To") (This should be non-nil)
    Sacha> (get-buffer gnus-article-buffer) (get-buffer
    Sacha> gnus-original-article-buffer)

    vrtprj> Sorry, I should have explained that better. I tried both, from the
    vrtprj> message and the summary buffer. Same result.

    vrtprj> Evaluating (planner-gnus-get-address "To") helped, with rev 126:

    vrtprj> - it worked with "real" mail messages, there "A n" worked too;

    vrtprj> - with messages from usenet newsgroups or imported rss feeds (via
    vrtprj> nntprss) it failed, there "A n" didn't work. Of course there is no
    vrtprj> "To" address, only a sender (From) in these kinds of messages.

    vrtprj> With previous Planner version "A n" worked with all these
    vrtprj> messages.

I think I found the problem:

in planner-gnus-annotation-from-message and -summary this mechanism is employed:
,----
| (concat "E-Mail "
|                  (if (and planner-ignored-from-addresses
|                           (string-match
|                            planner-ignored-from-addresses from))
|                      (concat "to " (planner-get-name-from-address
|                                     (planner-gnus-get-address "To")))
|                    (concat "from " (planner-get-name-from-address
|                                     from)))))))))
`----

This seems to work properly as long as planner-ignored-from-addresses is nil!
I found out that in my setup is was "" (empty string) -- I never set this one
consciously, could it be that customize did this? 

If planner-ignored-from-addresses is "" then Planner always looks for the To
field, which aren't present in newsgroups etc.

Setting planner-ignored-from-addresses to nil seems to solve the
problem. I'll test some more.

Thanks again for your help!
Rainer

- -- 
Rainer Volz
Virtuelle Projekte -- www.vrtprj.de
Virtual Projects   -- www.vrtprj.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iD8DBQFA3R5LenjtlV2FwvQRAkQTAJ9YESHZtpx8zuyYsJejzYgr5ZU4qwCgmnjs
W8MD8Hg81IpVrXw8fTWQEL8=
=paVi
-----END PGP SIGNATURE-----





reply via email to

[Prev in Thread] Current Thread [Next in Thread]