From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Deus Max Newsgroups: gmane.emacs.bugs Subject: bug#35270: 27.0.50; gnus nnimap weird interaction between select methods Date: Tue, 30 Apr 2019 00:57:20 +0300 Message-ID: <87sgu0a30f.fsf@aia00054aia.gr> 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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="127541"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: "Basil L. Contovounesios" , 35270@debbugs.gnu.org To: Eric Abrahamsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Apr 29 23:58:29 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 1hLEI8-000Wrq-Sf for geb-bug-gnu-emacs@m.gmane.org; Mon, 29 Apr 2019 23:58:29 +0200 Original-Received: from localhost ([127.0.0.1]:35842 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hLEI7-00031s-Tw for geb-bug-gnu-emacs@m.gmane.org; Mon, 29 Apr 2019 17:58:27 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:36278) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hLEHj-0002sK-2k for bug-gnu-emacs@gnu.org; Mon, 29 Apr 2019 17:58:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hLEHh-0005a5-WD for bug-gnu-emacs@gnu.org; Mon, 29 Apr 2019 17:58:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54713) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hLEHh-0005a0-Rl for bug-gnu-emacs@gnu.org; Mon, 29 Apr 2019 17:58:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hLEHh-00037l-QB for bug-gnu-emacs@gnu.org; Mon, 29 Apr 2019 17:58:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Deus Max Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 29 Apr 2019 21:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35270 X-GNU-PR-Package: emacs Original-Received: via spool by 35270-submit@debbugs.gnu.org id=B35270.155657506311975 (code B ref 35270); Mon, 29 Apr 2019 21:58:01 +0000 Original-Received: (at 35270) by debbugs.gnu.org; 29 Apr 2019 21:57:43 +0000 Original-Received: from localhost ([127.0.0.1]:40018 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hLEHP-000373-54 for submit@debbugs.gnu.org; Mon, 29 Apr 2019 17:57:43 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:58767) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hLEHN-00036n-42 for 35270@debbugs.gnu.org; Mon, 29 Apr 2019 17:57:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1556575045; bh=esqxu6zor73uAtQKxuXGYLVngVXB8uUQNB2KfxS8AL0=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=Bg/lSHlz4neJFOVHkeJWeK7fZhUliPknwVekpFne+AzuUmesGYelZT5we5O6Y8m0U sruCdjSNQNXUKMX8jUjkyWDcqW/ELN17shbiloymAyAoQYytvMo0j8LTSh+cD6Kk+S 0UDmeTiwK8XrpxXm5efedIXp2RmdqdqZPwb45GFk= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from dellcorei5dias ([37.153.145.167]) by mail.gmx.com (mrgmx105 [212.227.17.174]) with ESMTPSA (Nemesis) id 1N7QxB-1giUCu0T2D-017lo6; Mon, 29 Apr 2019 23:57:25 +0200 In-Reply-To: <87zhoahzny.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Sun, 28 Apr 2019 09:17:53 -0700") X-Provags-ID: V03:K1:JjC7K7gPuf+/EjJWpN2R61CjuEOQ5NJVLLWCo4bKECn1miIqRiR CZzymhXaj5tzxXdu/D1vODVd5YY2MnuAPeA6XovykA0NyJOMuBehOdPqmQnRXuajcUbrFZQ 3+v/V8UFudb4qlf0IDDcBpU0/ArqX68uZRPDxXeyukKq3SlEtF3D8p6qNwNqr5pLBQxZc9r IbL+8Fx2vm5uOKkv05bsQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:/cHERcjBXqw=:pCcdd/H6I9d/H2wrWzTuRP SR0s6WOhgTPgY1vj4o6+NpR8NaDI32aftw6dWSbPCVRD2eVo2PDMLMEapbUbsjdTj9Tt78sct s4rJXrAOtighdDqlygtICrx1Wlw5xY9cy4XVfY3C7KzZIRX8TtHRlf0WFbirZkCPND7KBIksB fgKuASWdzlZqRqHpO4y8ZCCVvywGLA8La5A1u0hw9vN2u/erDl0sYiwVLAlOLtsrJJ3KjKBPE 1IpUagGD7wEbkNk9kRAaBPlJ6X1YRzMfFDhvzR4uYvhJYhhKdAvIlkBbWiRX2aHEsvI8jBKU0 5EGqMFrBCLGov8u50/h8B+qffSRtoWy+VVZJ8iqSzhfASZ17dkU0KW8QzYoyDEQLqrJMMTEqO FPxGFaLmUGxMsysNVwYzTHSaMZFFlpWMAHV/vAl3rFcF1Fc37luX10qaZkkuH9cCMTqcy/RGN f8Q6iSRfQQQ90e00KjFME0P7NhkK1G01pX78P/cBXto00Ejuw2+va8s6P8lOcfwsuxrHYDYmy zq94aAi9cGPcXhUl6zrDAgTsegpuCZ7js8EQhf9ewjWTFpbG8hNLyOaGIWHf5DPvNUqH+I/2+ Ek6AxqkjLuP4yeymkjpN0k0vQhaD1PdxIVwwlTUpZtzyMoOTdCuVuguBZcgr1ThZsh2p6Jrwq WhLxOJAvdCn5sZC/V+AmMoD3jJCpu08/2u0t7hUzOfPqnCYqKHenKuqLR6mOZpdv3d3g7a/aU VrXNoTbKoUXpCBhuNU2i8ulOzIteWT/hcRFJCCNyLVkVry1RIL44Yyibse8ZRhoutOjwRtAr 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:158463 Archived-At: 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 !