Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Benjamin Slade <slade@jnanam.net>
To: info-gnus-english@gnu.org
Subject: choose/set from address & gcc-sent_mail
Date: Sun, 27 Dec 2015 14:51:49 -0700	[thread overview]
Message-ID: <87vb7jo8zu.fsf@jnanam.net> (raw)

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".

Does anyone have something like this set up?


-- 
( Dr Benjamin Slade . b.slade@utah.edu . http://www.jnanam.net/slade )
 ( Linguistics . University of Utah )
   (pgp_fingerprint: (21BA 2AE1 28F6 DF36 110A 0E9C A320 BBE8 2B52 EE19))
         '(sent by 真/MA Gnus on Emacs running under GNU/Linux)

_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

             reply	other threads:[~2015-12-27 21:51 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-27 21:51 Benjamin Slade [this message]
2015-12-28  1:02 ` Eric Abrahamsen
2015-12-28  5:31   ` Benjamin Slade
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=87vb7jo8zu.fsf@jnanam.net \
    --to=slade@jnanam.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).