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

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

Re: Keybinding Cycle for various Capture and Agenda Setups


From: Emanuel Berg
Subject: Re: Keybinding Cycle for various Capture and Agenda Setups
Date: Sun, 29 Nov 2020 22:05:37 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

daniela-spit wrote:

OK, I have NO IDEA :D what you are doing, but -

> (defun typh-capture-set-instance (n)
>
> [...]
>
> (defun typh-agenda-set-instance (n)

but then

> (typh-capture-set-instance)
>
> [...]
>
> (typh-agenda-set-instance)

where's the n?

And, style points:

> (when (not

when not is `unless'!

> (global-set-key (kbd "H-a") #'typh-cycle-cap-agn)

You don't need the `kbd'. (ha)

Have you set up H as a prefix key? If so,

  (global-set-key "\H-a" #'typh-cycle-cap-agn)

Good look!

luck :)

-- 
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]