emacs-devel
[Top][All Lists]
Advanced

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

Re: callback functions in Emacs


From: Davis Herring
Subject: Re: callback functions in Emacs
Date: Tue, 4 Sep 2007 15:32:12 -0700 (PDT)
User-agent: SquirrelMail/1.4.8-6.el3.2lanl

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

Davis

-- 
This product is sold by volume, not by mass.  If it appears too dense or
too sparse, it is because mass-energy conversion has occurred during
shipping.




reply via email to

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