Gnus development mailing list
 help / color / mirror / Atom feed
From: Vincent Bernat <bernat@luffy.cx>
To: dick.r.chiang@gmail.com
Cc: Pankaj Jangid <p4j@j4d.net>,  ding@gnus.org
Subject: Re: How to change from address while in message buffer?
Date: Tue, 07 Jan 2020 07:28:50 +0100	[thread overview]
Message-ID: <m3eewbu6e5.fsf@luffy.cx> (raw)
In-Reply-To: <874kx8tg69.fsf@dick> (dick r. chiang's message of "Mon, 06 Jan 2020 16:42:54 -0500")

 ❦  6 janvier 2020 16:42 -05, dick.r.chiang@gmail.com:

> PJ> how can I change the *From* header to something other than my default
> PJ> user-mail-address.
>
> Contextually setting the *From* header based on whichever imap account I was
> reading from proved a fairly tough problem.  I eventually got it right, but
> not before embarrassingly sending replies from my personal email address to my
> professional one.
>
> I am very curious how others deal with what must be a very common
> problem.

I am using gnus-posting-styles along with gnus-identities:

https://github.com/vincentbernat/dot.emacs/blob/master/lisp/vbe-gnus-identities.el#L32-L91
-- 
Don't stop with your first draft.
            - The Elements of Programming Style (Kernighan & Plauger)



  parent reply	other threads:[~2020-01-07  6:28 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-06  9:57 Pankaj Jangid
2020-01-06 21:42 ` dick.r.chiang
2020-01-06 22:33   ` Eric Abrahamsen
2020-01-06 23:39     ` dick.r.chiang
2020-01-07  4:12       ` Eric Abrahamsen
2020-01-07  6:29         ` Pankaj Jangid
2020-01-07 17:32           ` If you read this instead of my name it worked for me
2020-01-07 17:43           ` Eric Abrahamsen
2020-01-07  6:28   ` Vincent Bernat [this message]
2020-01-09  1:55     ` 황병희
2020-01-10  5:59       ` Bob Newell
2020-01-18  1:59         ` 황병희
2020-01-07  7:58   ` Vegard Vesterheim
2020-01-07 10:44     ` Pankaj Jangid
2020-01-07 11:41       ` Vegard Vesterheim
2020-01-07 16:19         ` Pankaj Jangid
2020-01-06 22:08 ` Malcolm Purvis
2020-01-07  6:38   ` Pankaj Jangid
2020-02-07 13:42     ` Helmut Waitzmann
2020-02-07 22:09     ` Helmut Waitzmann

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=m3eewbu6e5.fsf@luffy.cx \
    --to=bernat@luffy.cx \
    --cc=dick.r.chiang@gmail.com \
    --cc=ding@gnus.org \
    --cc=p4j@j4d.net \
    /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).