Emacs and dbus-send
Thu Nov 4 05:23:00 GMT 2010
> I was trying out Emacs and dbus-send and ran int a minor
> 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 org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
> My .service file contains:
> [D-BUS Service]
> Is the emacs dbus binary setup to send replies?
Emacs does not listen to the org.gnu.emacs.TextEditor service by
default. It was just given as example in the doc. If you want to let
Emacs reply to a method, you must load a file at startup, which calls
dbus-register-method for the requested interface/method.
Best regards, Michael.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin