Lisp HUG Maillist Archive

accelrators for switching between lispworks windows

Hi,

I rebind the COMMAND key on the Mac to be like an Emacs META key (in the Lispworks Preferences/emulation tab). This makes it convenient to use my left thumb to hit META. Unfortunately, this prevents the normal window cycling keyboard accelerators from working, since they all use the COMMAND key.

Is there any way around this? eg an alternative keyboard accelerator to cycle between windows (especially listener and editor)?

Bob Coyne

Re: accelrators for switching between lispworks windows

I used to do this, but I bit the bullet and I now use alt to be meta leaving command free for macery.  This is a mild pain if you have a UK (or other non-US) keyboard, because alt-3 is hash, so you have to define a keybinding so you can type that. 

On 3 Jun 2013, at 18:12, "bobcoyne@worldnet.att.net" <bobcoyne@att.net> wrote:

Hi,

I rebind the COMMAND key on the Mac to be like an Emacs META key (in the Lispworks Preferences/emulation tab). This makes it convenient to use my left thumb to hit META. Unfortunately, this prevents the normal window cycling keyboard accelerators from working, since they all use the COMMAND key.

Is there any way around this? eg an alternative keyboard accelerator to cycle between windows (especially listener and editor)?

Bob Coyne

Re: accelrators for switching between lispworks windows

Hi, there is http://lisp.ystok.ru/ru/lispworks/lww-ide.zip
I allow myself to quote (in my edition with little bugfix):

(defcommand "Tools Editor" (p)
     "Acts like menu Works > Tools > Editor"
  (declare (ignore p))
  (capi:find-interface 'lw-tools:editor)
  )

(defcommand "Tools Listener" (p)
     "Acts like menu Works > Tools > Listener"
  (declare (ignore p))
  (capi:find-interface 'lw-tools:listener))
  )

Bind those to whatever keys you want and you'll be able to switch to
Listener and Editor from other places.

_______________________________________________
Lisp Hug - the mailing list for LispWorks users
lisp-hug@lispworks.com
http://www.lispworks.com/support/lisp-hug.html


Re: accelrators for switching between lispworks windows

Unable to parse email body. Email id is 12267

Updated at: 2020-12-10 08:35 UTC