unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: Miles Bader <miles@gnu.org>
Cc: Stephen Eilert <spedrosa@gmail.com>, emacs-devel@gnu.org
Subject: Re: Very interesting analysis of "the state of Emacs"
Date: Wed, 30 Apr 2008 09:08:09 -0600	[thread overview]
Message-ID: <m33ap3xtwm.fsf@fleche.redhat.com> (raw)
In-Reply-To: <buood7s6i43.fsf@dhapc248.dev.necel.com> (Miles Bader's message of "Wed\, 30 Apr 2008 14\:12\:44 +0900")

>>>>> "Miles" == Miles Bader <miles.bader@necel.com> writes:

Miles> One thing I've heard a lot is that it's annoying to wait 5
Miles> minutes for gnus to finish reading in a huge group or
Miles> something.

I haven't seen 5 minute pauses since the bad old days -- faster
machines have made elisp look faster.

However, I do experience the occasional annoying pause when an nntp
server is down.  In cases like this it would be nice to have an
asynchronous gnus that connects in the background.

Also, blocking operations sometimes mess with other applications
running in Emacs.  E.g., if blocked too long ERC seems to time out its
connection to irc servers.

Miles> Of course Gnus could be rewritten to do potentially lengthy stuff in the
Miles> background (and that's what usually happens with such things ... e.g.,
Miles> "M-x man"), but it's probably not easy, and in many cases not even
Miles> desirable -- when the wait is short, I think it's less confusing for the
Miles> user for such actions to be synchronous.

My ideal is that no Emacs operation be allowed to block Emacs for
"very long" (like, less than 1 second would be nice).

It is easy to make an async operation look like it is blocking, if
that is desirable.  However, in general I think it probably is not.  I
rather like how M-x man works, or async vc-diff or vc-annotate, and I
don't think they are super confusing to the new user.

So, instead of having "g" in gnus block Emacs entirely, it could
simply block operations in the *Group* buffer and present a message
somewhere saying what is happening.

Tom




  parent reply	other threads:[~2008-04-30 15:08 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-29  3:19 Very interesting analysis of "the state of Emacs" Thomas Lord
2008-04-29  7:26 ` Paul Michael Reilly
2008-04-29 23:17   ` Richard M Stallman
2008-04-30  0:14     ` Thomas Lord
2008-04-30  2:21     ` Stephen Eilert
2008-04-30  3:20       ` dhruva
2008-04-30 22:00         ` Richard M Stallman
2008-04-30 22:49           ` David Hansen
2008-04-30 23:46             ` Thomas Lord
2008-05-01  7:30               ` tomas
2008-05-01  4:23             ` Jonathan Rockway
2008-05-01  6:31               ` David Hansen
2008-05-01  6:42               ` Miles Bader
2008-05-01 18:59                 ` Jonathan Rockway
2008-05-02 15:36                 ` Stefan Monnier
2008-05-02 16:50                   ` CEDET and threads (was Re: Very interesting analysis of "the state of Emacs") Eric M. Ludlam
2008-05-03  8:09                   ` Very interesting analysis of "the state of Emacs" Richard M Stallman
2008-05-03 19:24                     ` Stefan Monnier
2008-05-04  9:37                       ` Richard M Stallman
2008-05-04 23:23                         ` buffer transactions (was Re: Very interesting analysis of "the state of Emacs") Nic
2008-05-05 15:14                           ` Richard M Stallman
2008-04-30  5:12       ` Very interesting analysis of "the state of Emacs" Miles Bader
2008-04-30 14:06         ` David Kastrup
2008-04-30 15:08         ` Tom Tromey [this message]
2008-05-15  6:21           ` ERC disconnects when blocked too long (was: Very interesting analysis of "the state of Emacs") Michael Olson
2008-04-30 16:08         ` Very interesting analysis of "the state of Emacs" Thomas Lord
2008-04-30  6:24       ` Paul Michael Reilly
2008-04-30 14:12       ` Mathias Dahl
2008-04-30 22:01       ` Richard M Stallman
2008-04-30 22:56         ` Thomas Lord

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=m33ap3xtwm.fsf@fleche.redhat.com \
    --to=tromey@redhat.com \
    --cc=emacs-devel@gnu.org \
    --cc=miles@gnu.org \
    --cc=spedrosa@gmail.com \
    /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 public inbox

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

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 read-only IMAP folder(s) and NNTP newsgroup(s).