help-gnu-emacs
[Top][All Lists]
Advanced

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

RE: Setting keybinding for org-support-shift-select t


From: Drew Adams
Subject: RE: Setting keybinding for org-support-shift-select t
Date: Sun, 4 Oct 2020 10:08:47 -0700 (PDT)

> The following gives me problems if I have keybindings associated
> with <f1> such as "<f1> q" to display agenda
> 
> (global-set-key [f1] #'execute-extended-command)

It's not clear to me what you're asking/saying.

But yes, if `f1' is defined as a prefix key, and
you then instead bind it to a command (and not
to a keymap), then it's no longer a prefix key.

It either is or isn't a prefix key.  If bound to
`execute-extended-command' then it's not, so
`f1 q' won't work - as soon as you hit `f1' the
command `execute-extended-command' is invoked.

If bound to a prefix key, when you hit `f1' Emacs
waits for you to hit one or more additional keys,
to complete the key sequence.



reply via email to

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