Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: "Göktuğ Kayaalp" <self@gkayaalp.com>
To: info-gnus-english@gnu.org
Subject: Gnus hangs during or after reading nnml
Date: Wed, 06 Sep 2017 13:53:31 +0300	[thread overview]
Message-ID: <ygm7exc9jys.fsf@alpha> (raw)

Hi,

sometimes when I fetch new mail with ‘g’, Gnus hangs after the message:
«Reading active file via nnml...done» and I have to keyboard-quit from
it.  When I hit ‘g’ again it works and I don't seem to lose mail.  The
output from an example session is like this:

,----
| Checking new news...
| Reading active file via nnml...
| Reading incoming mail from file...
| Reading incoming mail from pop... [2 times]
| nnml: Reading incoming mail (no new mail)...done
| Reading active file via nnml...done ;; This is where it hangs
| Quit
`----

And this is when it's successful:

,----
| Checking new news...
| Reading active file via nnml...
| Reading incoming mail from file...
| Reading incoming mail from pop... [2 times]
| nnml: Reading incoming mail (no new mail)...done
| Reading active file via nnml...done
| Reading active file from archive via nnfolder...done
| Reading active file via nndraft...done
| Checking new news...done
`----

The related configuration looks like:

,----
| (setf
|  mail-sources
|  `((pop ...)
|    (pop ...)
|    ,(let ((f (expand-file-name (user-login-name) "/var/mail")))
|        (list 'file :path f))))
`----

,----
| (setf
|  gnus-select-method '(nnml "")
|  gnus-secondary-select-methods
|  '((nntp "gmane"
|          (nntp-address "news.gmane.org"))
|    ;; (nntp "eternal-september"
|    ;;       (nntp-address "news.eternal-september.org"))
|    )
|  gnus-buttonized-mime-types
|  '("multipart/signed" "multipart/alternative" "text/html" "text/x-diff"
|    "text/x-patch" "text/vcard" "text/x-org"))
`----

I'm on Emacs master, commit 7bb75e3d8194c2349bfa4479fd72e10f31bea0a5.

This is the debugger when I quit when it hangs:

,----
| Debugger entered--Lisp error: (quit)
|   signal(quit nil)
|   nntp-with-open-group-function(nil "gmane" nil #f(compiled-function () #<bytecode>))
|     -group = nil
|     -server = "gmane"
|     -connectionless = nil
|     -bodyfun = <some bytecoede>
|     nntp-with-open-group-internal = nil
|     nntp--report-1 = t
|     nntp-report-n = nil
|     -timer = nil
|   nntp-finish-retrieve-group-infos("gmane" <...> 13)
|   gnus-finish-retrieve-group-infos((nntp "gmane" (nntp-address "news.gmane.org")) <...> 13)
|   gnus-read-active-for-groups((nntp "gmane" (nntp-address "news.gmane.org")) <...> 13)
|   gnus-get-unread-articles(nil nil nil)
|   gnus-group-get-new-news(nil)
|   funcall-interactively(gnus-group-get-new-news nil)
|   call-interactively(gnus-group-get-new-news nil nil)
|   command-execute(gnus-group-get-new-news)
`----

I've truncated what seems to be the ‘infos’ argument to these procedures
defined by ‘deffoo’, as they seemed to be superfluous and were very big
piles of conses.  I don't really know the internals of Gnus and how I'd
debug this without possibly harming my mail is unclear to me, so any
help is appreciated.  IDK if this is misconfiguration on my part or a
bug, so I'm asking this here first.  Thanks in advance,

     -g


_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

             reply	other threads:[~2017-09-06 10:53 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-06 10:53 Göktuğ Kayaalp [this message]
2017-09-06 11:11 ` Alberto Luaces
2017-09-06 11:36   ` Göktuğ Kayaalp
2017-10-10 10:59     ` Göktuğ Kayaalp
2017-10-10 11:12       ` Emanuel Berg
2017-10-10 11:31         ` Göktuğ Kayaalp
2017-10-10 11:59           ` Emanuel Berg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ygm7exc9jys.fsf@alpha \
    --to=self@gkayaalp.com \
    --cc=info-gnus-english@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).