Re: Problems with emacs built against gtk3

2012-04-04 Thread Ken Brown
On 4/3/2012 11:55 PM, Yaakov (Cygwin/X) wrote: On 2012-04-03 20:52, Ken Brown wrote: There's no problem when emacs is built with gtk2. There's also no problem with gtk3, provided I set GSETTINGS_BACKEND=memory. I regularly run the entire GNOME desktop for hours (if not days) on end, so I

Re: Problems with emacs built against gtk3

2012-04-04 Thread Yaakov (Cygwin/X)
On 2012-04-04 09:15, Ken Brown wrote: Another option is to use gtk3 but to put the GSETTINGS_BACKEND workaround into the emacs startup code: setenv (GSETTINGS_BACKEND, memory, 1); I've been testing this, and it seems to work (but I won't be completely confident until I've had emacs running for

Re: Problems with emacs built against gtk3

2012-04-03 Thread Yaakov (Cygwin/X)
On 2012-04-03 16:11, Ken Brown wrote: Now that gvfs is available, I've built the latest emacs-24 pretest against gtk3 and removed the GSETTINGS_BACKEND=memory setting, but I still have the same problem. If I start emacs and then just walk away from it, after a while it will die with a segfault.

Re: Problems with emacs built against gtk3

2012-04-03 Thread Ken Brown
On 4/3/2012 6:30 PM, Yaakov (Cygwin/X) wrote: On 2012-04-03 16:11, Ken Brown wrote: Now that gvfs is available, I've built the latest emacs-24 pretest against gtk3 and removed the GSETTINGS_BACKEND=memory setting, but I still have the same problem. If I start emacs and then just walk away from

Re: Problems with emacs built against gtk3

2012-04-03 Thread Yaakov (Cygwin/X)
On 2012-04-03 20:52, Ken Brown wrote: There's no problem when emacs is built with gtk2. There's also no problem with gtk3, provided I set GSETTINGS_BACKEND=memory. I regularly run the entire GNOME desktop for hours (if not days) on end, so I really don't think that this is a bug in dconf or

Re: Problems with emacs built against gtk3

2011-12-10 Thread Ken Brown
On 12/9/2011 8:39 PM, nyc4...@aol.com wrote: Ken Brownkbr...@cornell.edu writes: On 11/30/2011 6:54 AM, Yaakov (Cygwin/X) wrote: On Wed, 2011-11-30 at 11:17 +0100, Pavel Holejsovsky wrote: On 11/30/2011 4:51 AM, Yaakov (Cygwin/X) wrote: 2. The pango warning can already be observed with

Re: Problems with emacs built against gtk3

2011-12-09 Thread nyc4bos
Ken Brown kbr...@cornell.edu writes: On 11/30/2011 6:54 AM, Yaakov (Cygwin/X) wrote: On Wed, 2011-11-30 at 11:17 +0100, Pavel Holejsovsky wrote: On 11/30/2011 4:51 AM, Yaakov (Cygwin/X) wrote: 2. The pango warning can already be observed with the current Cygwin emacs after the recent update

Re: Problems with emacs built against gtk3

2011-12-05 Thread Ken Brown
On 12/4/2011 8:44 PM, Ken Brown wrote: On 12/4/2011 7:13 PM, Yaakov (Cygwin/X) wrote: On Fri, 2011-12-02 at 08:01 -0500, Ken Brown wrote: This doesn't do it. Emacs still dies after a short time. I don't know if that means that there's something else going on, but I'll retest it after you

Re: Problems with emacs built against gtk3

2011-12-04 Thread Yaakov (Cygwin/X)
On Fri, 2011-12-02 at 08:01 -0500, Ken Brown wrote: This doesn't do it. Emacs still dies after a short time. I don't know if that means that there's something else going on, but I'll retest it after you package gvfs. In the meantime, I'll continue with my workaround of setting

Re: Problems with emacs built against gtk3

2011-12-04 Thread Yaakov (Cygwin/X)
On Sat, 2011-12-03 at 15:30 +0100, Angelo Graziosi wrote: Just for completeness... Yaakov wrote Okay, I got it. dconf-service needs a GVfs implementation, but the default provider (from the gvfs package) is currently only available in Ports. That's what I get for trying to be

Re: Problems with emacs built against gtk3

2011-12-04 Thread Ken Brown
On 12/4/2011 7:13 PM, Yaakov (Cygwin/X) wrote: On Fri, 2011-12-02 at 08:01 -0500, Ken Brown wrote: This doesn't do it. Emacs still dies after a short time. I don't know if that means that there's something else going on, but I'll retest it after you package gvfs. In the meantime, I'll

Re: Problems with emacs built against gtk3

2011-12-03 Thread Angelo Graziosi
Just for completeness... Yaakov wrote Okay, I got it. dconf-service needs a GVfs implementation, but the default provider (from the gvfs package) is currently only available in Ports. That's what I get for trying to be minimalistic wrt the distro. I installed gvfs and all it needs (I have

