From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/17870 Path: news.gmane.org!not-for-mail From: Benjamin Slade Newsgroups: gmane.emacs.gnus.user Subject: Re: choose/set from address & gcc-sent_mail Date: Sun, 27 Dec 2015 22:31:53 -0700 Message-ID: <87ege7nnp2.fsf@jnanam.net> References: <87vb7jo8zu.fsf@jnanam.net> <87ege7mllm.fsf@ericabrahamsen.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1451280732 4694 80.91.229.3 (28 Dec 2015 05:32:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 28 Dec 2015 05:32:12 +0000 (UTC) Cc: info-gnus-english@gnu.org To: Eric Abrahamsen Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Mon Dec 28 06:32:04 2015 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aDQPb-00051l-MJ for gegu-info-gnus-english@m.gmane.org; Mon, 28 Dec 2015 06:32:03 +0100 Original-Received: from localhost ([::1]:43649 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aDQPa-0003pn-Pd for gegu-info-gnus-english@m.gmane.org; Mon, 28 Dec 2015 00:32:02 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58990) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aDQPY-0003pX-2A for info-gnus-english@gnu.org; Mon, 28 Dec 2015 00:32:01 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aDQPU-0003Ke-Tk for info-gnus-english@gnu.org; Mon, 28 Dec 2015 00:32:00 -0500 Original-Received: from mail-pf0-x22c.google.com ([2607:f8b0:400e:c00::22c]:34926) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aDQPU-0003Ka-OP for info-gnus-english@gnu.org; Mon, 28 Dec 2015 00:31:56 -0500 Original-Received: by mail-pf0-x22c.google.com with SMTP id 78so106935824pfw.2 for ; Sun, 27 Dec 2015 21:31:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=tK5dXerRq7tSttKq9qElr6guaGP7nzIEANfGe7m2YpU=; b=X0rAvQuPlbvpZHNDt0/FVLRKEmr1oW7/OoeX5RzP8G5b3QXx2BoJcdEELTLzGFnQLm 3QHED+F5CE8WzbFhMGWU3BvnqpSY7zdnHoBaP9LGO1UT08G/umOVIxHG4QSW6OfpEh3D IJVShkPpybKts4oXepaXyyDtk/bzmAwGYqg9PsUR5XavUFu0y/z41Diud2ClGBp1KlRL cSg4/EkN2M1LRSkWC2diYdFXny5al16Aks/9dAXkCIMI1Xz7h734BcvX+oNq7XIhhCpR 4Nqzw236jtoCPxTLnqVTWNoveR6GqJHY8pfhrHkpVJm5NCEjeKRpCd3CIlUn6pmuhhvU W1xA== X-Received: by 10.98.79.66 with SMTP id d63mr76530507pfb.34.1451280715866; Sun, 27 Dec 2015 21:31:55 -0800 (PST) Original-Received: from sindhu.homepc ([104.156.228.87]) by smtp.gmail.com with ESMTPSA id x75sm11381442pfi.95.2015.12.27.21.31.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 27 Dec 2015 21:31:54 -0800 (PST) In-Reply-To: <87ege7mllm.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Mon, 28 Dec 2015 09:02:29 +0800") User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/24.5 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400e:c00::22c X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:17870 Archived-At: Eric Abrahamsen writes: > Benjamin Slade writes: > >> Is there any way to have Gnus automatically prompt for an account in >> case none is set, when composing a new mail or replying to an email? >> >> I have set: >> >> (setq gnus-parameters >> '( >> ("home" >> (posting-style >> (address "me@gmail.com") >> (gcc "\"nnimap+home:[Gmail].Sent Mail\""))) >> ("work" >> (posting-style >> (address "me@work.com") >> (gcc "\"nnimap+work:[Gmail].Sent Mail\""))) >> )) >> >> Which means that if I reply to an email or compose a new email when I'm >> in nnimap+home:.* or nnimap+work:.* it automatically picks the right >> from address and puts a copy of the sent mail in the right place. >> >> But if I'm in a virtual group or in no group at all, then no Gcc is set, >> and From is set to >> "....i-did-not-set--mail-host-address--so-tickle-me". What I would like >> to do is, in the absence of the account already being properly set, as >> per the above rules, to prompt me to chose between, say, "home" and >> "work". > > You can stop Gnus tickling you by setting the `user-mail-address' to a > default "from" value. That will at least prevent you from getting those > bogus values. > > But that won't run the appropriate gnus-parameters, or set any other > headers up. > > There have been a few discussions about this on this and other lists > recently. Apparently there are a couple of external packages you can > try: Gnus Pers, and Gnus Alias: > > http://www.emacswiki.org/emacs/GnusPers > http://www.emacswiki.org/emacs/GnusAlias > > I haven't tried them, but they are definitely there to solve this sort > of problem... > Thanks. I'll try those out.