From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: daniela-spit@gmx.it Newsgroups: gmane.emacs.help Subject: Re: Keybinding Cycle for various Capture and Agenda Setups Date: Mon, 30 Nov 2020 03:57:14 +0100 Message-ID: References: <87r1obdgbi.fsf@zoho.eu> <87mtyzdcfu.fsf@zoho.eu> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20013"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: moasenwood@zoho.eu Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Nov 30 03:57:51 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kjZNu-000564-Rx for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 30 Nov 2020 03:57:50 +0100 Original-Received: from localhost ([::1]:55070 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kjZNt-00058Q-Sr for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 29 Nov 2020 21:57:49 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39386) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kjZNP-00056B-NU for help-gnu-emacs@gnu.org; Sun, 29 Nov 2020 21:57:19 -0500 Original-Received: from mout.gmx.net ([212.227.17.20]:45381) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kjZNN-0003ks-KU for help-gnu-emacs@gnu.org; Sun, 29 Nov 2020 21:57:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1606705034; bh=zHuvVZeUYegztT5KtZ173SdXi4294AojZWOhk/KrHFE=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=c1VvMxzM3FtVKV9kOQ5S79ZdNn7sCLQR7AemgLuI7J3dq34G1lNYNUjYZcjIN1XlY 3xFX0bosJulWC5XkQxyO180pL/a0xkYBRm09fIrfRFjjNvYB9y4FW2cz15ogEDUyJt ijXyY4hpKNXiGM9Sh81y8qCzWQEIItRFMh/Fyd/Q= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [213.165.168.94] ([213.165.168.94]) by web-mail.gmx.net (3c-app-mailcom-bs12.server.lan [172.19.170.180]) (via HTTP); Mon, 30 Nov 2020 03:57:14 +0100 Importance: normal Sensitivity: Normal In-Reply-To: <87mtyzdcfu.fsf@zoho.eu> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:qz3xog/JgfoSynsbGgq0eerhyioUqp8Etse6QW9brbKiAnBHGrdCasQ/ZYv3VxqaQsmVW j2WgCmGqUWgPJbHhuTgQuZ7u0IFA0Xt2eDbns/QhGmCXLD07HinvbffLwly+NifVqbVWIxd6ENee dEadJ0JCo5uwT6NKrDb6+TxzIA2D39kG3YjOrm2gXQovCIcgoIVpoF6mcjWcB0+WbGgtvnU+PjKt Ilx04cBwsS0G8qNxU4A11U0/ZNedea9ikWu3uI9pwP6j7wsrVBswk+gCNCKbc41mqoCJiqUrAN3D Hk= X-UI-Out-Filterresults: notjunk:1;V03:K0:Qrj6nmgKwTI=:XeF1nNLIGGaCWaXUYHx3k+ Yu1302YOHDTIrrX0dqJhiQOtSoPB5wGcRVUKhmKUHDA4mXU7VpYS3ZN7Atw/QXaNhRFKX8Ry7 pwkxxLTjgdFaZJ75ysp4s1BBFeRKZ6bULKRL67hlEmsSWr2D+E6Uizn8k6evvF1mNoSMm48QO BeO9EJoPDQLMf5PoM016p/+kRwSLiDW1a0TmGR3kc5wZRjUvTZYfwa6AZC6UCkdfJkuqZHmpe sZOReAMQ4robvANcEuo6DHQgCZ2JkAHV7EIcWEkzO1urQ1OM3K8foi3kFNSp68vhomp9cWmZ2 qom3bbGEL51cTd8aBPUH88wXyHt1WGYd2NyxHoecc5WyOBSZKES6Hp+Q63lOLfHeez07ASdaH IfX6d7bH6aEOIfG0DfMuPAkKW2XLn+1Cd+1U8KfK1yMJ+kBKDgA5PD02Hgv0yqeNT7AUiX4ab JAgjje0q4T6fPcBQHwnrduPu9PKH2GEpp30zVeAc6Z6FQFd5gR0dQOhkK4TesgcJSnJ0yHNit l8xBSro4lKbvhCY+LPZJLwh8fL/bfjiqrH84ZP/v33+7WkA2eUVbY1/BqzwiLtbTZ/mP52j5j cf/lRoC68pgAQ= Received-SPF: pass client-ip=212.227.17.20; envelope-from=daniela-spit@gmx.it; helo=mout.gmx.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:125762 Archived-At: 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" > 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 > > >