* minor-mode-key-binding and cua-mode
@ 2006-06-30 19:33 Lennart Borgman
2006-06-30 22:39 ` Kim F. Storm
0 siblings, 1 reply; 3+ messages in thread
From: Lennart Borgman @ 2006-06-30 19:33 UTC (permalink / raw)
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?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: minor-mode-key-binding and cua-mode
2006-06-30 19:33 minor-mode-key-binding and cua-mode Lennart Borgman
@ 2006-06-30 22:39 ` Kim F. Storm
2006-06-30 22:52 ` Lennart Borgman
0 siblings, 1 reply; 3+ messages in thread
From: Kim F. Storm @ 2006-06-30 22:39 UTC (permalink / raw)
Cc: Emacs Devel
Lennart Borgman <lennart.borgman.073@student.lu.se> 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 <storm@cua.dk> http://www.cua.dk
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: minor-mode-key-binding and cua-mode
2006-06-30 22:39 ` Kim F. Storm
@ 2006-06-30 22:52 ` Lennart Borgman
0 siblings, 0 replies; 3+ messages in thread
From: Lennart Borgman @ 2006-06-30 22:52 UTC (permalink / raw)
Cc: Emacs Devel
Kim F. Storm wrote:
> Lennart Borgman <lennart.borgman.073@student.lu.se> 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.
>
>
I see. Thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-06-30 22:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-30 19:33 minor-mode-key-binding and cua-mode Lennart Borgman
2006-06-30 22:39 ` Kim F. Storm
2006-06-30 22:52 ` Lennart Borgman
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).