From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 11206 invoked from network); 27 May 2021 16:59:26 -0000 Received: from mx1.math.uh.edu (129.7.128.32) by inbox.vuxu.org with ESMTPUTF8; 27 May 2021 16:59:26 -0000 Received: from lists1.math.uh.edu ([129.7.128.208]) by mx1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1lmJLx-007hPD-17 for ml@inbox.vuxu.org; Thu, 27 May 2021 11:59:25 -0500 Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.94) (envelope-from ) id 1lmJLw-00GiQ4-Fg for ml@inbox.vuxu.org; Thu, 27 May 2021 11:59:24 -0500 Received: from mx2.math.uh.edu ([129.7.128.33]) by lists1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1lmJLv-00GiPz-QO for ding@lists.math.uh.edu; Thu, 27 May 2021 11:59:23 -0500 Received: from quimby.gnus.org ([95.216.78.240]) by mx2.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1lmJLt-006VhY-Vh for ding@lists.math.uh.edu; Thu, 27 May 2021 11:59:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:Mime-Version:References:Message-ID:Date:Subject: From:To:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Q2nW/x0BOfIwRIS6LwA9v2mpw3YbcVUZJSiW7AWhKV4=; b=Hf4a3yUk0hsw9hKyKgpImBsTCi yFXsPHfthdTPMCQbH+Ud+eEA9EowCElACNCDrRdKL8ZgnYP3ok0CoGLW7awVQ1yBGlN71rmYZBbEe pqG45V+c44zcqS7YSv4iwWVV+/gjLMBO3gQZUADFvSwQeKZxg0GySdpfq3dwgpYJvcao=; Received: from ciao.gmane.io ([116.202.254.214]) by quimby.gnus.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lmJLn-0006fC-RX for ding@gnus.org; Thu, 27 May 2021 18:59:17 +0200 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1lmJLl-0005rZ-OZ for ding@gnus.org; Thu, 27 May 2021 18:59:13 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: ding@gnus.org From: Eric Abrahamsen Subject: Re: davmail hangs *after* retrieving pop email from Exchange server Date: Thu, 27 May 2021 09:59:06 -0700 Message-ID: <874keow1t1.fsf@ericabrahamsen.net> References: <87fsy8wcns.fsf@ucl.ac.uk> <871r9sxk18.fsf@ericabrahamsen.net> <87pmxcunmb.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cancel-Lock: sha1:v5KeP3+VNHPwp1XOWsHLTi4RFto= List-ID: Precedence: bulk Eric S Fraga writes: > On Thursday, 27 May 2021 at 08:40, Eric Abrahamsen wrote: >> I think the usual thing to do would be M-x toggle-debug-on-quit, then >> get to the hang, then C-g. You should see a traceback telling you what >> Emacs was doing when you quit it. > > Thank you for this suggestion. However, I've tried this already (debug > on error and debug on quit are my first ports of call...) I should have known that :) > and I do not get a backtrace when I hit C-g but simply continues with > the rest of the email & news retrieval. This does suggest a network > hang of some sort but I don't understand why/how. These types of > problems are the most frustrating in gnus (maybe Emacs generally?). They are frustrating! And my guess is that a `condition-case' somewhere is handling the `quit' -- all of a sudden this sort of thing is responsible for like 90% of my Emacs debugging. It's even possible that it's the same location as Hirotaka Honda has run in to: mail splitting inside `nnmail-get-new-mail-1'. Do you see anything in *Messages*? How about with `gnus-verbose-backends' set to 10? Or try stepping thrhough `nnmail-get-new-mail-1' and see if anything "bad" happens...