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: Christopher Dimech
Subject: Re: Setting keybinding for org-support-shift-select t
Date: Sun, 4 Oct 2020 18:57:54 +0200

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)


Next is my code


( defun myagendaa ()
    (interactive)
    (org-agenda)
)

(global-set-key (kbd "<f1> q") 'myagendaa)

(defalias 'agenda #'myagenda)
(global-set-key [f1] #'execute-extended-command)

When I hit <f1>, it is showing as though I hit <M-x>




> Sent: Sunday, October 04, 2020 at 4:02 PM
> From: "Emanuel Berg via Users list for the GNU Emacs text editor" 
> <help-gnu-emacs@gnu.org>
> To: help-gnu-emacs@gnu.org
> Subject: Re: Setting keybinding for org-support-shift-select t
>
> Christopher Dimech wrote:
>
> > Let's try to do a simple thing [...]
> >
> > How can I use "<f1> agenda" to fire org-agenda.
>
> (require 'org)
>
> (defalias 'agenda #'org-agenda)
>
> (global-set-key [f1] #'execute-extended-command)
>
> --
> underground experts united
> http://user.it.uu.se/~embe8573
> https://dataswamp.org/~incal
>
>
>



reply via email to

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