From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.help Subject: Re: gnus nnml/nnimap-split-fancy Date: Wed, 25 Mar 2020 16:19:18 -0700 Message-ID: <87mu84ggzt.fsf@ericabrahamsen.net> References: <87v9mv9sn8.fsf@russet.org.uk> <87v9mv3sdz.fsf@gnu.org> <87bloly60n.fsf@russet.org.uk> <87sghx3465.fsf@gnu.org> <874kud5u28.fsf@gnus.org> <87k138qels.fsf@russet.org.uk> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="24078"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Lars Ingebrigtsen , help-gnu-emacs@gnu.org To: Phillip Lord Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Mar 26 00:19:50 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jHFJN-00069O-Js for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 26 Mar 2020 00:19:49 +0100 Original-Received: from localhost ([::1]:44426 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jHFJM-000322-Kq for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 25 Mar 2020 19:19:48 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36253) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jHFJ1-00031w-Tm for help-gnu-emacs@gnu.org; Wed, 25 Mar 2020 19:19:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jHFJ1-0002EF-0U for help-gnu-emacs@gnu.org; Wed, 25 Mar 2020 19:19:27 -0400 Original-Received: from ericabrahamsen.net ([52.70.2.18]:41684 helo=mail.ericabrahamsen.net) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jHFJ0-0002DE-Si for help-gnu-emacs@gnu.org; Wed, 25 Mar 2020 19:19:26 -0400 Original-Received: from localhost (c-73-254-86-141.hsd1.wa.comcast.net [73.254.86.141]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id 9EF2DFA15B; Wed, 25 Mar 2020 23:19:24 +0000 (UTC) In-Reply-To: <87k138qels.fsf@russet.org.uk> (Phillip Lord's message of "Wed, 25 Mar 2020 22:00:47 +0000") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 52.70.2.18 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:122670 Archived-At: On 03/25/20 22:00 PM, Phillip Lord wrote: > Lars Ingebrigtsen writes: > >> Amin Bandali writes: >> >>>> Yes, and I don't understand why not. I wonder how big a fix it would be. >>> >>> I have no idea. Lars, Eric, what do you think? >> >> The way splitting happens is that it happens inside the backend. So the >> splitting would have to be reorganised to happen in Gnus instead for >> that to work. > > > Ah, unfortunate. Could it just be as simple as returning a lambda > instead of a group name? Although as you describe I guess this would > need to be implemented for each backend? Probably the split specs could just return a fully-qualified group name, and the code could check if the group belonged to a separate backend and behave differently. But you're right, as Lars notes that would have to be done in each backend.