From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.help Subject: Re: With lavabit, C-u RET is unable to select the Inbox group in gnus Date: Wed, 31 Jan 2018 13:49:14 -0500 Message-ID: <87mv0tkgnp.fsf@ericabrahamsen.net> References: <87wozz7vjq.fsf@tuyizere.org> <87efm7o1up.fsf@ericabrahamsen.net> <877erznxz7.fsf@tuyizere.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1517424647 3434 195.159.176.226 (31 Jan 2018 18:50:47 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 31 Jan 2018 18:50:47 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jan 31 19:50:42 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1egxT0-0000Ya-1D for geh-help-gnu-emacs@m.gmane.org; Wed, 31 Jan 2018 19:50:42 +0100 Original-Received: from localhost ([::1]:51375 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1egxV1-00073I-32 for geh-help-gnu-emacs@m.gmane.org; Wed, 31 Jan 2018 13:52:47 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36901) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1egxU9-0006z5-Ny for help-gnu-emacs@gnu.org; Wed, 31 Jan 2018 13:51:58 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1egxU6-0006uM-Jp for help-gnu-emacs@gnu.org; Wed, 31 Jan 2018 13:51:53 -0500 Original-Received: from [195.159.176.226] (port=58260 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1egxU6-0006sy-DW for help-gnu-emacs@gnu.org; Wed, 31 Jan 2018 13:51:50 -0500 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1egxRu-000583-Pb for help-gnu-emacs@gnu.org; Wed, 31 Jan 2018 19:49:34 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 74 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:QY1ipq/K5yY87i/6uDH/CS97idA= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:115891 Archived-At: gnuforever writes: > Eric Abrahamsen writes: > >> I guess the first thing to do would be M-x debug-on-quit, > > Great command! I learn a lot of things here :-) > I was struggling how to find the logs while the process was hanging. > >> That should give you a backtrace that you can provide here. > > 1. With this configuration: > > (setq gnus-select-method > '(nnimap "my-email@lavabit.com" > (nnimap-address "lavabit.com") > (nnimap-inbox "INBOX") > ;;(nnimap-split-methods default) > (nnimap-expunge t) > (nnimap-stream ssl) > (nnimap-user "my-email@lavabit.com"))) > > I get: > > Debugger entered--Lisp error: (quit) > gnus-list-of-unread-articles("Inbox") > gnus-select-newsgroup("Inbox" (4) nil) > gnus-summary-read-group-1("Inbox" (4) t nil nil nil) > gnus-summary-read-group("Inbox" (4) t nil nil nil nil) > gnus-group-read-group((4) t) > gnus-group-select-group((4)) > funcall-interactively(gnus-group-select-group (4)) > call-interactively(gnus-group-select-group nil nil) > command-execute(gnus-group-select-group) > > 2. With this one: > > (setq gnus-select-method '(nnnil "")) > > (setq gnus-secondary-select-methods > '((nnimap "my-email@lavabit.com" > (nnimap-address "lavabit.com") > (nnimap-inbox "INBOX") > (nnimap-split-methods default) > (nnimap-expunge t) > (nnimap-stream ssl) > (nnimap-server-port 993) > (nnimap-user "my-email@lavabit.com")))) > > I get: > > Debugger entered--Lisp error: (quit) > gnus-uncompress-range((1 . 537842298)) > gnus-articles-to-read("nnimap+my-email@lavabit.com:Inbox" (4)) > gnus-select-newsgroup("nnimap+my-email@lavabit.com:Inbox" (4) nil) > gnus-summary-read-group-1("nnimap+my-email@lavabit.com:Inbox" (4) t nil nil nil) > gnus-summary-read-group("nnimap+my-email@lavabit.com:Inbox" (4) t nil nil nil nil) > gnus-group-read-group((4) t) > gnus-group-select-group((4)) > gnus-topic-select-group((4)) > funcall-interactively(gnus-topic-select-group (4)) > call-interactively(gnus-topic-select-group nil nil) > command-execute(gnus-topic-select-group) Huh. I wonder why the second one isn't getting hung up on `gnus-list-of-unread-articles'. Anyway, in both cases it seems like the problem is that Gnus thinks there is a truly enormous number of messages in your inbox (537,842,298 of them!), and is trying to handle that quantity. I'm assuming you don't actually have half a billion messages? How many *do* you have? I can't imagine how Gnus got that confused, but you might try doing "C-u M-g" on your inbox in the *Group* buffer and see if that corrects the problem. Eric