[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using glib's g_file_monitor_file and g_file_monitor_directory
From: |
Michael Albinus |
Subject: |
Re: Using glib's g_file_monitor_file and g_file_monitor_directory |
Date: |
Wed, 05 Jun 2013 15:25:23 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Paul Eggert <address@hidden> writes:
> I tried the new monitor and it made Emacs freeze.
> I was running "emacs -nw", which I think may help explain the problem.
> Fedora 17, x86-64. Here's what I ran:
>
> (gfile-add-watch "/tmp/foo" '() (lambda (ev) (message "%s" ev)))
>
> Here are the diagnostics that were blatted
> onto my screen before Emacs froze:
>
> (process:11082): GLib-GObject-CRITICAL **: gtype.c:2722: You forgot to
> call g_type_init()
I've committed a patch to the trunk which prevents this crash. However,
if you call "emacs -nw", you won't get any notification. I suppose we
need an generalized g_main_loop integration, synchronized with the code
in gtkutil.c.
Likely, we must move this code out of gtkutil.c and gfilenotify.c. Jan?
Best regards, Michael.
- Re: Using glib's g_file_monitor_file and g_file_monitor_directory, (continued)
- Re: Using glib's g_file_monitor_file and g_file_monitor_directory, Eli Zaretskii, 2013/06/03
- Re: Using glib's g_file_monitor_file and g_file_monitor_directory, Eli Zaretskii, 2013/06/03
- Re: Using glib's g_file_monitor_file and g_file_monitor_directory, Glenn Morris, 2013/06/03
- Re: Using glib's g_file_monitor_file and g_file_monitor_directory, Michael Albinus, 2013/06/03
- Re: Using glib's g_file_monitor_file and g_file_monitor_directory, Paul Eggert, 2013/06/04
- Re: Using glib's g_file_monitor_file and g_file_monitor_directory, Eli Zaretskii, 2013/06/04
- Re: Using glib's g_file_monitor_file and g_file_monitor_directory, Paul Eggert, 2013/06/04
- Re: Using glib's g_file_monitor_file and g_file_monitor_directory, Stefan Monnier, 2013/06/04
- Re: Using glib's g_file_monitor_file and g_file_monitor_directory, Paul Eggert, 2013/06/06
- Re: Using glib's g_file_monitor_file and g_file_monitor_directory, Paul Eggert, 2013/06/04
- Re: Using glib's g_file_monitor_file and g_file_monitor_directory,
Michael Albinus <=
- Re: Using glib's g_file_monitor_file and g_file_monitor_directory, Jan Djärv, 2013/06/05
- Re: Using glib's g_file_monitor_file and g_file_monitor_directory, Michael Albinus, 2013/06/06
- Re: Using glib's g_file_monitor_file and g_file_monitor_directory, Jan Djärv, 2013/06/07
- Re: Using glib's g_file_monitor_file and g_file_monitor_directory, Michael Albinus, 2013/06/07
- Re: Using glib's g_file_monitor_file and g_file_monitor_directory, Jan Djärv, 2013/06/07
- Re: Using glib's g_file_monitor_file and g_file_monitor_directory, Michael Albinus, 2013/06/07
- Re: Using glib's g_file_monitor_file and g_file_monitor_directory, Jan Djärv, 2013/06/08
- Re: Using glib's g_file_monitor_file and g_file_monitor_directory, Michael Albinus, 2013/06/03