From: Stefan Monnier <monnier@iro.umontreal.ca>
To: herring@lanl.gov
Cc: Michael Albinus <michael.albinus@gmx.de>, emacs-devel@gnu.org
Subject: Re: callback functions in Emacs
Date: Tue, 04 Sep 2007 21:15:03 -0400 [thread overview]
Message-ID: <jwvir6p6hjo.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <59169.128.165.123.18.1188945132.squirrel@webmail.lanl.gov> (Davis Herring's message of "Tue\, 4 Sep 2007 15\:32\:12 -0700 \(PDT\)")
>> One of the basic concepts od D-Bus is, that one could register a
>> callback function which is applied when there bis a signal on the bus
>> one has registered for. That works fine as long everything is handled on
>> C level. But I intend to register a callback C function, which calls
>> then a Lisp function internally (via Ffuncall etc).
> I would use `special-event-map' for this, like real signals do. (That is,
> insert new symbols like "d-bus-go" but with better names into the input
> stream and let the command loop handle calling into Lisp.)
Agreed: if dbus signals can be made into events that's probably ideal.
Stefan
next prev parent reply other threads:[~2007-09-05 1:15 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 [this message]
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
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=jwvir6p6hjo.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
--cc=herring@lanl.gov \
--cc=michael.albinus@gmx.de \
/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.