From: Harry Putnam <reader@newsguy.com>
Subject: Re: [gnu.emacs.gnus] Forcing the sender address in Posting Styles
Date: Fri, 19 Apr 2002 19:48:14 -0700 [thread overview]
Message-ID: <m18z7jgk5t.fsf@reader.newsguy.com> (raw)
In-Reply-To: <m3hem7yult.fsf@fermat.mts.jhu.edu> (Nevin Kapur's message of "Fri, 19 Apr 2002 22:25:18 -0400")
Nevin Kapur <nevin@jhu.edu> writes:
> Harry Putnam <reader@newsguy.com> writes:
>
>> (defun message-make-fqdn ()
>> "My hacked message-id."
>> "reader.newsguy.com")
>
>> I want to do this in the Group Params of a group devoted to
>> reader_dsl, where From: and a few other things are already setup in
>> Group Params.
>>
>> ((gcc-self . t)
>> (posting-style
>> (name "Harry Putnam")
>> (address "<reader@dslextreme.com>")))
>>
>>
>> How can I stick the hack in there too?
>
> Not sure if this will work but you could try the (VARIABLE FORM) trick
> described in the manual -- something like
>
> (dummy (defun message-make-fqdn () "" "reader.newsguy.com"))
>
> This should evaluate the form each time you enter the group. I don't
> know how to reset it back short of having such a parameter in each
> group. If you use topics you could add the default to the parameters
> of the top-level topic.
Oh, I always forget about that dummy technique. I've used it before
too, but you point out a more serious flaw in my approach. I hadn't
even considered it would need resetting. But of course it would. I
wonder if something could be tied to C-c C-c that would reset it?
Something like you might do in shell with an if/else
prev parent reply other threads:[~2002-04-20 2:48 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-19 23:12 Harry Putnam
2002-04-20 2:25 ` Nevin Kapur
2002-04-20 2:33 ` Paul Jarc
2002-04-20 2:43 ` Harry Putnam
2002-04-22 8:19 ` Kai Großjohann
2002-04-20 2:48 ` Harry Putnam [this message]
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=m18z7jgk5t.fsf@reader.newsguy.com \
--to=reader@newsguy.com \
/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).