From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: define-key upon common-lisp-mode and inferior-lisp-mode Date: Tue, 30 Aug 2022 16:49:43 +0300 Message-ID: <831qsxvo20.fsf@gnu.org> References: <83o7w2ufa6.fsf@gnu.org> <7W8YIKpAyrHUHX3SntrisHnwBBj7wgmuFM_7SxKRuyyo1SeYNsqCgL4QAqmVoJ2n0YivGF1mUvpcaZi6mCDhD_6-O7Yzwj1WSBgriV2FQHI=@proton.me> <835yi9vqro.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5365"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Aug 30 15:51:03 2022 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 1oT1du-0001Bu-5H for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 30 Aug 2022 15:51:02 +0200 Original-Received: from localhost ([::1]:33530 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oT1ds-0006H4-Ni for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 30 Aug 2022 09:51:00 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45778) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oT1cH-0005pm-Mb for help-gnu-emacs@gnu.org; Tue, 30 Aug 2022 09:49:21 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:40210) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oT1cH-0007jv-4i for help-gnu-emacs@gnu.org; Tue, 30 Aug 2022 09:49:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=zD7GDlprkjtAjX5KCrLyH3t6BFQqkKcrjY2fgvY46kQ=; b=A9/eEhJCmuLO B7uGU5Zju3BwsWlpantuPOMuf4P8e2HE2qNhYxfxGJ3erO7+GgA7AgAHO8DZ2hrP9i9Qj7brktauN d/eWDziTL+Yo6Ft6HgYW6DRWQ6l9mNlS2JOUcp74pAHOuX9xUXC71YzFJ/LgvJjv5Ad+LLkDe+3Kv Fk9ASmfdFGmw2wQVTzvkYZgwrZ8/f/akciSa/E1QshG0467zmBGDUu7416HF/8CMFD74vjZCYOFqH 4J5U+2tJd0pmaqS7JqF0k6llTXMv+cQ/4W+mcNkMh586uFNurAiTOogkyKw2PoCyLclBQcyQPwDOV Vr3peU9xIzQoxni2xqasuQ==; Original-Received: from [87.69.77.57] (port=2997 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oT1cG-0004FV-KG for help-gnu-emacs@gnu.org; Tue, 30 Aug 2022 09:49:20 -0400 In-Reply-To: (message from uzibalqa on Tue, 30 Aug 2022 13:22:48 +0000) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 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:139166 Archived-At: > Date: Tue, 30 Aug 2022 13:22:48 +0000 > From: uzibalqa > Cc: help-gnu-emacs@gnu.org > > Have got "Lisp error: (void-function local-define-key)" for "Emacs 27.2". Use local-set-key instead. > On the other modes I have been using > > (define-key emacs-lisp-mode-map (kbd "H-e") #'eval-last-sexp) > > The last seems more standard for many modes. I can only show you the better solutions, I cannot force you use them.