* Problem mapping <prior>
@ 2013-11-16 15:41 Guido Van Hoecke
2013-11-16 16:26 ` Drew Adams
0 siblings, 1 reply; 3+ messages in thread
From: Guido Van Hoecke @ 2013-11-16 15:41 UTC (permalink / raw)
To: help-gnu-emacs
I have a problem mapping <prior> into my personal keymap. Here's an
excerpt of my initialisation files:
(if isOSX
(setq leader "§")
(setq leader "²"))
(define-prefix-command 'guivho-map nil "guivho-")
(define-key guivho-map leader 'guivho-save-and-kill-buffer)
(define-key guivho-map "-" 'hl-line-mode)
...
(define-key guivho-map "z" (lambda() (interactive) (switch-to-buffer-other-window "*scratch*" t)))
(define-key guivho-map "<prior>" 'guivho-org-mobile-push)
(global-set-key leader guivho-map)
The only map that does not work is the '<prior>' one.
Emacs claims: `$ <prior> is undefined`.
Any suggestions, any one?
TIA,
Guido
--
My own business always bores me to death; I prefer other people's.
-- Oscar Wilde
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: Problem mapping <prior>
2013-11-16 15:41 Problem mapping <prior> Guido Van Hoecke
@ 2013-11-16 16:26 ` Drew Adams
2013-11-16 16:42 ` Guido Van Hoecke
0 siblings, 1 reply; 3+ messages in thread
From: Drew Adams @ 2013-11-16 16:26 UTC (permalink / raw)
To: Guido Van Hoecke, help-gnu-emacs
> I have a problem mapping <prior> into my personal keymap. Here's an
> excerpt of my initialisation files:
>
> (define-key guivho-map "<prior>" 'guivho-org-mobile-push)
(define-key guivho-map (kbd "<prior>") 'guivho-org-mobile-push)
What you wrote is in fact an attempt to bind the 7-key key sequence
`< p r i o r >' to your command.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Problem mapping <prior>
2013-11-16 16:26 ` Drew Adams
@ 2013-11-16 16:42 ` Guido Van Hoecke
0 siblings, 0 replies; 3+ messages in thread
From: Guido Van Hoecke @ 2013-11-16 16:42 UTC (permalink / raw)
To: Drew Adams; +Cc: help-gnu-emacs
On 16 November 2013 17:26, Drew Adams <drew.adams@oracle.com> wrote:
> (define-key guivho-map (kbd "<prior>") 'guivho-org-mobile-push)
>
> What you wrote is in fact an attempt to bind the 7-key key sequence
> `< p r i o r >' to your command.
Thanks Drew,
Guido
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-11-16 16:42 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-16 15:41 Problem mapping <prior> Guido Van Hoecke
2013-11-16 16:26 ` Drew Adams
2013-11-16 16:42 ` Guido Van Hoecke
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.