unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "積丹尼 Dan Jacobson" <jidanni@jidanni.org>
To: 38169@debbugs.gnu.org
Subject: bug#38169: Idea: custom From names ("From Personalities")
Date: Mon, 11 Nov 2019 09:48:05 +0800	[thread overview]
Message-ID: <87o8xjfaju.8.fsf@jidanni.org> (raw)

Just the other day I was reading (info "(message) Reply") and I suddenly
had a new idea: "From personalities". [Feature request].

Let's say we are replying to mom@nurdfamily.org.
Well, we want our From: headers to say
From: James Fartdom <james@example.com>,
or even
From: Your loving son James <james@example.com>.

But let's instead say we are replying to secretary@plaztziph.com.
Well in that case we want our From: header to look like
From: Chairman Fartdom <james@example.com>,
or even
From: Chairman J. Fartdom <chair@plaztziph.com>.
or even
From: Military Purchasing Director <mpdir@mil.mil>.

Well all this could be accomplished with an alist of patterns of who we
are replying to, vs. what header we should use, and what is the default
if no matches.

Note: what if it is a wide reply, and we are replying to both your mom,
and the CEO? So maybe ask the user what From to use.

Also note, this all will work great when *replying* to a message,
but how about when composing a *new* message?

OK when composing a new message, first insert the default From:,
and then when the user finally pushes the Send button, ask the user
''Mom detected. Use "Your loving son" From? [y, n, ?]''
and then give the user one final look to see if he is happy,
and then send the message.

(Users should note that their ISP might reject sending using any other
domain than the one they are paying for. However at least using Your
loving son instead of James Fartdom should never run aground.)





             reply	other threads:[~2019-11-11  1:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-11  1:48 積丹尼 Dan Jacobson [this message]
2019-11-11 17:18 ` bug#38169: Idea: custom From names ("From Personalities") Eric Abrahamsen
2019-11-14  5:48   ` Lars 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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87o8xjfaju.8.fsf@jidanni.org \
    --to=jidanni@jidanni.org \
    --cc=38169@debbugs.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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).