GNU bug report logs - #38169
Idea: custom From names ("From Personalities")

Previous Next

Packages: gnus, emacs;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Mon, 11 Nov 2019 10:01:02 UTC

Severity: wishlist

Tags: notabug

Found in version 5.13

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eric Abrahamsen <eric <at> ericabrahamsen.net>
To: 38169 <at> debbugs.gnu.org
Subject: bug#38169: Idea: custom From names ("From Personalities")
Date: Mon, 11 Nov 2019 09:18:20 -0800
積丹尼 Dan Jacobson <jidanni <at> jidanni.org> writes:

> 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 <at> nurdfamily.org.
> Well, we want our From: headers to say
> From: James Fartdom <james <at> example.com>,
> or even
> From: Your loving son James <james <at> example.com>.
>
> But let's instead say we are replying to secretary <at> plaztziph.com.
> Well in that case we want our From: header to look like
> From: Chairman Fartdom <james <at> example.com>,
> or even
> From: Chairman J. Fartdom <chair <at> plaztziph.com>.
> or even
> From: Military Purchasing Director <mpdir <at> 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.

This much is already doable, with a clause in `gnus-posting-styles':

((header "From" "secretary <at> plaztziph.com")
 (address "Chairman Fartdom <chair <at> plaztziph.com"))

The posting styles can be a nested tree of conditions, so you can write
your own rule for what happens when you're replying to both your mom and
the CEO.

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

This Gnus doesn't provide out of the box, unless you compose from the
Group buffer with point on a group, and give a prefix arg to "m" or "a".
Then the group under point is used for rules.

But I know that there's more than one external package that does this,
one is called "gnus-pers", I think.





This bug report was last modified 5 years and 248 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.