all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: dick.r.chiang@gmail.com, 38136@debbugs.gnu.org
Subject: bug#38136: [PATCH] Make gnus-group-get-new-news a non blocking thread
Date: Mon, 18 Nov 2019 12:38:03 -0800	[thread overview]
Message-ID: <87zhgsncno.fsf@ericabrahamsen.net> (raw)
In-Reply-To: <87imnu1knq.fsf@dick>


On 11/18/19 09:54 AM, Lars Ingebrigtsen wrote:
> Eric Abrahamsen <eric@ericabrahamsen.net> writes:
>
>> I haven't tried to make it raise an error, but I did set
>> `nntp-connection-timeout' very low, and try to trigger an error that
>> way. Nothing bad happened -- I will take a look at the code and see how
>> timeouts are handled.
>
> Try putting an (error) in `nntp-open-server' or something.  :-)

Oh, sure. I stuck errors in `nntp-open-server' and
`nntp-finish-retrieve-group-infos', and worked that both with a
nntp-connection-timeout and without, and wasn't able to drive it
completely off the rails -- unfortunately I did get two odd errors which
I was later unable to reproduce: one about selecting a deleted buffer,
which I think came out of `nntp-open-server', and another that looked
like "gnus-thread-group: " and then a chunk of bytecode. I don't know
how I got those, though!

The only other error I'm seeing now is if you start Gnus at a specified
level (ie "M-4 M-x gnus"), it will error out in
`gnus-get-unread-articles', line 1791, because it's expecting "(car
gnus-group-list-mode)" to be a number, but it hasn't been set yet.

In general, it would be great to have more code comments, particularly
in `gnus-get-unread-articles'. I'm afraid that we're going to end up
with more code that only one person really understands, touching on an
area of elisp (threading) that we're all kind of expecting to be
unstable.

That's all I've got for now.





  reply	other threads:[~2019-11-18 20:38 UTC|newest]

Thread overview: 54+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-08 14:56 bug#38136: [PATCH] Make gnus-group-get-new-news a non blocking thread dick.r.chiang
2019-11-09  3:31 ` Eric Abrahamsen
2019-11-14  6:04   ` Lars Ingebrigtsen
2019-11-17 23:25     ` Eric Abrahamsen
2019-11-18  8:54       ` Lars Ingebrigtsen
2019-11-18 20:38         ` Eric Abrahamsen [this message]
2019-11-18 22:22           ` dick.r.chiang
2019-11-18 23:18             ` Eric Abrahamsen
2019-11-19 10:18               ` Robert Pluim
2019-11-19 17:08                 ` Eric Abrahamsen
2019-11-20 11:18                   ` Lars Ingebrigtsen
2019-11-20 11:55                     ` Michael Albinus
2019-11-20 12:37                       ` Robert Pluim
2019-11-20 13:00                         ` Michael Albinus
2019-11-20 13:31                           ` Robert Pluim
2019-11-20 13:43                             ` Michael Albinus
2019-11-20 14:18                               ` Robert Pluim
2019-11-20 14:30                                 ` Michael Albinus
2019-11-20 17:31                                   ` Robert Pluim
2019-11-20 17:45                                     ` Michael Albinus
2019-11-20 16:42                                 ` Eric Abrahamsen
2019-11-20 16:58                                   ` Robert Pluim
2019-11-20 17:01                                     ` Michael Albinus
2019-11-20 17:24                                       ` Robert Pluim
2019-11-20 17:34                                         ` Michael Albinus
2019-11-20 17:42                                           ` Robert Pluim
2019-11-20 17:51                                             ` Michael Albinus
2019-11-20 17:53                                               ` Robert Pluim
2019-11-20 18:22                                                 ` Michael Albinus
2019-11-20 18:43                                                 ` Eric Abrahamsen
2019-11-20 19:29                                                   ` Robert Pluim
2019-11-20 16:59                                   ` Michael Albinus
2019-11-20 17:28                                     ` Robert Pluim
2019-11-20 17:43                                       ` Michael Albinus
2019-11-20 17:51                                         ` Robert Pluim
2019-11-20 17:59                                           ` Michael Albinus
2019-11-21 11:52                                 ` Lars Ingebrigtsen
2019-11-21 12:46                                   ` Michael Albinus
2019-11-21 13:03                                     ` Lars Ingebrigtsen
2019-11-21 14:54                                       ` Michael Albinus
2019-11-21 16:39                                         ` Robert Pluim
2019-11-22  8:30                                           ` Michael Albinus
2019-11-22 11:15                                             ` Robert Pluim
2019-11-22 11:41                                               ` Michael Albinus
2019-11-22 14:13                                                 ` Robert Pluim
2019-11-22 16:33                                                   ` Michael Albinus
2019-11-24 11:09                                                     ` Michael Albinus
2019-12-14 16:22               ` dick.r.chiang
2019-12-14 19:38                 ` Eric Abrahamsen
2021-05-12 15:52                   ` Lars Ingebrigtsen
2021-05-12 16:30                     ` dick.r.chiang
2019-11-12 10:01 ` bug#38136: [PATCH] Make gnus-group-get-new-news a non blocking thread, " Robert Pluim
2019-11-25 17:50   ` bug#38136: https://github.com/dickmao/gnus dick.r.chiang
2019-11-25 19:02     ` Eric Abrahamsen

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=87zhgsncno.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --cc=38136@debbugs.gnu.org \
    --cc=dick.r.chiang@gmail.com \
    --cc=larsi@gnus.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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.