From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/17832 Path: news.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.gnus.user Subject: Re: multi-email gnus setup questions Date: Tue, 22 Dec 2015 09:06:06 +0800 Message-ID: <87fuyvmgw1.fsf@ericabrahamsen.net> References: <87mvt3ny9x.fsf@jnanam.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 1450746398 13691 80.91.229.3 (22 Dec 2015 01:06:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 22 Dec 2015 01:06:38 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Tue Dec 22 02:06:28 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 1aBBPI-0000od-2e for gegu-info-gnus-english@m.gmane.org; Tue, 22 Dec 2015 02:06:28 +0100 Original-Received: from localhost ([::1]:48111 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aBBPH-0000Su-CQ for gegu-info-gnus-english@m.gmane.org; Mon, 21 Dec 2015 20:06:27 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50304) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aBBPE-0000Rm-LL for info-gnus-english@gnu.org; Mon, 21 Dec 2015 20:06:25 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aBBPB-0000tS-Ej for info-gnus-english@gnu.org; Mon, 21 Dec 2015 20:06:24 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:33887) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aBBPB-0000t9-82 for info-gnus-english@gnu.org; Mon, 21 Dec 2015 20:06:21 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aBBP8-0000YL-NN for info-gnus-english@gnu.org; Tue, 22 Dec 2015 02:06:18 +0100 Original-Received: from mail.ericabrahamsen.net ([50.56.99.223]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 22 Dec 2015 02:06:18 +0100 Original-Received: from eric by mail.ericabrahamsen.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 22 Dec 2015 02:06:18 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 49 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: mail.ericabrahamsen.net User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.1.50 (gnu/linux) Cancel-Lock: sha1:t+MlLUgRCfVrlDQu9s6pl+Kt9jc= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:17832 Archived-At: Benjamin Slade writes: > A few issues I'm stuck on. Partially owing to using multiple accounts, > perhaps. > > (1) Splitting mail with multiple accounts. > I have this in my .gnus.el: > > ;; mail splitting > (setq nnimap-split-inbox "INBOX") > (setq nnimap-split-predicate "UNDELETED") > (setq nnmail-split-fancy ;; > '(| ;; > (: gnus-registry-split-fancy-with-parent) ;; > ("List-Id" ".*help-gnu-emacs.gnu.org" "INBOX.emacs.help") > (to "someone@domain.net" "INBOX.someone") > "INBOX" ;; > )) > (setq nnimap-split-rule 'nnmail-split-fancy) > (setq nnmail-split-methods 'nnimap-split-fancy) ;; > (gnus-registry-initialize) ;; > > But it doesn't seem to create new folders/groups for either rule. What > am I doing wrong? Is it an issue of having multiple accounts? You have to tell each account to use your split rules (this allows you to theoretically use different rules for different accounts). See the "Client-side IMAP Splitting" section of the manual for details. If you're using fancy splitting, I think you have to set nnimap-split-methods to nnimap-split-fancy, then set nnimap-split-fancy to the value of the splits you want to use. All that has to happen as server parameters. > (2) Splitting mail with Gmail/other apps: > Assuming I can successfully split mail, if I split into something like > INBOX.emacs, will other connecting non-gnus mail clients see mail in > INBOX.emacs as being in the INBOX? I'm actually not sure about this. > (3) Customizing the C-x gnus menu: > Right I see things like nnimap+gmail1account:INBOX. Is there a way to > customize this, to look like FirstAccount:INBOX ? You can customize how the line for each group appears using the `gnus-group-line-format' variable -- it's possible to remove the backend altogether. See the "Group Line Specification" part of the manual. In particular, you might try switching the %g format specifier for %G? Anyway, experiment with that!