From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/4761 Path: main.gmane.org!not-for-mail From: Jari Aalto Newsgroups: gmane.emacs.gnus.general Subject: Re2: 0.28 and gnus-article-hide-boring-headers Date: Wed, 17 Jan 1996 14:17:17 +0200 Message-ID: <199601171217.OAA01990@aapo.tele.nokia.fi> Reply-To: (Jari Aalto, Finland) NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035145463 30706 80.91.224.250 (20 Oct 2002 20:24:23 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 20:24:23 +0000 (UTC) Cc: ding@ifi.uio.no Return-Path: ding-request@ifi.uio.no Original-Received: from ifi.uio.no (ifi.uio.no [129.240.64.2]) by miranova.com (8.7.3/8.6.9) with SMTP id FAA02879 for ; Wed, 17 Jan 1996 05:23:00 -0800 Original-Received: from noknic.nokia.com (noknic.nokia.com [131.228.6.10]) by ifi.uio.no with ESMTP (8.6.11/ifi2.4) id for ; Wed, 17 Jan 1996 13:18:55 +0100 Original-Received: from zeus.tele.nokia.fi (zeus.tele.nokia.fi [131.228.134.50]) by noknic.nokia.com (8.6.9/8.6.9) with ESMTP id OAA26948; Wed, 17 Jan 1996 14:17:32 +0200 Original-Received: from aapo.tele.nokia.fi (aapo.tele.nokia.fi [131.228.134.64]) by zeus.tele.nokia.fi (8.6.4/8.6.4) with ESMTP id OAA26503; Wed, 17 Jan 1996 14:15:19 +0200 Original-Received: from localhost (jaalto@localhost) by aapo.tele.nokia.fi (8.6.4/8.6.4) id OAA01990; Wed, 17 Jan 1996 14:17:17 +0200 Original-To: grossjoh@charly.informatik.uni-dortmund.de Xref: main.gmane.org gmane.emacs.gnus.general:4761 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:4761 |Wed 17.1.96, Kai Grossjohann | 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"))) And one thing more, that I just heard. The function 'equal' does not work correcly for strings in 19.30 . If two strings have different text properties, it will fail. Instead all string comparisons should be done with string-equal. [I'm still 19.28 user...] /jari