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: Eli Zaretskii <eliz-mXXj517/zsQ@public.gmane.org>
Cc: 20927-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org
Subject: bug#20927: 24.5; Cygwin Emacs completely blocks for 5+ seconds
Date: Thu, 02 Jul 2015 11:09:49 +0200	[thread overview]
Message-ID: <86oajvncwy.fsf@example.com> (raw)
In-Reply-To: <mailman.6028.1435677495.904.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org> (Eli Zaretskii's message of "Tue, 30 Jun 2015 18:17:17 +0300")

Eli Zaretskii <eliz-mXXj517/zsQ@public.gmane.org> writes:
>> From: Sebastien Vauban <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org>
>> Cc: 20927-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org
>> Date: Tue, 30 Jun 2015 10:30:02 +0200
>> 
>> >> 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,
>> 
>> If you say so (I'm not even aware of what that is)...
>
> It's a library which implements file notifications.
>
>> Would you advice me to put:
>> 
>> --8<---------------cut here---------------start------------->8---
>>   ;; Don't use file notification functions.
>>   (setq auto-revert-use-notify nil)
>> --8<---------------cut here---------------end--------------->8---
>> 
>> just for Cygwin Emacs (where the problem was visible)
>
> Since Ken cannot reproduce this in his Emacs, I'd suggest to try and
> figure out why you are hit by this problem, while he is not.

That stays a mystery.

> For starters, does the problem happen in "emacs -Q"?

I guess not. I should try to get a recipe for reproducing it from
emacs -Q, that's right.

> If so, I suggest to compare the versions of glib you and Ken use.

I use his Cygwin Emacs package (now, 24.5.2). Dunno about glib versions.

>> or for both Windows and Cygwin Emacs?
>
> No, the native Windows build of Emacs doesn't use glib (it can be
> built like that, but when I tried this, file notifications simply
> didn't work at all).  It uses a native Windows API for receiving file
> notifications.  So this is definitely not needed in the native Windows
> build.

Thanks for this precision.





  parent reply	other threads:[~2015-07-02  9:09 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
     [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 [this message]
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=86oajvncwy.fsf@example.com \
    --to=sva-news-d0wtavr13harg/idocfnwg@public.gmane.org \
    --cc=20927-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org \
    --cc=eliz-mXXj517/zsQ@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).