Re: emacs-23.2-3 and DBus

2010-10-08 Thread Michael Albinus
Ken Brown writes: > So I think the bottom line is that, at least under Cygwin, users > should make sure the system bus is running before loading dbus.el. That's recommended under any system. Btw, in order to play with a "real" application, I've tried secrets.el from the trunk, combined with ema

Re: emacs-23.2-3 and DBus

2010-10-08 Thread Ken Brown
On 10/8/2010 8:00 AM, Michael Albinus wrote: Ken Brown writes: Yep. Reading the code, I have the feeling, that the following patch should help: [...] No, I still get the freeze if I load dbus and the system bus isn't running. That's strange. Today, I could test under cygwin. I've recompile

Re: emacs-23.2-3 and DBus

2010-10-08 Thread Michael Albinus
Ken Brown writes: >> Yep. Reading the code, I have the feeling, that the following patch >> should help: > [...] > > No, I still get the freeze if I load dbus and the system bus isn't running. That's strange. Today, I could test under cygwin. I've recompiled the sources from the emacs-23 branch,

Re: emacs-23.2-3 and DBus

2010-10-07 Thread Ken Brown
On 10/7/2010 11:03 AM, Michael Albinus wrote: Here's what I was thinking of: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=6579 Yep. Reading the code, I have the feeling, that the following patch should help: [...] No, I still get the freeze if I load dbus and the system bus isn't running.

Re: emacs-23.2-3 and DBus

2010-10-07 Thread Michael Albinus
Ken Brown writes: >>> I haven't the cygwin notebook with me, next access for me is tomorrow. >>> I'll check then. I couldn't do it today, unfortunately. >> Yes, that's it. Emacs does freeze if I load dbus.el and the system bus >> isn't running. But the problem doesn't occur in a build of Emac

Re: emacs-23.2-3 and DBus

2010-10-06 Thread Ken Brown
On 10/6/2010 2:12 PM, Ken Brown wrote: On 10/6/2010 1:51 PM, Michael Albinus wrote: Ken Brown writes: The binary has the following checksum: $ cksum /usr/bin/emacs 658187514 16254990 /usr/bin/emacs That's not actually the binary; it's a symlink that resolves to either /usr/bin/emacs-X11.exe

Re: emacs-23.2-3 and DBus

2010-10-06 Thread Ken Brown
On 10/6/2010 1:51 PM, Michael Albinus wrote: Ken Brown writes: The binary has the following checksum: $ cksum /usr/bin/emacs 658187514 16254990 /usr/bin/emacs That's not actually the binary; it's a symlink that resolves to either /usr/bin/emacs-X11.exe or /usr/bin/emacs-nox.exe, depending on

Re: emacs-23.2-3 and DBus

2010-10-06 Thread Michael Albinus
Ken Brown writes: >> The binary has the following checksum: >> >> $ cksum /usr/bin/emacs >> 658187514 16254990 /usr/bin/emacs > > That's not actually the binary; it's a symlink that resolves to either > /usr/bin/emacs-X11.exe or /usr/bin/emacs-nox.exe, depending on whether > or not you've install

Re: emacs-23.2-3 and DBus

2010-10-06 Thread Ken Brown
On 10/6/2010 10:41 AM, Michael Albinus wrote: Ken Brown writes: Maybe you could also try to send a notification: (notifications-notify :title "Hello world" :body "from Emacs") This results in the error "The name org.freedesktop.Notifications was not provided by any .service files", as you p

Re: emacs-23.2-3 and DBus

2010-10-06 Thread Michael Albinus
Ken Brown writes: >> Maybe you could also try to send a notification: >> >> (notifications-notify :title "Hello world" :body "from Emacs") > > This results in the error "The name org.freedesktop.Notifications was > not provided by any .service files", as you predicted. So I don't > think it poin

Re: emacs-23.2-3 and DBus

2010-10-06 Thread Ken Brown
On 10/6/2010 12:18 AM, Michael Albinus wrote: Ken Brown writes: It doesn't seem to be a problem under Cygwin either. I just tried loading notifications.el, and Emacs didn't freeze. So I guess we'll have to wait for a more detailed problem report from the OP saying exactly what he did. Mayb

Re: emacs-23.2-3 and DBus

2010-10-05 Thread Michael Albinus
Ken Brown writes: > It doesn't seem to be a problem under Cygwin either. I just tried > loading notifications.el, and Emacs didn't freeze. So I guess we'll > have to wait for a more detailed problem report from the OP saying > exactly what he did. Maybe you could also try to send a notificatio

Re: emacs-23.2-3 and DBus

2010-10-05 Thread Ken Brown
On 10/5/2010 2:48 PM, Michael Albinus wrote: Ken Brown writes: So if you're trying to use a library from the Emacs 24 trunk, it's possible that it's simply not compatible with Emacs 23. Under GNU/Linux, I've shortly tested notifications.el (taken from the trunk) in the emacs-23 branch; it wo

Re: emacs-23.2-3 and DBus

2010-10-05 Thread Michael Albinus
Ken Brown writes: > So if you're trying to use a library from the Emacs 24 trunk, it's > possible that it's simply not compatible with Emacs 23. Under GNU/Linux, I've shortly tested notifications.el (taken from the trunk) in the emacs-23 branch; it works w/o problem. This does not seem to be the

Re: emacs-23.2-3 and DBus

2010-10-05 Thread Michael Albinus
Ken Brown writes: >> I tried to use notifiations.el (from the Emacs 24 trunk). Could you, please, eval (setq dbus-debug t) before loading the package? This shall give us more information. > 4. In a different shell, set (and export) $DBUS_SESSION_BUS_ADDRESS to > this value, and run dbus-mon

Re: emacs-23.2-3 and DBus

2010-10-05 Thread Ken Brown
On 10/4/2010 11:47 PM, nyc4...@aol.com wrote: Thank you for your work on incorporating Emacs and DBus! Can you tell me how you are testing it? I tried to use notifiations.el (from the Emacs 24 trunk). After loading it, Emacs appears to freeze and I see that the emacs and winlogin.exe processes