Gnus development mailing list
 help / color / mirror / Atom feed
* 0.28 and gnus-article-hide-boring-headers
@ 1996-01-17  8:59 Kai Grossjohann
  1996-01-17 12:27 ` Kai Grossjohann
  0 siblings, 1 reply; 3+ messages in thread
From: Kai Grossjohann @ 1996-01-17  8:59 UTC (permalink / raw)


Hi all,

in gnus.el, at line 13133 in function
gnus-article-hide-boring-headers, I changed the code to read thusly:

	     ((eq elem 'reply-to)
              ;;- Kai added stringp tests here
	      (when (and (stringp (mail-fetch-field "from"))
                         (stringp (mail-fetch-field "reply-to"))
                         (equal (nth 1 (mail-extract-address-components
                                        (mail-fetch-field "from")))
                                (nth 1 (mail-extract-address-components
                                        (mail-fetch-field "reply-to")))))
		(gnus-article-hide-header "reply-to")))

I added the two stringp tests.  Was this the right thing to do?  What
should I have done instead?

The symptom was that mail-extract-address-components got called with a
nil argument which it didn't like at all.

        kai
--
I like both kinds of music.


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

* Re: 0.28 and gnus-article-hide-boring-headers
  1996-01-17  8:59 0.28 and gnus-article-hide-boring-headers Kai Grossjohann
@ 1996-01-17 12:27 ` Kai Grossjohann
  0 siblings, 0 replies; 3+ messages in thread
From: Kai Grossjohann @ 1996-01-17 12:27 UTC (permalink / raw)


>>>>> On Wed, 17 Jan 96 09:59:53 +0100, Kai Grossjohann
>>>>> <grossjoh@dusty.informatik.uni-dortmund.de> said:

  Kai> Hi all, in gnus.el, at line 13133 in function
  Kai> gnus-article-hide-boring-headers, I changed the code to read
  Kai> thusly: [...]

Not only did I put the wrong version number into the subject (should
have been 0.27, of course); even worse: I mailed this twice.  Please
excuse me for that, but 0.27 seemed to think the mail hadn't been sent
yet.

        kai
--
I like both kinds of music.


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

* 0.28 and gnus-article-hide-boring-headers
@ 1996-01-17  8:59 Kai Grossjohann
  0 siblings, 0 replies; 3+ messages in thread
From: Kai Grossjohann @ 1996-01-17  8:59 UTC (permalink / raw)


Hi all,

in gnus.el, at line 13133 in function
gnus-article-hide-boring-headers, I changed the code to read thusly:

	     ((eq elem 'reply-to)
              ;;- Kai added stringp tests here
	      (when (and (stringp (mail-fetch-field "from"))
                         (stringp (mail-fetch-field "reply-to"))
                         (equal (nth 1 (mail-extract-address-components
                                        (mail-fetch-field "from")))
                                (nth 1 (mail-extract-address-components
                                        (mail-fetch-field "reply-to")))))
		(gnus-article-hide-header "reply-to")))

I added the two stringp tests.  Was this the right thing to do?  What
should I have done instead?

The symptom was that mail-extract-address-components got called with a
nil argument which it didn't like at all.

        kai
--
I like both kinds of music.


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

end of thread, other threads:[~1996-01-17 12:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-01-17  8:59 0.28 and gnus-article-hide-boring-headers Kai Grossjohann
1996-01-17 12:27 ` Kai Grossjohann
  -- strict thread matches above, loose matches on Subject: below --
1996-01-17  8:59 Kai Grossjohann

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