[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: RE: RE: RE: Setting keybinding for org-support-shift-select t
From: |
Christopher Dimech |
Subject: |
Re: RE: RE: RE: Setting keybinding for org-support-shift-select t |
Date: |
Mon, 5 Oct 2020 05:55:11 +0200 |
I am getting a bit confused on the to use
#'func-name
and when using
'func-name
Previously, in my code, I was not using the #, see below
( global-set-key (kbd "C-t l <down>") 'Line-Dw )
Cheers
C*
> Sent: Sunday, October 04, 2020 at 8:00 PM
> From: "Drew Adams" <drew.adams@oracle.com>
> To: "Christopher Dimech" <dimech@gmx.com>
> Cc: help-gnu-emacs@gnu.org, moasenwood@zoho.eu
> Subject: RE: RE: RE: Setting keybinding for org-support-shift-select t
>
> > Instead of using
> >
> > (global-set-key [f2] #'execute-extended-command)
> >
> > can I call my function directly,
> >
> > (global-set-key "[f2] fnm" #'myfunction)
>
> Not with that KEY argument to `global-set-key'.
>
> You can bind your function to a legitimate KEY value.
>
> (global-set-key (kbd "<f2> x") 'myfunction)
>
> You need to read up on key bindings. Start with
> `C-h r key bindings', which takes you here, but
> in Emacs:
>
> https://www.gnu.org/software/emacs/manual/html_node/emacs/Key-Bindings.html
>
- Re: Setting keybinding for org-support-shift-select t, (continued)
- Re: Setting keybinding for org-support-shift-select t, Christopher Dimech, 2020/10/04
- RE: Setting keybinding for org-support-shift-select t, Drew Adams, 2020/10/04
- Re: RE: Setting keybinding for org-support-shift-select t, Christopher Dimech, 2020/10/04
- RE: RE: Setting keybinding for org-support-shift-select t, Drew Adams, 2020/10/04
- Re: RE: RE: Setting keybinding for org-support-shift-select t, Christopher Dimech, 2020/10/04
- RE: RE: RE: Setting keybinding for org-support-shift-select t, Drew Adams, 2020/10/04
- Re: RE: RE: RE: Setting keybinding for org-support-shift-select t,
Christopher Dimech <=
- Re: Setting keybinding for org-support-shift-select t, Emanuel Berg, 2020/10/05
- Re: Setting keybinding for org-support-shift-select t, Emanuel Berg, 2020/10/04
- Re: Setting keybinding for org-support-shift-select t, Emanuel Berg, 2020/10/04
- Re: Setting keybinding for org-support-shift-select t, Emanuel Berg, 2020/10/04
Re: Setting keybinding for org-support-shift-select t, Emanuel Berg, 2020/10/04