X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.4 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org From: Michael Albinus To: cygwin AT cygwin DOT com Subject: Re: Emacs and dbus-send References: <84sjzhk57r DOT fsf AT aol DOT com> Date: Thu, 04 Nov 2010 06:22:50 +0100 In-Reply-To: <84sjzhk57r.fsf@aol.com> (nyc4bos@aol.com's message of "Wed, 03 Nov 2010 22:50:16 -0700") Message-ID: <8739rhk6hh.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com nyc4bos AT aol DOT 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 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] > Name=org.gnu.emacs.TextEditor > Exec=/usr/bin/emacs-x11 > > 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. > Thanks. Best regards, Michael. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple