unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Sebastien Vauban <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org>
To: Ken Brown <kbrown-HmMyXyqgL2CVc3sceRu5cw@public.gmane.org>
Cc: 20927-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org
Subject: bug#20927: 24.5; Cygwin Emacs completely blocks for 5+ seconds
Date: Tue, 30 Jun 2015 10:26:55 +0200	[thread overview]
Message-ID: <vriu6165iots.fsf@example.com> (raw)
In-Reply-To: <55915E49.4010409-HmMyXyqgL2CVc3sceRu5cw@public.gmane.org> (Ken Brown's message of "Mon, 29 Jun 2015 11:03:37 -0400")

Ken Brown <kbrown-HmMyXyqgL2CVc3sceRu5cw@public.gmane.org> writes:
> On 6/29/2015 9:21 AM, Sebastien Vauban wrote:
>> When:
>>
>> 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 can't reproduce this on my system.  I held my finger on the down arrow for
> about 2 minutes.

Weird... I can reproduce that quite easily, and Emacs pauses almost on
the same lines each time.

If you're interested, I can make a video of it.

>> 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.
>>
>> Note the above line does NOT cause any trouble in Windows Emacs...
>
> One difference is that Cygwin Emacs uses gfilenotify, based on GLib.  I recall
> a discussion some time ago (either on emacs-devel or in a bug report) about
> problems with gfilenotify, but I don't remember if the problems were resolved.

That seems to still be the problem -- see next post.





  parent reply	other threads:[~2015-06-30  8:26 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 [this message]
2015-06-29 15:06 ` Eli Zaretskii
     [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=vriu6165iots.fsf@example.com \
    --to=sva-news-d0wtavr13harg/idocfnwg@public.gmane.org \
    --cc=20927-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org \
    --cc=kbrown-HmMyXyqgL2CVc3sceRu5cw@public.gmane.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 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).