From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 8IcPCpi6i2ItwwAAbAwnHQ (envelope-from ) for ; Mon, 23 May 2022 18:47:20 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id CN/rCZi6i2KieAAAauVa8A (envelope-from ) for ; Mon, 23 May 2022 18:47:20 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 5EE4F389DF for ; Mon, 23 May 2022 18:47:19 +0200 (CEST) Received: from localhost ([::1]:42490 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ntBDC-0001iu-88 for larch@yhetil.org; Mon, 23 May 2022 12:47:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50614) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ntBCK-0001ez-H9 for emacs-orgmode@gnu.org; Mon, 23 May 2022 12:46:24 -0400 Received: from relay-egress-host.us-east-2.a.mail.umich.edu ([18.216.144.57]:56814 helo=weary-ceridwen.relay-egress.a.mail.umich.edu) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ntBCH-0008JV-Hb for emacs-orgmode@gnu.org; Mon, 23 May 2022 12:46:24 -0400 Received: from heedful-kishi.authn-relay.a.mail.umich.edu (ip-10-0-74-231.us-east-2.compute.internal [10.0.74.231]) by weary-ceridwen.relay-egress.a.mail.umich.edu with ESMTPS id 628BBA55.92BFC.4F1A5988.579008; Mon, 23 May 2022 12:46:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=umich.edu; s=relay-2018-08-29; t=1653324373; bh=u79erj7wt08IO7d++kt4YTwZANxulrgcrxJ6GLWxBxI=; h=To:cc:From:Subject:In-reply-to:References:Date; b=kr/zfmRfTfW8f94eAlw84RsUMFFUidEazWvCZ5VMaylvtKiKnL4pxaLObSRlJxRqc teRAMLObtBX6MZNK3dLUCrSuIZMznxcLeA8OtIH4rXOl1KaAfTSTtrQUTUO4AK4QrK hW1V+SVolK8zG/vIf8L5bbiTOnPGLiMR0NT4hDBFuqzYsfGx+jhRVQGHc3qjmGNcdy pDdQApwSQNXyTqfBm4rVaTgOMplyhR5pMMxYtNZzQXohB8+oMPKgrYS7hFN40CVyrO FTxGT8rRrG7RL3Wf8xgGrtQMFj+9JYRiQzGXoS9cswS1zi+tlCJ5dA1thGTJrg013I dN2b8IXd8U1mA== Received: from localhost (rrcs-67-52-144-57.west.biz.rr.com [67.52.144.57]) by heedful-kishi.authn-relay.a.mail.umich.edu with ESMTPSA id 628BBA54.2511F4C3.57047A4D.1961001; Mon, 23 May 2022 12:46:12 -0400 To: Ypo cc: Org-mode From: Greg Minshall Subject: Re: Help with my first elisp In-reply-to: <40815376-d7db-4199-a6d8-6b362af44209@gmail.com> References: <5ca03caa-bb97-664b-4c58-9ec296a1eef8@gmail.com> <2346292.1653226030@apollo2.minshall.org> <40815376-d7db-4199-a6d8-6b362af44209@gmail.com> Comments: In-reply-to Ypo message dated "Sun, 22 May 2022 16:18:16 +0200." X-Mailer: MH-E 8.6+git; nmh 1.7.1; GNU Emacs 28.0.90 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2451812.1653324369.1@apollo2.minshall.org> Date: Mon, 23 May 2022 09:46:09 -0700 Message-ID: <2451813.1653324369@apollo2.minshall.org> Received-SPF: pass client-ip=18.216.144.57; envelope-from=minshall@umich.edu; helo=weary-ceridwen.relay-egress.a.mail.umich.edu X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1653324440; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=u79erj7wt08IO7d++kt4YTwZANxulrgcrxJ6GLWxBxI=; b=XPGpqslLFtUINMSWQ+NMr8OzTN/KuMAce1jPqi+Eggc9n/YNa0m7ghsH79ne2tyYbBh2f/ VY+MBLgu8a3zyIRqO9w/PU0KmXqoCtxuQRblrDkDV0U7NtJ4qoFtbXqGtLfD5NvRgHr0ii FGlwePepuishur9N8uP9EXD0GM6Y2JKnDu6IAbqTs15Jlv3D+EVVH+Ev2PQFTiWRBjvQBn pDRTAiHbiFBppiUSr/qkUKriDPpqF58DM73Db7fAdLfQgWbUKevWLeGKJOVuP6dyBJaZaa kBHrcBF4MqTrKlZ8b8ktgJ4fP3dsGXzKaEjsDFfiSIJn6d/9G+7e/OU6fPHr5A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1653324440; a=rsa-sha256; cv=none; b=Ilj6eZ/7HpmSkVebCGQ0tCGw4LmG2mPxMBHmEZHq6DZOtt8dhC9TXTHJEnC43EyOoVCMr5 Z4nrC6kXSNVUIMHYilxBcEdYu8wTExyEXY6/PPZKpjj8KgyVpPaDScoTWZX8kwT+MO620A jCtb5OlGRpKLRkvgoTrDg2mvqLFaQDLuJ+cDXrSyu5lZFQgaOrTcnt45pqSZ5ViCmjDeBX mcl/ifE2iykWTJ6sCE1Vw88lhGB1pUAdXPtMazEyOWnR9ScYforxLASmCpNROvwDIaFaId HnQIZLfoCiJJq11NWOrPbfl58xVB/RqoN07QSIy1/Spcv1/eQbmx06xdqBIuwg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=umich.edu header.s=relay-2018-08-29 header.b="kr/zfmRf"; dmarc=pass (policy=none) header.from=umich.edu; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -7.05 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=umich.edu header.s=relay-2018-08-29 header.b="kr/zfmRf"; dmarc=pass (policy=none) header.from=umich.edu; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 5EE4F389DF X-Spam-Score: -7.05 X-Migadu-Scanner: scn0.migadu.com X-TUID: conjB3JlTzrP Ypo, > (defun salto () > (interactive) > (if posicion 1 > (posicion2) > (if posicion 2 > (posicion3) > (if posicion 3 > (posicion1))))) your function =salto= may be using =if= incorrectly. try marking that =defun= and hitting TAB to justify it. my guess is, that's not what you want. > ;; (define-key global-map (kbd "SPC") #'salto) > (local-set-key "j" 'posicion1) > (local-set-key "k" 'posicion2) > (local-set-key "l" 'posicion3) > )) maybe use something like >> (define-key mh-letter-mode-map >> (kbd "C-c s") >> 'ggm-mh-sentaddrs-completion) but, using whatever the name of the logos-focus mode map, pointing at your functions? cheers, Greg