[Openmcl-devel] problem entering a tilde in the REPL with a German keyboard on a MacBook

Ron Garret ron at flownet.com
Thu Feb 26 09:36:31 PST 2015


(in-package :hemlock)

(defmacro bind-key-to-char (k c)
  (let ((cmdname (format nil "Insert ~S" c)))
    `(progn
       (defcommand ,cmdname (cnt)
         ,cmdname
         (let* ((point (current-point-for-insertion)))
           (dotimes (i (or cnt 1))
             (insert-character point ,c))))
       (bind-key ,cmdname ,k))))

(delete-key-binding #K"meta-n" :Mode "Listener”)
(bind-key-to-char #K"meta-n" #\Latin_Small_Letter_N_With_Tilde)

On Feb 26, 2015, at 2:02 AM, carpetemporem . <carpetemporem at gmail.com> wrote:

> Hi there,
> 
> I'm using CCL on a MacBook with a German keyboard where the shortcut for tilde is alt-n.
> 
> This seems also to be the REPL shortcut for next command in history. So I can't enter a tilde!
> 
> Any way to enter a tilde?
> 
> And is there a list of keyboard shortcuts for the REPL?
> 
> Thanks,
> Tom
> _______________________________________________
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
> https://lists.clozure.com/mailman/listinfo/openmcl-devel




More information about the Openmcl-devel mailing list