GNU bug report logs - #35270
27.0.50; gnus nnimap weird interaction between select methods

Previous Next

Package: emacs;

Reported by: Deus Max <deusmax <at> gmx.com>

Date: Sun, 14 Apr 2019 13:10:01 UTC

Severity: normal

Found in version 27.0.50

Done: Eric Abrahamsen <eric <at> ericabrahamsen.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Deus Max <deusmax <at> gmx.com>
To: Eric Abrahamsen <eric <at> ericabrahamsen.net>
Cc: "Basil L. Contovounesios" <contovob <at> tcd.ie>, 35270 <at> debbugs.gnu.org
Subject: bug#35270: 27.0.50; gnus nnimap weird interaction between select methods
Date: Mon, 22 Apr 2019 23:20:48 +0300
[Message part 1 (text/plain, inline)]
On Mon, Apr 22 2019, Eric Abrahamsen wrote:

> Deus Max <deusmax <at> gmx.com> writes:
>
>> On Sun, Apr 14 2019, Basil L. Contovounesios wrote:
>>
>>> Deus Max <deusmax <at> gmx.com> writes:
>>>
>>>> Following the recent strange behaviors with gnus group buffers and other
>>>> gnus related stuff, I decided to have a clean start for my gnus:
>>>>
>>>> 1. removed the gnus start-up files:
>>>>    mv .newsrc dot-newsrc
>>>>    mv .newsrc.eld dot-newsrc.eld
>>>>    mv .gnus.el dot-gnus.el   -- (empty anyway)
>>>>    rm .*~
>>>
>>> Can you reproduce this starting from 'emacs -Q' in a clean HOME
>>> directory, i.e. with
>>>
>>>   HOME=$(mktemp -d) emacs -Q
>>>
>>> or similar?  I ask because it is possible for something in your
>>> configuration and/or home directory to be interfering, see e.g.
>>> https://debbugs.gnu.org/35208#11
>>>
>>> Thanks,
>>
>> Yes and I did.
>> Repeating with a clean HOME directory gives the same results wrt
>>           the gnus behavior described above.
>
> I'm trying to imagine what could be causing this behavior, and so far
> haven't come up with any likely theories! You mentioned removing your
> start-up files before starting this experiment, but you must have some
> config in place to define the two imap servers: can you show me the
> absolute minimum config sufficient to display this weirdness? (And would
> you mind updating to the most recent master before you do? It's possible
> some recent updates might have addressed this.)
>
> Thanks,
> Eric

I tried this on Sat Apr. 20 and got the same results.
Also today, by pulling to the latest commit:
    : commit 981470e3590534a4d2947dfe5626cae832c6502d
    : Author: Philipp Stephani <phst <at> google.com>
    : Date:   Mon Apr 22 18:58:51 2019 +0200

compiling with "make bootstrap" and running from a (almost) empty
directory as:  ~HOME=$(pwd) Emacs~
The HOME directory is ~/tmp/emacs-test

Again the same results!!
I believe the same results should be repeatable, if running with 2
imap servers, one defined in the gnus-select-method variable and the
other in the gnus-secondary-select-methods.

Then the "primary" select method groups exist twice, once without group
prefix (ex INBOX) and once with (ex nnimap+gmx:INBOX).

[gnus-gmxAIA-2019-04-22T21-45-31.png (image/png, inline)]
[Message part 3 (text/plain, inline)]
It is surprising gnus asks username/password for a  "gmx+AIA", which is
weird. Doesn't make sense. Can it be a bug for trying to
merge/simplify the gnus select methods ? Is there any work, underway to
combine gnus-select-method and gnus-secondary-select-methods ?

Hope all this helps !


For my configuration:
  1. I have no /etc/emacs files.

  2. The $HOME/.emacs.d/init.el file is:

      (setq custom-file "~/customize.el")
      (load custom-file)
      (prefer-coding-system 'utf-8)

  3. The customize.el is attached.

     (custom-set-variables
 ;; custom-set-variables was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 '(custom-file "~/customize.el")
 '(gnus-message-archive-group '(lambda (grp) (if grp gnus-newsgroup-name "Send-Mail")))
 '(gnus-message-archive-method '(nnimap "gmx"))
 '(gnus-nntp-server nil)
 '(gnus-nntpserver-file "/etc/news/spool")
 '(gnus-play-startup-jingle t)
 '(gnus-secondary-select-methods
   '((nnimap "AIA"
             (nnimap-address "imap-mail.outlook.com")
             (nnimap-stream ssl)
             (nnimap-server-port "imaps"))))
 '(gnus-secondary-servers nil)
 '(gnus-select-method
   '(nnimap "gmx"
            (nnimap-address "imap.gmx.com")
            (nnimap-server-port "imaps")
            (nnimap-stream ssl)
            (nnmail-expiry-target "Trash")
            (nnmail-expiry-wait immediate)))
 '(gnus-summary-line-format "%U%R%z%o %I%(%[%4L: %-23,23f%]%) %s
")
 '(gnus-total-expirable-newsgroups "mail.test")
 '(gnus-use-trees nil)
 '(message-user-fqdn "myhome223.gr")
)
(custom-set-faces
 ;; custom-set-faces was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 )





This bug report was last modified 6 years and 17 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.