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: Tue, 30 Jun 2015 18:17:17 +0300	[thread overview]
Message-ID: <833819445e.fsf@gnu.org> (raw)
In-Reply-To: <vriu1tgtiool.fsf@example.com>

> From: Sebastien Vauban <sva-news@mygooglest.com>
> Cc: 20927@debbugs.gnu.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.

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

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

> 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.





  reply	other threads:[~2015-06-30 15:17 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 [this message]
     [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=833819445e.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).