[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: callback functions in Emacs

From: Stefan Monnier
Subject: Re: callback functions in Emacs
Date: Tue, 04 Sep 2007 21:15:03 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux)

>> 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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]