Re: Problems with emacs built against gtk3

2011-12-03 Thread nyc4bos
Hi, Yaakov (Cygwin/X) yselkow...@users.sourceforge.net writes: On Sat, 2011-11-26 at 08:40 -0500, Ken Brown wrote: On 11/25/2011 7:38 PM, Ken Brown wrote: When I build emacs against gtk3, it is unusable. Here are the symptoms when the resulting emacs is started in an xterm window: $

Re: Problems with emacs built against gtk3

2011-12-02 Thread Yaakov (Cygwin/X)
On Thu, 2011-12-01 at 18:04 -0500, Ken Brown wrote: On 11/30/2011 9:09 AM, Ken Brown wrote: On 11/29/2011 10:51 PM, Yaakov (Cygwin/X) wrote: This appears to be the same bug. The solution is to launch a DBus session bus *before* starting emacs (or any other gtk3 programs for that matter),

Re: Problems with emacs built against gtk3

2011-12-02 Thread Ken Brown
On 12/2/2011 5:35 AM, Yaakov (Cygwin/X) wrote: On Thu, 2011-12-01 at 18:04 -0500, Ken Brown wrote: On 11/30/2011 9:09 AM, Ken Brown wrote: On 11/29/2011 10:51 PM, Yaakov (Cygwin/X) wrote: This appears to be the same bug. The solution is to launch a DBus session bus *before* starting emacs (or

Re: Problems with emacs built against gtk3

2011-12-01 Thread Ken Brown
On 11/30/2011 9:09 AM, Ken Brown wrote: On 11/29/2011 10:51 PM, Yaakov (Cygwin/X) wrote: On Sat, 2011-11-26 at 08:40 -0500, Ken Brown wrote: On 11/25/2011 7:38 PM, Ken Brown wrote: When I build emacs against gtk3, it is unusable. Here are the symptoms when the resulting emacs is started in an

Re: Problems with emacs built against gtk3

2011-11-30 Thread Pavel Holejsovsky
On 11/30/2011 4:51 AM, Yaakov (Cygwin/X) wrote: 2. The pango warning can already be observed with the current Cygwin emacs after the recent update of the GNOME libraries. To reproduce, install the emacs-X11 package and start emacs with the command `emacs' in an xterm window. I cannot

Re: Problems with emacs built against gtk3

2011-11-30 Thread Yaakov (Cygwin/X)
On Wed, 2011-11-30 at 11:17 +0100, Pavel Holejsovsky wrote: On 11/30/2011 4:51 AM, Yaakov (Cygwin/X) wrote: 2. The pango warning can already be observed with the current Cygwin emacs after the recent update of the GNOME libraries. To reproduce, install the emacs-X11 package and start

Re: Problems with emacs built against gtk3

2011-11-30 Thread Ken Brown
On 11/30/2011 6:54 AM, Yaakov (Cygwin/X) wrote: On Wed, 2011-11-30 at 11:17 +0100, Pavel Holejsovsky wrote: On 11/30/2011 4:51 AM, Yaakov (Cygwin/X) wrote: 2. The pango warning can already be observed with the current Cygwin emacs after the recent update of the GNOME libraries. To reproduce,

Re: Problems with emacs built against gtk3

2011-11-30 Thread Ken Brown
On 11/29/2011 10:51 PM, Yaakov (Cygwin/X) wrote: On Sat, 2011-11-26 at 08:40 -0500, Ken Brown wrote: On 11/25/2011 7:38 PM, Ken Brown wrote: When I build emacs against gtk3, it is unusable. Here are the symptoms when the resulting emacs is started in an xterm window: $ ./emacs -Q [1] 3344

Re: Problems with emacs built against gtk3

2011-11-29 Thread Yaakov (Cygwin/X)
On Sat, 2011-11-26 at 08:40 -0500, Ken Brown wrote: On 11/25/2011 7:38 PM, Ken Brown wrote: When I build emacs against gtk3, it is unusable. Here are the symptoms when the resulting emacs is started in an xterm window: $ ./emacs -Q [1] 3344 (emacs:3344): GLib-WARNING **: In call to

Re: Problems with emacs built against gtk3

2011-11-28 Thread Angelo Graziosi
Ken Brown wrote: I don't think gtk3 is the culprit here after all. I uninstalled libgtk3_0 and libgtk3-devel and rebuilt emacs, but the problem persisted. It was only after uninstalling dconf-service (a dependency of libgtk3_0) that things went back to normal. I can confirm. I uninstalled

Re: Problems with emacs built against gtk3

2011-11-26 Thread Ken Brown
On 11/25/2011 7:38 PM, Ken Brown wrote: When I build emacs against gtk3, it is unusable. Here are the symptoms when the resulting emacs is started in an xterm window: $ ./emacs -Q [1] 3344 (emacs:3344): GLib-WARNING **: In call to g_spawn_sync(), exit status of a child process was requested