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: daniela-spit
Subject: Re: Keybinding Cycle for various Capture and Agenda Setups
Date: Mon, 30 Nov 2020 03:57:14 +0100

I think I get it now and can make some progress.

> Sent: Sunday, November 29, 2020 at 11:29 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: Keybinding Cycle for various Capture and Agenda Setups
>
> 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!

When I worked in France there was a road that took you to the woods,
then stopped.


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