Re: Emacs and dbus-send

2010-11-03 Thread Michael Albinus
nyc4...@aol.com writes: > I was trying out Emacs and dbus-send and ran int a minor > problem. > > I sent the following: > > dbus-send --session --print-reply --dest=org.gnu.emacs.TextEditor \ >/org/gnu/emacs/TextEditor org.gnu.emacs.TextEditor > > It sucessful

Emacs and dbus-send

2010-11-03 Thread nyc4bos
Hi, I was trying out Emacs and dbus-send and ran int a minor problem. I sent the following: dbus-send --session --print-reply --dest=org.gnu.emacs.TextEditor \ /org/gnu/emacs/TextEditor org.gnu.emacs.TextEditor It sucessfully created an emacs process. However, I got the message: Error

Re: Emacs and DBUS

2010-08-27 Thread Michael Albinus
Ken Brown writes: > I suspect we can't go any further with this until you return from your > trip and start debugging. Yes, I'm sorry. Let's continue in September. > Ken Best regards, Michael. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/f

Re: Emacs and DBUS

2010-08-27 Thread Ken Brown
started the session bus the right way this time, but I still didn't see any signal from dbus-monitor in Emacs. I assume I should have seen something in the echo area? Yes. You could test whether both Emacs and dbus-monitor use the same bus by reordering the calls: - apply dbus-launch as desc

Re: Emacs and DBUS

2010-08-27 Thread Ken Brown
time, but I still didn't see any signal from dbus-monitor in Emacs. I assume I should have seen something in the echo area? Yes. You could test whether both Emacs and dbus-monitor use the same bus by reordering the calls: - apply dbus-launch as described - echo $DBUS_SESSION_BUS_ADDRESS

Re: Emacs and DBUS

2010-08-27 Thread Michael Albinus
I still > didn't see any signal from dbus-monitor in Emacs. I assume I should > have seen something in the echo area? Yes. You could test whether both Emacs and dbus-monitor use the same bus by reordering the calls: - apply dbus-launch as described - echo $DBUS_SESSION_BU

Re: Emacs and DBUS

2010-08-26 Thread Ken Brown
On 8/26/2010 4:16 PM, Michael Albinus wrote: Ken Brown writes: I'm confused: do you mean, the problem is happening when the system bus is running, or when it is *not* running? I suspect the latter case. I really meant it the way I said it: The problem occurs if the system bus *is* running. I

Re: Emacs and DBUS

2010-08-26 Thread Michael Albinus
Ken Brown writes: >> I'm confused: do you mean, the problem is happening when the system bus >> is running, or when it is *not* running? I suspect the latter case. > > I really meant it the way I said it: The problem occurs if the system > bus *is* running. I've done some further testing, and he

Re: Emacs and DBUS

2010-08-26 Thread Ken Brown
On 8/26/2010 12:16 AM, Michael Albinus wrote: Ken Brown writes: The blocking you observed when dbus.el is loaded doesn't occur with a build from the Emacs trunk (r101187). Correction: It occurs if and only if the system messagebus service is running. I'm confused: do you mean, the problem

Re: Emacs and DBUS

2010-08-25 Thread Michael Albinus
Ken Brown writes: >> The blocking you observed when dbus.el is loaded doesn't occur with a >> build from the Emacs trunk (r101187). > > Correction: It occurs if and only if the system messagebus service is > running. I'm confused: do you mean, the problem is happening when the system bus is runn

Re: Emacs and DBUS

2010-08-25 Thread Michael Albinus
Ken Brown writes: > Hi Michael, Hi Ken, > The blocking you observed when dbus.el is loaded doesn't occur with a > build from the Emacs trunk (r101187). But I don't know how to test > the dbus functionality after loading dbus.el. There is a manual, open it with (info "(dbus)") You could check

Re: Emacs and DBUS

2010-08-25 Thread Ken Brown
On 8/25/2010 10:37 AM, Ken Brown wrote: On 8/25/2010 10:02 AM, Ken Brown wrote: On 8/24/2010 11:28 PM, Michael Albinus wrote: Ken Brown writes: After installing that library, Emacs did start. How ever, it blocks when loading dbus.el. Don't you normally have to start a D-BUS session befor

Re: Emacs and DBUS

2010-08-25 Thread Ken Brown
On 8/25/2010 10:02 AM, Ken Brown wrote: On 8/24/2010 11:28 PM, Michael Albinus wrote: Ken Brown writes: After installing that library, Emacs did start. How ever, it blocks when loading dbus.el. Don't you normally have to start a D-BUS session before loading dbus.el? Maybe one of the Cygwi

Re: Emacs and DBUS

2010-08-25 Thread Ken Brown
On 8/24/2010 11:28 PM, Michael Albinus wrote: Ken Brown writes: After installing that library, Emacs did start. How ever, it blocks when loading dbus.el. Don't you normally have to start a D-BUS session before loading dbus.el? Maybe one of the Cygwin people who uses D-BUS can tell us how t

Re: Emacs and DBUS

