From: Pavel.Janik@inet.cz (Pavel Janík ml.)
Cc: GNUS mailing list <ding@gnus.org>
Subject: Re: People with From: <mail@domain.com>
Date: 26 Apr 2000 22:59:02 +0200 [thread overview]
Message-ID: <m3bt2wwpd5.fsf@SnowWhite.inet.cz> (raw)
In-Reply-To: Erik Toubro Nielsen's message of "26 Apr 2000 16:05:54 +0200"
From: Erik Toubro Nielsen <erik@ifad.dk>
Date: 26 Apr 2000 16:05:54 +0200
Hi,
[...]
> Please try this patch I have used for some time. It works by returning
> the same list as mail-extract-address-components, the other suggested
> value of the variable gnus-extract-address-components. The problem is
> that name is never false in the (or name from) test, so name is always
> returned even when being an empty string.
>
> --- gnus-util.el.~1~ Thu Feb 17 16:14:45 2000
> +++ gnus-util.el Wed Apr 26 15:49:33 2000
> @@ -164,8 +164,8 @@
> (and (string-match "(.*" from)
> (setq name (substring from (1+ (match-beginning 0))
> (match-end 0)))))
> - ;; Fix by Hallvard B Furuseth <h.b.furuseth@usit.uio.no>.
> - (list (or name from) (or address from))))
> + (list (if (string= name "") nil name) (or address from))))
> +
>
> (defun gnus-fetch-field (field)
> "Return the value of the header FIELD of current article."
>
yes, that works too. Can this be added to CVS?
--
Pavel Janík ml.
Pavel.Janik@inet.cz
next prev parent reply other threads:[~2000-04-26 20:59 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-04-22 9:55 Pavel.Janik
2000-04-22 11:09 ` Lars Magne Ingebrigtsen
2000-04-23 20:07 ` Pavel.Janik
2000-04-24 14:31 ` Lars Magne Ingebrigtsen
2000-04-24 17:04 ` Pavel Janik ml.
2000-04-24 18:39 ` Kai Großjohann
2000-04-24 18:56 ` Pavel Janík ml.
2000-04-25 11:04 ` Kai Großjohann
2000-04-25 11:38 ` Lars Magne Ingebrigtsen
2000-04-25 11:35 ` Kai Großjohann
2000-04-25 20:03 ` Florian Weimer
2000-04-25 20:15 ` Kai Großjohann
2000-04-26 17:14 ` Florian Weimer
2000-04-26 17:29 ` Shenghuo ZHU
2000-04-26 18:06 ` Florian Weimer
2000-04-26 18:15 ` Shenghuo ZHU
2000-04-25 13:36 ` Pavel Janík ml.
2000-04-25 14:47 ` Kai Großjohann
2000-04-25 15:31 ` Pavel Janík ml.
2000-04-25 17:10 ` Kai Großjohann
2000-04-25 10:45 ` Florian Weimer
2000-04-25 11:11 ` Kai Großjohann
2000-04-25 6:42 ` Jaap-Henk Hoepman
2000-04-26 14:05 ` Erik Toubro Nielsen
2000-04-26 20:59 ` Pavel Janík ml. [this message]
2000-04-28 2:00 ` Shenghuo ZHU
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=m3bt2wwpd5.fsf@SnowWhite.inet.cz \
--to=pavel.janik@inet.cz \
--cc=ding@gnus.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).