[Top][All Lists]

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

Re: minor-mode-key-binding and cua-mode

From: Kim F. Storm
Subject: Re: minor-mode-key-binding and cua-mode
Date: Sat, 01 Jul 2006 00:39:39 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Lennart Borgman <address@hidden> writes:

> Enable cua-mode and evaluate this:
>  (let ((res ""))
>    (dolist (binding '([(control ? )]
>                       [(control ?v)]))
>      (setq res
>            (concat
>             res
>             (format "\n%s: kb=%s, glob=%s, loc=%s, mmkb=%s"
>                     (key-description binding)
>                     (key-binding binding)
>                     (global-key-binding binding t)
>                     (local-key-binding binding t)
>                     (minor-mode-key-binding binding t)
>                     ))))
>    (message "%s" res))
> Should not minor-mode-key-binding return something for C-SPC too?

Not really.

The minor mode maps has a remapping of set-mark-command to cua-set-mark.

So there is no minor-mode-key-binding for C-SPC.

Kim F. Storm <address@hidden> http://www.cua.dk

reply via email to

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