2010-08-24 Thread Yaakov (Cygwin/X)
On Wed, 2010-08-25 at 05:28 +0200, Michael Albinus wrote: > Ken Brown writes: > > Don't you normally have to start a D-BUS session before loading > > dbus.el? Maybe one of the Cygwin people who uses D-BUS can tell us how > > to do that. > > I've started the session bus via dbus-launch in advance,

Re: Emacs and DBUS

2010-08-24 Thread Michael Albinus
Ken Brown writes: >> After installing that library, Emacs did start. How ever, it blocks >> when loading dbus.el. > > Don't you normally have to start a D-BUS session before loading > dbus.el? Maybe one of the Cygwin people who uses D-BUS can tell us how > to do that. I've started the session bu

Re: Emacs and DBUS

2010-08-24 Thread René Berber
Ken Brown wrote: [snip] > Don't you normally have to start a D-BUS session before loading dbus.el? > Maybe one of the Cygwin people who uses D-BUS can tell us how to do that. libdbus starts "dbus-daemon --session" if its not already started (global or session) and if it can find it (in the PATH

Re: Emacs and DBUS

2010-08-24 Thread Ken Brown
On 8/24/2010 3:43 PM, Michael Albinus wrote: Ken Brown writes: Hi Ken, It's some years ago I have used Cygwin. But if you have uploaded the build already, I could check, whether I have problems running Emacs + D-Bus under Cygwin. Yes, it's uploaded. See http://cygwin.com/ml/cygwin-annou

Re: Emacs and DBUS

2010-08-24 Thread Michael Albinus
Ken Brown writes: Hi Ken, >> It's some years ago I have used Cygwin. But if you have uploaded the >> build already, I could check, whether I have problems running Emacs + >> D-Bus under Cygwin. > > Yes, it's uploaded. See > > http://cygwin.com/ml/cygwin-announce/2010-08/msg00020.html Unfortu

Re: Emacs and DBUS

2010-08-20 Thread Ken Brown
On 8/20/2010 2:14 PM, Reini Urban wrote: 2010/8/14 Ken Brown: On 8/12/2010 10:36 PM, nyc4...@aol.com wrote: Can the Cygwin Emacs maintainer compile an Emacs binary (emacs-X11, emacs-nox, etc) with D-BUS? It appears that the cygdbus-1-3.dll should be able to be available for Cygwin Emacs suppor

Re: Emacs and DBUS

2010-08-20 Thread Reini Urban
2010/8/14 Ken Brown : > On 8/12/2010 10:36 PM, nyc4...@aol.com wrote: >> Can the Cygwin Emacs maintainer compile an >> Emacs binary (emacs-X11, emacs-nox, etc) with D-BUS? >> >> It appears that the cygdbus-1-3.dll should be able >> to be available for Cygwin Emacs support. > > Yes, I've just checke

Re: Emacs and DBUS

2010-08-18 Thread Ken Brown
On 8/18/2010 3:19 PM, Michael Albinus wrote: Ken Brown writes: Thanks, Michael. I don't use D-BUS myself, but I hope the OP will test it and report back. It's some years ago I have used Cygwin. But if you have uploaded the build already, I could check, whether I have problems running Emacs

Re: Emacs and DBUS

2010-08-18 Thread Michael Albinus
Ken Brown writes: > Thanks, Michael. I don't use D-BUS myself, but I hope the OP will > test it and report back. It's some years ago I have used Cygwin. But if you have uploaded the build already, I could check, whether I have problems running Emacs + D-Bus under Cygwin. > Ken Best regards, M

Re: Emacs and DBUS

2010-08-18 Thread Ken Brown
On 8/18/2010 2:43 PM, Michael Albinus wrote: Ken Brown writes: Yes, I've just checked that it builds with D-Bus. I'll upload a test release in a few days. BTW, the configure script gives the following warning: D-Bus integration has been tested for GNU/Linux only. So I don't know if it wi

Re: Emacs and DBUS

2010-08-18 Thread Michael Albinus
Ken Brown writes: > Yes, I've just checked that it builds with D-Bus. I'll upload a test > release in a few days. BTW, the configure script gives the following > warning: > > D-Bus integration has been tested for GNU/Linux only. > > So I don't know if it will work. This message is from me (I

Re: Emacs and DBUS

2010-08-14 Thread Ken Brown
On 8/12/2010 10:36 PM, nyc4...@aol.com wrote: Hi, Can the Cygwin Emacs maintainer compile an Emacs binary (emacs-X11, emacs-nox, etc) with D-BUS? It appears that the cygdbus-1-3.dll should be able to be available for Cygwin Emacs support. Thanks. Yes, I've just checked that it builds with D-

Emacs and DBUS

2010-08-12 Thread nyc4bos
Hi, Can the Cygwin Emacs maintainer compile an Emacs binary (emacs-X11, emacs-nox, etc) with D-BUS? It appears that the cygdbus-1-3.dll should be able to be available for Cygwin Emacs support. Thanks. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin