From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.bugs Subject: bug#38169: Idea: custom From names ("From Personalities") Date: Mon, 11 Nov 2019 09:18:20 -0800 Message-ID: <87v9rq49ib.fsf@ericabrahamsen.net> References: <87o8xjfaju.8.fsf@jidanni.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="23541"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: 38169@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 11 18:19:15 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iUDLO-0005um-PH for geb-bug-gnu-emacs@m.gmane.org; Mon, 11 Nov 2019 18:19:14 +0100 Original-Received: from localhost ([::1]:55682 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iUDLN-00088h-M7 for geb-bug-gnu-emacs@m.gmane.org; Mon, 11 Nov 2019 12:19:13 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50913) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iUDLC-00087h-V9 for bug-gnu-emacs@gnu.org; Mon, 11 Nov 2019 12:19:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iUDLB-00025f-T6 for bug-gnu-emacs@gnu.org; Mon, 11 Nov 2019 12:19:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47126) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iUDLB-00025a-QG for bug-gnu-emacs@gnu.org; Mon, 11 Nov 2019 12:19:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iUDLB-0003uh-I6; Mon, 11 Nov 2019 12:19:01 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: <87o8xjfaju.8.fsf@jidanni.org> Resent-From: Eric Abrahamsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Mon, 11 Nov 2019 17:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38169 X-GNU-PR-Package: emacs,gnus X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.157349272515016 (code B ref -1); Mon, 11 Nov 2019 17:19:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 11 Nov 2019 17:18:45 +0000 Original-Received: from localhost ([127.0.0.1]:55946 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iUDKo-0003ty-3R for submit@debbugs.gnu.org; Mon, 11 Nov 2019 12:18:45 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:36069) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iUDKl-0003tp-R6 for submit@debbugs.gnu.org; Mon, 11 Nov 2019 12:18:36 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50816) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iUDKk-00080K-Mh for bug-gnu-emacs@gnu.org; Mon, 11 Nov 2019 12:18:35 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iUDKj-0001yn-Eo for bug-gnu-emacs@gnu.org; Mon, 11 Nov 2019 12:18:34 -0500 Original-Received: from 195-159-176-226.customer.powertech.no ([195.159.176.226]:35692 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iUDKj-0001vv-8H for bug-gnu-emacs@gnu.org; Mon, 11 Nov 2019 12:18:33 -0500 Original-Received: from list by blaine.gmane.org with local (Exim 4.89) (envelope-from ) id 1iUDKg-0004sm-Bc for bug-gnu-emacs@gnu.org; Mon, 11 Nov 2019 18:18:30 +0100 X-Injected-Via-Gmane: http://gmane.org/ Cancel-Lock: sha1:RcBcyfqJ1bYKTkaO95pRvx7arNk= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:171433 Archived-At: 積丹尼 Dan Jacobson 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@nurdfamily.org. > Well, we want our From: headers to say > From: James Fartdom , > or even > From: Your loving son James . > > 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 , > or even > From: Chairman J. Fartdom . > or even > From: Military Purchasing Director . > > 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@plaztziph.com") (address "Chairman Fartdom 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.