From: Reiner Steib <4uce.02.r.steib@gmx.net>
Subject: Re: [Patch] MFT in mml-preview
Date: Mon, 30 Dec 2002 20:54:56 +0100 [thread overview]
Message-ID: <v9lm275lkf.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <m3bs33l3o5.fsf@quimbies.gnus.org> (Lars Magne Ingebrigtsen's message of "Mon, 30 Dec 2002 20:14:50 +0100")
On Mon, Dec 30 2002, Lars Magne Ingebrigtsen wrote:
> Reiner Steib <4uce.02.r.steib@gmx.net> writes:
>
>> I added this to `mml.el'. Probably it would be better not to
>> duplicate code from `message.el', but I'm not sure how to do this.
>
> You could try to factor out the common forms into a function or a
> macro, I guess...
The common part is the condition:
(and (or message-subscribed-regexps
message-subscribed-addresses
message-subscribed-address-file
message-subscribed-address-functions)
(not (mail-fetch-field "mail-followup-to")))
The four message-subscribed-* could be collected...
(defun message-subscribed-FOO-p ()
(or message-subscribed-regexps
message-subscribed-addresses
message-subscribed-address-file
message-subscribed-address-functions))
...and we could use "(message-subscribed-FOO-p)" in both, mml.el and
message.el. Does this make sense?
> Anyway, these changes are so big that it requires FSF paperwork.
I have signed the papers.
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- PGP key available via WWW http://rsteib.home.pages.de/
next prev parent reply other threads:[~2002-12-30 19:54 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-30 18:59 Reiner Steib
2002-12-30 19:14 ` Lars Magne Ingebrigtsen
2002-12-30 19:54 ` Reiner Steib [this message]
2002-12-30 20:21 ` Lars Magne Ingebrigtsen
2002-12-30 22:04 Reiner Steib
2002-12-30 22:24 ` Lars Magne Ingebrigtsen
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=v9lm275lkf.fsf@marauder.physik.uni-ulm.de \
--to=4uce.02.r.steib@gmx.net \
--cc=reiner.steib@gmx.de \
/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).