From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Adam Kandur via Users list for the GNU Emacs text editor Newsgroups: gmane.emacs.help Subject: define-key with command arguments Date: Wed, 10 Feb 2021 13:00:49 +0100 (CET) Message-ID: Reply-To: Adam Kandur 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="23684"; 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 Wed Feb 10 17:01:28 2021 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 1l9rvk-00064C-Gc for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 10 Feb 2021 17:01:28 +0100 Original-Received: from localhost ([::1]:50862 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l9rvj-00038r-Hu for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 10 Feb 2021 11:01:27 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35560) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l9oAy-0000GQ-BI for help-gnu-emacs@gnu.org; Wed, 10 Feb 2021 07:00:56 -0500 Original-Received: from w4.tutanota.de ([81.3.6.165]:50490) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l9oAw-0007NF-Sf for help-gnu-emacs@gnu.org; Wed, 10 Feb 2021 07:00:56 -0500 Original-Received: from w3.tutanota.de (unknown [192.168.1.164]) by w4.tutanota.de (Postfix) with ESMTP id C17BC1060163 for ; Wed, 10 Feb 2021 12:00:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1612958449; s=s1; d=tuta.io; h=From:From:To:To:Subject:Subject:Content-Description:Content-ID:Content-Type:Content-Type:Content-Transfer-Encoding:Content-Transfer-Encoding:Cc:Date:Date:In-Reply-To:MIME-Version:MIME-Version:Message-ID:Message-ID:Reply-To:References:Sender; bh=KHVrwafNvQr4sKlK6cEAOCtOrXo1xiXMPzKgp7NNL7k=; b=yPWr2y5a/mvq47cDIeLMmas+cUspx9DrHKsCyYj5FkXMwVd72SecLFgBhnMXJniC yEHSEwMx6ffpzamL94VOw7NeNx9uS4G0AjdtEBET6ejhyaGn2uQ2x1Ghh+Q0uSMS33i tgZjhyi6vZQBqjqiE4GoTIxN4eJm8O0Em4iyHrg7NubwJSzHGtjxj+EsZGFJ+JJlEqw w0dVEaEr8cEn8L859+BPjZ2SHlm0UMvW2wowURVgofEXIQWKRUjisSrUqlBZfoHq1Xq 8xTW6c6udUVmK0W3Ex+rtlH/9q5tXynvbtlI7tRCE7T0v8SItl+NEwNITUzbu3a/1gl iU2iKwwQ/g== Received-SPF: pass client-ip=81.3.6.165; envelope-from=rndd@tuta.io; helo=w4.tutanota.de 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, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Wed, 10 Feb 2021 11:00:39 -0500 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:127774 Archived-At: hi everyone! is it possible to do something like his (define-derived-mode test special-mode "test" =C2=A0 (define-key test-func (kbd "SPC")=C2=A0=C2=A0=C2=A0=C2=A0 'test-func= -with (arg))) so, i wanna pass variable in function i'm going to run with keyboard bindin= g. is it possible?