[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 23:29:25 +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?
>
> Is that the problem?
I don't know if it's _the_ problem or _a_ problem but it is
a problem alright :)
Use the byte compiler!
It will tell your that
In typh-cycle-cap-agn:
... Warning: typh-capture-set-instance called with 0 arguments, but
requires 1
... Warning: typh-agenda-set-instance called with 0 arguments, but
requires 1
So step 1, get away with all warnings, and you are one step
closer to nowhere!
--
underground experts united
http://user.it.uu.se/~embe8573
https://dataswamp.org/~incal