From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 YJ2GEoQ6imJC+wAAbAwnHQ (envelope-from ) for ; Sun, 22 May 2022 15:28:36 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id yGiLEYQ6imKwAwEAG6o9tA (envelope-from ) for ; Sun, 22 May 2022 15:28:36 +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 80AB8340FE for ; Sun, 22 May 2022 15:28:35 +0200 (CEST) Received: from localhost ([::1]:38764 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nsldK-0002oR-Eu for larch@yhetil.org; Sun, 22 May 2022 09:28:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35284) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nslcD-0002mg-Be for emacs-orgmode@gnu.org; Sun, 22 May 2022 09:27:25 -0400 Received: from relay-egress-host.us-east-2.a.mail.umich.edu ([18.219.209.13]:52578 helo=silly-afallach.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 1nslcB-0004yh-CT for emacs-orgmode@gnu.org; Sun, 22 May 2022 09:27:24 -0400 Received: from beloved-hellhound.authn-relay.a.mail.umich.edu (ip-10-0-73-59.us-east-2.compute.internal [10.0.73.59]) by silly-afallach.relay-egress.a.mail.umich.edu with ESMTPS id 628A3A35.7E02C.722E2E8B.1731254; Sun, 22 May 2022 09:27:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=umich.edu; s=relay-2018-08-29; t=1653226037; bh=amPRHgrXu6nluPgh4UDGvFoRSNxHnhfn0S09AAuUuX4=; h=To:cc:From:Subject:In-reply-to:References:Date; b=rMwM863n+Oo5ALvj8igFSM42iholisxtpCRK2Ey651l9ZfVAcvQGdPOZRqUdRAMuz 4SLSzNphG3MSpe2K6OyRXFLyJL+UdoULivipERX8iQyUmRQMVc87vmGsIysjhaXALv CT3EHGGN3d1QsZB8zxMQtLf2VX8LjQ22uL93h9FQPNAxZUH0DlPBEqPHbIH1T8yuWp E+xblMrg1qmf1TpFJr/b0YF/tm1oDGedXCjP9i0Jte7ybRgthc0hWNu9RGN/B68lR0 COT8BWkcoo9s1opzdAH/azIHDzWdZ4TEmuEAVtG6TwGhyC2KV9945/MRFon6nqyI/9 ULEs8uh4ch6Hw== Received: from localhost (rrcs-67-52-144-57.west.biz.rr.com [67.52.144.57]) by beloved-hellhound.authn-relay.a.mail.umich.edu with ESMTPSA id 628A3A34.26866EFC.4E76EE6C.1903792; Sun, 22 May 2022 09:27:16 -0400 To: Ypo cc: Org-mode From: Greg Minshall Subject: Re: Help with my first elisp In-reply-to: <5ca03caa-bb97-664b-4c58-9ec296a1eef8@gmail.com> References: <5ca03caa-bb97-664b-4c58-9ec296a1eef8@gmail.com> Comments: In-reply-to Ypo message dated "Sun, 22 May 2022 13:37:01 +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: <2346291.1653226030.1@apollo2.minshall.org> Date: Sun, 22 May 2022 06:27:10 -0700 Message-ID: <2346292.1653226030@apollo2.minshall.org> Received-SPF: pass client-ip=18.219.209.13; envelope-from=minshall@umich.edu; helo=silly-afallach.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=1653226116; 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=amPRHgrXu6nluPgh4UDGvFoRSNxHnhfn0S09AAuUuX4=; b=jwibF2+m+6SxmlbFt22Q+GKqQJOngPCOACAnURxkvhyDuflFS0d+pmF3AKfOJCX/h2H7Ax 7A5rKgOmiRTwMe1h0ghGTlyBlrwJ1gJVmsCSdEt95vXRCknvHMrWraKzz+r1tDgWCb35Ad zETIYbncP15eWXpCahtiiklC6Hlcr2Tk9ks8iUXywqhVdqtKihKFyt4G0vFDym3+s0klLs QoEaUnz4Zx5rR1UTJ3tzq06NcAthHbCpyIJkRLxwSBerhMEjie/wvD4OTAame/MRx2MVry PcivBpRsDMfLpXHcmsPzOzlUePhEqf43QDxYSwWnKIA3c263Daev2wNmG0Dgmw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1653226116; a=rsa-sha256; cv=none; b=tz7/+oTi/ZsO87qtPyN/2/FyCcODXY/3cG7WJMteeHGaQjlyacdU6AUjPV+2X/MHknImv1 siZoxoRLsCb5rkoRec5XHCHBg9B+aEUKELHbkHB0N1/aAqxv+j/oWviqCJlKbUsv5ErnF+ X5LjglarSHATR8iQxaJCDuDC5E7nwTdpCNbO6UMChmELi6+U0Na1waeSLgxW/RydjLrSSJ V+m/qsAMKc91SIQZ9hoKrM/1J0xK1DtsaxazAeH5ToFNGMExfGRekqb2jgm7kDcCQ++67O PmIezw/tbKZPiHti3mDnPXU/KeuUcbQuawb76lRJ5B22Nlh8MQIXoJF0v8DUgA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=umich.edu header.s=relay-2018-08-29 header.b=rMwM863n; 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: -3.55 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=umich.edu header.s=relay-2018-08-29 header.b=rMwM863n; 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: 80AB8340FE X-Spam-Score: -3.55 X-Migadu-Scanner: scn1.migadu.com X-TUID: kELDMpLeAM9H Ypo, > Additional problem: I don't know how to recover keys 1, 2 and 3 to > their normal functioning, right now I can't type 1, 2 or 3 on my > Emacs. xD you have, e.g., > (define-key global-map (kbd "1") #'posicion1) > (define-key global-map (kbd "2") #'posicion2) > (define-key global-map (kbd "3") #'posicion3) but, that is in the global map. for a given mode, i sometimes do something like that: > (add-hook 'mh-show-mode-hook #'(lambda () > (local-set-key "q" 'mh-show-execute-commands))) or, closer to what you have, sometimes like > (define-key mh-letter-mode-map > (kbd "C-c s") > 'ggm-mh-sentaddrs-completion) i am no elisp expert, and so those are just random things i've found that work. but, hopefully this may give you a hint of a direction to follow. cheers, Greg