all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alexander Shukaev <haroogan@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: It's almost 2016 and when (single-threaded) Emacs hangs, you gotta be smashing your keyboard!
Date: Thu, 19 Nov 2015 21:55:06 +0100	[thread overview]
Message-ID: <CAKu-7Wz1DYH-w28ud2iHnZ9rapAQDdx5s9K_Lgh+YT-VR+YVAg@mail.gmail.com> (raw)
In-Reply-To: <83vb8x7m5a.fsf@gnu.org>

On Thu, Nov 19, 2015 at 9:46 PM, Eli Zaretskii <eliz@gnu.org> wrote:
>> Date: Thu, 19 Nov 2015 21:29:04 +0100
>> From: Alexander Shukaev <haroogan@gmail.com>
>>
>> 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.
>
> You are on Windows, right?

In this particular case, I'm talking about Linux and directories
mounted from network.

>> how can so advanced text editor with ~30 year history be so unreliable
>> and fragile to work with in randomly occurring cases?
>
> FWIW, it isn't unreliable or fragile for me.  It is rather rock-solid,
> my sessions are usually open for many weeks on end, and almost never
> crash or hang.

Exactly, "almost never", but hangs DO happen.

>> 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.
>
> Neither of this is true.  When Emacs hits a fatal error, it
> auto-saves, and if you activate the desktop-saving feature, it will
> save a snapshot of your window and frame configuration fairly
> frequently, so starting a new session recreates at least those buffers
> which were visiting files or directories.

Could you please provide concrete settings for this?  Also, maybe it
does save on fatal error, but you have no chance of saving upon
killing the Emacs process due to dead hang.

>> First of all, I just want to once again draw your attention to one
>> of the urgent issues (to this date) of Emacs.
>
> Which urgent issue is that?

The one described above: dead handing.

>> And, secondly, I want to ask whether there exists a way to solve the
>> problem described above without multi-threading?
>
> On Posix systems, Emacs does use a kind of multi-threading: it invokes
> the 'ls' command to generate the directory listing.  You can configure
> Emacs on Windows to do the same, if you can get your hands on a decent
> port of GNU 'ls'.
>

I'm using 'ls' on both Linux and Windows and this does not prevent the
occasional hang on network directories.



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

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-19 20:29 It's almost 2016 and when (single-threaded) Emacs hangs, you gotta be smashing your keyboard! Alexander Shukaev
2015-11-19 20:36 ` 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 [this message]
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-7Wz1DYH-w28ud2iHnZ9rapAQDdx5s9K_Lgh+YT-VR+YVAg@mail.gmail.com \
    --to=haroogan@gmail.com \
    --cc=eliz@gnu.org \
    --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.