all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Thien-Thi Nguyen <ttn@gnuvola.org>
Cc: rms@gnu.org, emacs-devel@gnu.org
Subject: Re: callback functions in Emacs
Date: Wed, 05 Sep 2007 12:48:12 +0200	[thread overview]
Message-ID: <nqabs19ymr.fsf@alcatel-lucent.de> (raw)
In-Reply-To: <873axtz9ng.fsf@gnuvola.org> (Thien-Thi Nguyen's message of "Wed, 05 Sep 2007 12:30:59 +0200")

Thien-Thi Nguyen <ttn@gnuvola.org> writes:

> how about extending emacsclient to communicate d-bus messages?
> that should be able to handle all three of these cases, and
> furthermore handle disambiguation of multiple emacs instances.

Anything goes. But first I need to do the dirty part: communicate with
dbus. At least I'm able already to see all registered services, and
to react on the screensaver signal.

That makes me happy :-)

Btw, dbus has a concept of "queued registration". If several
applications register for the same service, just the first
registration is active. All requests to this service are forwarded to
this application. If the application disappears, the next registration
from the queue will be active.

This would solve indeed the Emacs server disappearance problem,
because the next Emacs instance would take over control automagically.

> thi

Best regards, Michael.

  reply	other threads:[~2007-09-05 10:48 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-04 20:27 callback functions in Emacs Michael Albinus
2007-09-04 21:21 ` David Kastrup
2007-09-04 22:32 ` Davis Herring
2007-09-05  1:15   ` Stefan Monnier
2007-09-05  6:16 ` Richard Stallman
2007-09-05  8:43   ` Michael Albinus
2007-09-05 10:01     ` Miles Bader
2007-09-05 15:31       ` Michael Albinus
2007-09-05 10:30     ` Thien-Thi Nguyen
2007-09-05 10:48       ` Michael Albinus [this message]
2007-09-05 14:30       ` Davis Herring
2007-09-05 15:18         ` Michael Albinus
2007-09-05 16:09           ` Stefan Monnier
2007-09-05 16:40         ` Thien-Thi Nguyen
2007-09-06  6:12           ` dhruva
2007-09-05 15:34 ` Leo
2007-09-06  4:59   ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=nqabs19ymr.fsf@alcatel-lucent.de \
    --to=michael.albinus@gmx.de \
    --cc=emacs-devel@gnu.org \
    --cc=rms@gnu.org \
    --cc=ttn@gnuvola.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.