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#35270: 27.0.50; gnus nnimap weird interaction between select methods Date: Tue, 30 Apr 2019 13:48:03 -0700 Message-ID: <878svr5if0.fsf@ericabrahamsen.net> References: <87r2a4n37q.fsf@aia00054aia.gr> <87sgukzjlt.fsf@tcd.ie> <87lg0cmilm.fsf@aia00054aia.gr> <87d0le8074.fsf@ericabrahamsen.net> <87bm0xvljz.fsf@aia00054aia.gr> <871s1s73fs.fsf@ericabrahamsen.net> <875zr3uvfu.fsf@aia00054aia.gr> <87o94tgfn9.fsf@aia00054aia.gr> <87zhoahzny.fsf@ericabrahamsen.net> <87sgu0a30f.fsf@aia00054aia.gr> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="153171"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 35270-done@debbugs.gnu.org To: 35270@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Apr 30 23:06:18 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.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hLZx8-000dbM-Ru for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Apr 2019 23:06:14 +0200 Original-Received: from localhost ([127.0.0.1]:53449 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hLZx7-0004xL-Pc for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Apr 2019 17:06:13 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:59644) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hLZw0-000414-Q4 for bug-gnu-emacs@gnu.org; Tue, 30 Apr 2019 17:05:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hLZvz-0002zu-M6 for bug-gnu-emacs@gnu.org; Tue, 30 Apr 2019 17:05:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57245) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hLZvz-0002zp-Ix for bug-gnu-emacs@gnu.org; Tue, 30 Apr 2019 17:05:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hLZvy-0004Fv-6T for bug-gnu-emacs@gnu.org; Tue, 30 Apr 2019 17:05:03 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <87r2a4n37q.fsf@aia00054aia.gr> Resent-From: Eric Abrahamsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 30 Apr 2019 21:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35270 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.155665825016290 (code B ref -1); Tue, 30 Apr 2019 21:05:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 30 Apr 2019 21:04:10 +0000 Original-Received: from localhost ([127.0.0.1]:42554 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hLZv7-0004Ee-6V for submit@debbugs.gnu.org; Tue, 30 Apr 2019 17:04:10 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:44945) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hLZv4-0004Dx-VW for submit@debbugs.gnu.org; Tue, 30 Apr 2019 17:04:07 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:40940) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hLZuz-0002Nw-Rb for submit@debbugs.gnu.org; Tue, 30 Apr 2019 17:04:01 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:58625) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hLZuy-0002iX-6e for bug-gnu-emacs@gnu.org; Tue, 30 Apr 2019 17:04:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hLZff-0000Re-W9 for bug-gnu-emacs@gnu.org; Tue, 30 Apr 2019 16:48:13 -0400 Original-Received: from [195.159.176.226] (port=45282 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hLZff-0000R5-P5 for bug-gnu-emacs@gnu.org; Tue, 30 Apr 2019 16:48:11 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.89) (envelope-from ) id 1hLZfd-000EIW-FP for bug-gnu-emacs@gnu.org; Tue, 30 Apr 2019 22:48:09 +0200 X-Injected-Via-Gmane: http://gmane.org/ Cancel-Lock: sha1:AlrmOYZ7bN1AfVmAB5p0soMSVX8= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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:158537 Archived-At: Deus Max writes: > On Sun, Apr 28 2019, Eric Abrahamsen wrote: > >> Deus Max writes: >> >>> On Wed, Apr 24 2019, Deus Max wrote: >>> >>>> On Tue, Apr 23 2019, Eric Abrahamsen wrote: >>>> >>>>> >>>>> You might as well get rid of this too, as it's no longer used. >>>>> >>>>> The only other thing I can think of is setting `gnus-verbose' to 10 and >>>>> showing us all the messages: that will at least tell you a little bit >>>>> more about what Gnus thinks it's doing. >>>>> >>>>> Eric >>>> >>>> Great advice, thank you. I'll get rid of all the unnecessary stuff, as >>>> you suggest and re-run with gnus-verbose 10 ! >>>> I'm curious to see the outcome ! >>> >>> Well that was interesting ! >>> >>> >>> Probably, having the gmx as the "primary" imap selection >>> (gnus-select-method) resulted in some interaction making the gmx groups >>> appear both as nnimap+gmx:Group and as plain Group (default). >> >> Right -- I think Gnus was trying to make a *new* server out of '(nnimap >> "gmx"), which then sort of conflicts with your existing nnimap+gmx >> server. >> > Still, having a bad option setting should not lead to such behavior. > Anyway, we can leave that for another time... ! > >>> Apparently, I don't understand well enough how the variables >>> gnus-message-archive-group and gnus-message-archive-method are supposed >>> to work. >>> Basically, since I use nnimap, when composing a new >>> message I don't want to see Gcc set to a nnfolder+archive group, but set >>> the current imap group. The following values now seem to work: >>> : '(gnus-message-archive-group '(lambda (grp) (if grp gnus-newsgroup-name "Send-Mail"))) >>> : '(gnus-message-archive-method "nnimap") >> >> Here's my understanding: >> >> You can use archive-method and archive-group together, in which case >> archive-group is understood to return a group name that exists on >> archive-method. _Alternately_, archive-group can return a fully >> qualified group name, in your case "nnimap+gmx:Send-Mail", in which case >> archive-method will be completely ignored, and you don't need to set it >> at all. >> >> In your case, that's the easiest solution. If you really want to set >> both options, I think you'd have to try harder to make sure that >> archive-method matched your "real" nnimap+gmx server, ie they should >> pass `gnus-server-equal'. >> >> But like I said, that's unnecessary if archive-group returns a full >> group name. >> > > Thank you Eric ! My pleasure. Closing this bug...