unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Sebastien Vauban <sva-news@mygooglest.com>
Cc: 20927@debbugs.gnu.org
Subject: bug#20927: 24.5; Cygwin Emacs completely blocks for 5+ seconds
Date: Mon, 29 Jun 2015 18:06:47 +0300	[thread overview]
Message-ID: <83y4j24kqg.fsf@gnu.org> (raw)
In-Reply-To: <vriuvbe6abvs.fsf@example.com>

> From: Sebastien Vauban <sva-news@mygooglest.com>
> Date: Mon, 29 Jun 2015 15:21:27 +0200
> 
> 1. Starting Cygwin Emacs,
> 2. Opening whichever local file (`org-mode/lisp/org.el', in my case),
>    and
> 3. Keeping constantly our index on the Down arrow key to make the buffer
>    scroll indefinitely,
> 
> Emacs blocks (after 30 seconds scroll or so) for 5 entire seconds, and
> then revives...
> 
> I've tracked down this problem in Cygwin Emacs, and it's due to this
> line:
> 
> --8<---------------cut here---------------start------------->8---
>   (global-auto-revert-mode 1)           ; Auto refresh buffers.
> --8<---------------cut here---------------end--------------->8---
> 
> When it's commented, Cygwin Emacs behaves normally.

Probably because you use glib's notifications, and they seem to
suck...

What happens if you set auto-revert-use-notify to nil before turning
on global-auto-revert-mode?

(Btw, I think global-auto-revert-mode is evil, and advise not to use
it.  Especially with file notifications.  Just turn on
auto-revert-mode in those buffers/mode hooks where you really need
that.)





  parent reply	other threads:[~2015-06-29 15:06 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-29 13:21 bug#20927: 24.5; Cygwin Emacs completely blocks for 5+ seconds Sebastien Vauban
2015-06-29 15:03 ` Ken Brown
     [not found]   ` <55915E49.4010409-HmMyXyqgL2CVc3sceRu5cw@public.gmane.org>
2015-06-30  8:26     ` Sebastien Vauban
2015-06-29 15:06 ` Eli Zaretskii [this message]
     [not found]   ` <83y4j24kqg.fsf-mXXj517/zsQ@public.gmane.org>
2015-06-30  8:30     ` Sebastien Vauban
2015-06-30 15:17       ` Eli Zaretskii
     [not found]       ` <mailman.6028.1435677495.904.bug-gnu-emacs@gnu.org>
     [not found]         ` <mailman.6028.1435677495.904.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2015-07-02  9:09           ` Sebastien Vauban
2016-12-07 21:03             ` Glenn Morris

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=83y4j24kqg.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=20927@debbugs.gnu.org \
    --cc=sva-news@mygooglest.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).