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: Sun, 29 Nov 2020 22:27:38 +0100 Message-ID: References: <87r1obdgbi.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="7809"; 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 Sun Nov 29 22:28:15 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 1kjUEx-0001wT-SS for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 29 Nov 2020 22:28:15 +0100 Original-Received: from localhost ([::1]:56284 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kjUEw-0004eJ-V6 for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 29 Nov 2020 16:28:14 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34952) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kjUEU-0004e6-95 for help-gnu-emacs@gnu.org; Sun, 29 Nov 2020 16:27:46 -0500 Original-Received: from mout.gmx.net ([212.227.17.20]:40477) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kjUEO-0000VJ-Pi for help-gnu-emacs@gnu.org; Sun, 29 Nov 2020 16:27:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1606685258; bh=DLgZw0zHFwdVDrA7sn4e0teQYsL8HkPIXtr9Enosll4=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=eHlFB9eT8LVRTKG6YBo3XToxykMM4rllj/xcPZvuixYGeuMcPngv8grtjYArj+EQQ pBSYxGeWFHP3VWDYAOzJqMwyaavE1mEDk0XxR9JxKKcGYj9pTPXue8bhe25T5hkpyI +L0DrmCr+ZjSbDR3AJWa9LUx9ZyjHnESi55KwsjY= 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); Sun, 29 Nov 2020 22:27:38 +0100 Importance: normal Sensitivity: Normal In-Reply-To: <87r1obdgbi.fsf@zoho.eu> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:ULmgdkRsHVdSp1JOJ3fAiggLL+cuddOwkXR5F6n3He2mCe+k+ygIRLfFypNXbNXefGkb+ tJ4h6Q42xLrsB/6G6WXxIqfM0nCGTICJLUysdrZsSzXCP0vnAwu1GqtM7pwmCsJEbJiPrXhhv97j 3DuyBssi9rWOI38pkcBWsCZRnFQBHinPcrF980jBwYn0se5zqPukVS7ZuQA9EwEWXklJcwGGD+7j fELq+Ua2iMoLMVHTQyhu3bqJhFFwfIHCgsM6VVPb+999tv/BRsw6WtghK0fyiyjnH+HBGy/qZWVH lw= X-UI-Out-Filterresults: notjunk:1;V03:K0:aUs1rloLDCM=:ktDfhq2LA7ctctD0wxye4I VrXLl9LZ5+a3xjK+9BeDFRhtKBl0aTM5aSOFVoP0wYmPpHvC5FiEOSu3Nmc8feEphSQGxJ5Xm Fvs7ZR20ST5dl3VTe/kVA6JLMHYEC/G2zZGluU/w1Ey6hZRrJBFLxu3HaolW53y7ZDf+cU7Wg UgH8BD2bmR4bGl4cWKGs0XPscfyhYNjq4glHwmrYnqNtj6Bnzu32IdMJOcccEDknNSBYSzdI2 HUvdD6o2fdoVSbXJeX09sQ/vhQJj97qz+4olLVJ0N/FL4w74lbBDaUAqvVNPP1R+iHBO1gTw8 5wIRCzjSKe3iTQxtPe8cZrgxqP+sIiDyB4pvCxC85xRCpCbCCAVDo6RvTg+CG6b6pzGp57g2Q ib+cKdH2WWk5x7nO3kmAil13qxwcjLbJXm4rZ1OCisHcBi/KmdWEFCJgddDeV+B/zG3pvQEp0 /PLhAEqlmZwRjooBRKnWlBuaIDcnWzBDmHR/NIzku5YpiDsmi6X6A5Q19nf3hhgChaSh6x9qe l9FiW4GyULCdE1sXxRmAkIAJ9cLbPgeW3Y8EB/nwMbh0mXKbPyJBMN5yXcdWkhHhQz/CmiFTv cqaXcdq79lyag= 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:125753 Archived-At: > Sent: Sunday, November 29, 2020 at 10:05 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? > And, style points: > > > (when (not > > when not is `unless'! Ok, Right. > > (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, Yes, I have. > (global-set-key "\H-a" #'typh-cycle-cap-agn) I use it as it is easier for those reading, as it is similar to the way keybindings are described in the manual. > Good look! > > luck :) > > -- > underground experts united > http://user.it.uu.se/~embe8573 > https://dataswamp.org/~incal > > >