[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 16:03:45 +0200 |
Let's try to do a simple thing
I have (global-set-key (kbd "<f1> a") 'org-agenda)
How can I use "<f1> agenda" to fire org-agenda.
Regards
C*
> Sent: Sunday, October 04, 2020 at 1:40 PM
> From: 2QdxY4RzWzUUiLuE@potatochowder.com
> To: help-gnu-emacs@gnu.org
> Subject: Re: Setting keybinding for org-support-shift-select t
>
> On 2020-10-04 at 14:25:27 +0200,
> Christopher Dimech <dimech@gmx.com> wrote:
>
> > A problem I am encountering with keybindings is that I end up with
> > very strange key combinations. I rather type a key followed by a
> > string as is done in Emacs such as "M-x org-mode". Is there an
> > relatively easy way to do this for one's own operations?
>
> The same way Emacs does it: define your function as interactive, e.g.:
>
> (defun scroll-up-1-line () "Scroll up one line."
> (interactive) (scroll-up 1))
>
> interactive can handle functions that take parameters, too, and will
> prompt you when you execute the function with M-x. It can also
> interpret C-u and other numeric prefixes.
>
>
- Setting keybinding for org-support-shift-select t, Christopher Dimech, 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, Christopher Dimech, 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, Christopher Dimech, 2020/10/04
- Re: Setting keybinding for org-support-shift-select t, 2QdxY4RzWzUUiLuE, 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,
Christopher Dimech <=
- Re: Setting keybinding for org-support-shift-select t, Emanuel Berg, 2020/10/04
- Re: Setting keybinding for org-support-shift-select t, Christopher Dimech, 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, Christopher Dimech, 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, 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