all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alexander Shukaev <haroogan@gmail.com>
To: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: It's almost 2016 and when (single-threaded) Emacs hangs, you gotta be smashing your keyboard!
Date: Thu, 19 Nov 2015 21:29:04 +0100	[thread overview]
Message-ID: <CAKu-7Wy5Rkf_H5vn7pA+_Ek_euqvfDU-GpyQgNsYO+q5Vg7RPg@mail.gmail.com> (raw)

Hello,

This discussion might be with some rant flavor, and I apologize for
that beforehand.  Currently, I have to work with directories mounted
from network.  As a result, Dired either opens them slowly or hangs
forever (looks like a bug and/or glitch).  I personally find this very
frustrating, especially when I'm in the middle of work with 50+
buffers open (some of which are still in modified state).  The only
way to recover from such problems is to kill the Emacs process.

I've read numerous times on these mailing lists that nobody is really
willing to introduce multi-threading due to historical reasons, and
that Emacs is an inherently single-threaded environment which is not
designed to support multi-threading, and bla bla bla...  On the one
hand, I can understand all the above as a rationale.  On the other
hand, in 2015, it sounds like an amateur excuse.  I mean, seriously,
how can so advanced text editor with ~30 year history be so unreliable
and fragile to work with in randomly occurring cases?  It may freeze
or it may not freeze, but if it does, all of the unsaved work is lost,
not to mention the fact that all of the layout of windows and open
buffers are lost as well.  It's literally UNACCEPTABLE.

Now, I'm not here to teach Emacs developers what to do or annoy
anybody.  First of all, I just want to once again draw your attention
to one of the urgent issues (to this date) of Emacs.  And, secondly, I
want to ask whether there exists a way to solve the problem described
above without multi-threading?  For instance, I believe I saw
something like `defer' package.  My question is: how can I (perhaps)
advise Dired functions (at least for opening directories), so that
they execute asynchronously (at least for interactive use, for
example)?  Currently, I know only one way to avoid this: run another
instance of Emacs which is dedicated exclusively for browsing with
Dired, and that's still kinda lame and limited (as you can't really
open files into another instance of Emacs, where you do your real
work).

Thanks and regards,
Alexander



             reply	other threads:[~2015-11-19 20:29 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-19 20:29 Alexander Shukaev [this message]
2015-11-19 20:36 ` It's almost 2016 and when (single-threaded) Emacs hangs, you gotta be smashing your keyboard! John Wiegley
2015-11-19 20:57   ` Alexander Shukaev
2015-11-19 21:15     ` Eli Zaretskii
2015-11-19 20:46 ` Eli Zaretskii
2015-11-19 20:55   ` Alexander Shukaev
2015-11-19 21:09     ` Eli Zaretskii
     [not found]   ` <mailman.264.1447966512.31583.help-gnu-emacs@gnu.org>
2015-11-19 21:11     ` Pascal J. Bourguignon
2015-11-20  0:36       ` Bob Proulx
2015-11-20 10:49         ` Rasmus
2015-11-22 21:43         ` Xavier Maillard
2015-11-22 22:24           ` Stefan Monnier
2015-11-23  5:11             ` Xavier Maillard
2015-11-23  3:34           ` Eli Zaretskii
2015-11-23  5:13             ` Xavier Maillard
2015-11-23 13:52               ` John Wiegley
2015-11-23  1:19         ` MBR
     [not found]       ` <mailman.285.1447979800.31583.help-gnu-emacs@gnu.org>
2015-11-20  7:53         ` Loris Bennett
2015-11-20  9:42           ` Michael Albinus
2015-11-19 21:25 ` Dmitry Gutov
2015-11-19 21:43   ` Random832
2015-11-19 22:18     ` Dmitry Gutov
2015-11-20  7:54       ` Eli Zaretskii
     [not found] ` <mailman.262.1447966007.31583.help-gnu-emacs@gnu.org>
2015-11-23  0:12   ` Jason Rumney
     [not found] <mailman.258.1447964949.31583.help-gnu-emacs@gnu.org>
2015-11-19 21:09 ` Pascal J. Bourguignon

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=CAKu-7Wy5Rkf_H5vn7pA+_Ek_euqvfDU-GpyQgNsYO+q5Vg7RPg@mail.gmail.com \
    --to=haroogan@gmail.com \
    --cc=help-gnu-emacs@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.
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.