Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Benjamin Slade <slade@jnanam.net>
To: Eric Abrahamsen <eric@ericabrahamsen.net>
Cc: info-gnus-english@gnu.org
Subject: Re: choose/set from address & gcc-sent_mail
Date: Sun, 27 Dec 2015 22:31:53 -0700	[thread overview]
Message-ID: <87ege7nnp2.fsf@jnanam.net> (raw)
In-Reply-To: <87ege7mllm.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Mon, 28 Dec 2015 09:02:29 +0800")

Eric Abrahamsen <eric@ericabrahamsen.net> writes:

> Benjamin Slade <slade@jnanam.net> writes:
>
>> Is there any way to have Gnus automatically prompt for an account in
>> case none is set, when composing a new mail or replying to an email?
>>
>> I have set:
>>
>> (setq gnus-parameters
>>       '(
>>         ("home"
>>          (posting-style
>>           (address "me@gmail.com")
>>           (gcc "\"nnimap+home:[Gmail].Sent Mail\"")))
>>         ("work"
>>          (posting-style
>>           (address "me@work.com")
>>           (gcc "\"nnimap+work:[Gmail].Sent Mail\"")))
>> ))
>>
>> Which means that if I reply to an email or compose a new email when I'm
>> in nnimap+home:.* or nnimap+work:.* it automatically picks the right
>> from address and puts a copy of the sent mail in the right place.
>>
>> But if I'm in a virtual group or in no group at all, then no Gcc is set,
>> and From is set to
>> "....i-did-not-set--mail-host-address--so-tickle-me". What I would like
>> to do is, in the absence of the account already being properly set, as
>> per the above rules, to prompt me to chose between, say, "home" and
>> "work".
>
> You can stop Gnus tickling you by setting the `user-mail-address' to a
> default "from" value. That will at least prevent you from getting those
> bogus values.
>
> But that won't run the appropriate gnus-parameters, or set any other
> headers up.
>
> There have been a few discussions about this on this and other lists
> recently. Apparently there are a couple of external packages you can
> try: Gnus Pers, and Gnus Alias:
>
> http://www.emacswiki.org/emacs/GnusPers
> http://www.emacswiki.org/emacs/GnusAlias
>
> I haven't tried them, but they are definitely there to solve this sort
> of problem...
>

Thanks. I'll try those out.


  reply	other threads:[~2015-12-28  5:31 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-27 21:51 Benjamin Slade
2015-12-28  1:02 ` Eric Abrahamsen
2015-12-28  5:31   ` Benjamin Slade [this message]
2015-12-28 20:59   ` Benjamin Slade
2015-12-29  1:08     ` Eric Abrahamsen
2015-12-29  4:18       ` Benjamin Slade
     [not found]       ` <mailman.1210.1451362694.843.info-gnus-english@gnu.org>
2015-12-29  9:05         ` Jens Klöcker
2015-12-31  8:53           ` Benjamin Slade

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=87ege7nnp2.fsf@jnanam.net \
    --to=slade@jnanam.net \
    --cc=eric@ericabrahamsen.net \
    --cc=info-gnus-english@gnu.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).