From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.help Subject: Re: Gnus: How to easily change "From:" from the default to a second account's address? Date: Sun, 27 Nov 2011 09:52:28 +0800 Message-ID: <87pqge49ib.fsf@ericabrahamsen.net> References: <812215ED-D638-4BE4-8AD3-AC7EB95378E0@math.ethz.ch> <87y5v6yeyy.fsf@tsdh.uni-koblenz.de> <5BBBF1D0-1349-4C17-8D38-F75CE52D2C53@math.ethz.ch> <87bos10wv5.fsf@nzebook.haselwarter.org> <87mxbk6gkz.fsf@ericabrahamsen.net> <87wranytta.fsf@nzebook.haselwarter.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1322358773 10051 80.91.229.12 (27 Nov 2011 01:52:53 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 27 Nov 2011 01:52:53 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Nov 27 02:52:50 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RUTvF-0004kB-Tg for geh-help-gnu-emacs@m.gmane.org; Sun, 27 Nov 2011 02:52:50 +0100 Original-Received: from localhost ([::1]:39276 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RUTvE-00027V-V3 for geh-help-gnu-emacs@m.gmane.org; Sat, 26 Nov 2011 20:52:48 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:49562) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RUTvA-00027P-IA for help-gnu-emacs@gnu.org; Sat, 26 Nov 2011 20:52:45 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RUTv9-0002c1-8x for help-gnu-emacs@gnu.org; Sat, 26 Nov 2011 20:52:44 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:38977) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RUTv8-0002bv-V5 for help-gnu-emacs@gnu.org; Sat, 26 Nov 2011 20:52:43 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RUTv7-0004ih-Rf for help-gnu-emacs@gnu.org; Sun, 27 Nov 2011 02:52:41 +0100 Original-Received: from 123.115.178.102 ([123.115.178.102]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 27 Nov 2011 02:52:41 +0100 Original-Received: from eric by 123.115.178.102 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 27 Nov 2011 02:52:41 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 41 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 123.115.178.102 User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.91 (gnu/linux) Cancel-Lock: sha1:0G05Q4gxBrB8vQLiGYSqUNdWCys= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:83061 Archived-At: On Sat, Nov 26 2011, Philipp Haselwarter wrote: > Eric Abrahamsen writes: > >> On Fri, Nov 25 2011, Philipp Haselwarter wrote: >> >>> I often find myself wanting to change the From: after opening the >>> message; this allows picking one of your accounts: >> >> Is this much different from `message-alternative-emails'? I think that's >> what I use to set my possible From addresses, and then TAB at the end of >> the address will cycle through the possible addresses. >> >> Eric >> > ---8<---[snipped 21 lines]---8<--- > > I didn't know about `message-alternative-emails', and setting From: from > To: or Cc: works nicely :) ! > > But I can't seem to cycle. Is that something that's supposed to work in > plain gnus (tried it without all my configs) or do I need to set up > something else? Hmm, I'm not quite sure about this one, and it's hard to get a plain config. As all the other message buffer cycling is provided by BBDB in my case, it's possible that that's what's doing it for me. After I set `message-alternative-emails' in my gnus.el, I also do this: (setq bbdb-user-mail-address-re message-alternative-emails gnus-ignored-from-addresses message-alternative-emails) That basically sorts all the "own emails" issues for me. Again, I suspect it's BBDB that provides cycling. Good luck, Eric -- GNU Emacs 24.0.91.1 (i686-pc-linux-gnu, GTK+ Version 2.24.6) of 2011-11-07 on pellet