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

Previous Next

Packages: emacs, gnus;

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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 38169 in the body.
You can then email your comments to 38169 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#38169; Package emacs,gnus. (Mon, 11 Nov 2019 10:01:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org. (Mon, 11 Nov 2019 10:01:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: submit <at> debbugs.gnu.org (The Gnus Bugfixing Girls + Boys)
Subject: Idea: custom From names ("From Personalities")
Date: Mon, 11 Nov 2019 09:48:05 +0800
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.

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




Information forwarded to bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#38169; Package emacs,gnus. (Mon, 11 Nov 2019 17:19:01 GMT) Full text and rfc822 format available.

Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Eric Abrahamsen <eric <at> ericabrahamsen.net>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: 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.





Information forwarded to bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#38169; Package emacs,gnus. (Thu, 14 Nov 2019 05:50:03 GMT) Full text and rfc822 format available.

Message #11 received at 38169 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Eric Abrahamsen <eric <at> ericabrahamsen.net>
Cc: 38169 <at> debbugs.gnu.org
Subject: Re: bug#38169: Idea: custom From names ("From Personalities")
Date: Thu, 14 Nov 2019 06:48:54 +0100
Eric Abrahamsen <eric <at> ericabrahamsen.net> writes:

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

Yup, so I'm closing this bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Added tag(s) notabug. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Thu, 14 Nov 2019 05:50:03 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 38169 <at> debbugs.gnu.org and 積丹尼 Dan Jacobson <jidanni <at> jidanni.org> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Thu, 14 Nov 2019 05:50:04 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 12 Dec 2019 12:24:10 GMT) Full text and rfc822 format available.

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.