RE: capi and remote listeners
Hi Dave. That made sense to me; but alas, it doesn't solve the problem.
Basically, I have this:
(define-interface administrator ()
(...)
(:panes
(...)
(kbsd-listener listener-pane
:top-level-function #'kbsd-toplevel
:enabled nil
:reader kbsd-listener))
...)
(defmethod capi:interface-keys-style ((self administrator))
:emacs)
When I start the app, my interface-keys-style method gets called, but the
behavior of the listener doesn't change. Note that initially, the listener
pane is disabled. It's enabled programatically once a connection is made.
What do you think?
Cheers,
--
------------------------------------------
David E. Young
dyoung@bloodhoundinc.com
http://www.bloodhoundinc.com
http://lisa.sourceforge.net
"But all the world understands my language."
-- Franz Joseph Haydn (1732-1809)
-----Original Message-----
From: David Fox [mailto:davef@xanalys.com]
Sent: Thursday, March 13, 2003 8:17 AM
To: dyoung@bloodhoundinc.com
Cc: lisp-hug@xanalys.com
Subject: Re: capi and remote listeners
By default CAPI:EDITOR-PANEs (including CAPI:LISTENER-PANEs) that you
create get the default keys emulation for the platform. So I suspect
the problem is that your listener is handling keys in Windows style,
in particular Alt is not interpreted as Meta. The simplest way to
change this is to provide a method on CAPI:INTERFACE-KEYS-STYLE...