From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.help Subject: Re: How to test if command is assigned any key by any loaded library? Date: Mon, 04 Nov 2024 11:07:56 +0100 Message-ID: <877c9j2txf.fsf@gmx.net> References: Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31655"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: help-gnu-emacs@gnu.org To: "W. Greenhouse" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Nov 04 11:08:53 2024 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 1t7u0y-00083Z-S3 for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 04 Nov 2024 11:08:52 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t7u0G-0007oQ-J5; Mon, 04 Nov 2024 05:08:08 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t7u0E-0007oG-8u for help-gnu-emacs@gnu.org; Mon, 04 Nov 2024 05:08:06 -0500 Original-Received: from mout.gmx.net ([212.227.15.19]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t7u0B-00058g-Fm for help-gnu-emacs@gnu.org; Mon, 04 Nov 2024 05:08:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.net; s=s31663417; t=1730714878; x=1731319678; i=stephen.berman@gmx.net; bh=u+m5NIaxZCj1UDzyt252JHADNzSehwApa6mxEhCzESA=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:cc: content-transfer-encoding:content-type:date:from:message-id: mime-version:reply-to:subject:to; b=c84/5SGjefR4XC+jGprhMQlYevhJE4kvFpMcVrUsnOxVI4c/9CYKpLXVloFnsNhl dYkx6kclvw711xqqcVLy9pjrOeCihFPkR1jceO+pBVjwp0CXCx1mcl+tDa6yp3ACv q22e1o0gq0VQiI9x/ZY9Cgzyc2M85qwKGbF5ZWd4wlCyiIwuDM+WDXHOImPlcUjSt R+r2zojGZRTWxw7NDfEuCs/hmLbofr75ULe83Qfd4Z+e9tdGzOkA8awqt3DnlU/nE vNjW5f2gTcunyTr87a7mI1xXodRJyp8oJX2X9tBtg3UDL0B2Hje3Nf3ESj7Ol2Ful htXx4/BNYrFs9w1ohQ== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from strobelfssd ([94.134.95.201]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MO9zH-1tS1HI3qm1-00JB3O; Mon, 04 Nov 2024 11:07:57 +0100 In-Reply-To: (Jean Louis's message of "Mon, 4 Nov 2024 10:38:57 +0300") X-Provags-ID: V03:K1:+zo+0HR2kNeIxMLOTFMwpKH2BDZzB+UIpLm1qni+gWWi1o5EiB+ muA6pSCU5pWeOVzHj34+c7B+VLjtuDuBI8MaTUmb86KfMdjsz6GWkXV00FgHIWrjjmgnvO2 MyeWUYQVVvmxRTWXlDWze1Y1A8uMhYuaCqjexJFepL2GDqk30QTrtjeQi0ALB2KuDa/xzvR hDcpOAENFy4KIAmc/x/nQ== UI-OutboundReport: notjunk:1;M01:P0:RS6J0s/TdqI=;XuvC9g4VXuGWfoDuiUSNH7pfe6o 0s0Unwgdx9/9w/5BqVbADJrLRwEtDZYYyzKWxOj5WskOHCD9CZlXY4Hu5RleZ3sl94eBPjTfV LS9MLyIh7E1aq4SkTvVVV9ZaVNZ1Nql0k5BYFuqq45VoHizhlUf5exGro22V+8nmXHtgBq4nN 3cBC3GJBGirEnfWnwlMyC/BT1sleKpW6hGlJQWS6YFYLEwl2DY13uIcLbtWw3AlhTJgrgc43j y8XUJ+mIiJ6irEJ7sGw+eGZSxyuN+o4hI2duAAnAaK0a/tK7avsQZO82MqSJeJA7gOe4lNKDy WxSKo0KNKoS8lOly1x28bB2yk56942ZedJDoVzrfheVql/pIDw5pJYBhfEO6PuK+FPghAVEQB 2Kq4/DDDXrWdQUKeDhFKES2aOFM+OJ29FvYAkW1Clti3cAYGptPIcfcCRt7IYFtehMPh361S2 +efRtsY3zL0JNZJjoPemnsWMX58agubudpe/j4JUpRW1wQIz50iBfYo1CnHNrv19UbjXgMtmd EXCstBIK+/VxcW8ll+3Qb3NgkpdEw+2mjR4q2B6RVu+Zvj6eZ6iLN0RKyJ0BhpDrMV/TCTXiH AWngoVL9viiuCs6dFw/iv5fZ2D/kJ9Jjc/2dNtbm0s9yG4bC4Uh25z5J5Lv72+PdqX7f0aoR6 Pzejqa2R1+HxVMU+BNt2lNzsn7jrQTjwUpBti3FI9sE8WqTpE0KZofEeX+hS0VLYHUoUM0jZX kTAe17pwQehwA3D5nlh6eTHL2gQBlGlWuQmsHc+2hB7SMSFNheSTEe3v1gsDglRj04IKDM2A Received-SPF: pass client-ip=212.227.15.19; envelope-from=stephen.berman@gmx.net; helo=mout.gmx.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=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.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-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:148270 Archived-At: On Mon, 4 Nov 2024 10:38:57 +0300 Jean Louis wrote: > * W. Greenhouse" via Users list for the GNU Emacs text editor > [2024-11-04 08:38]: >> Jean Louis writes: >> >> > How to test if command is assigned any key by any loaded library? >> >> (where-is-internal 'some-command) > > Good solution, thanks. That answers the question but not in the most user-friendly way, e.g.: (where-is-internal 'set-mark-command) =3D=3D> ([0] [67108896]) Compare: (mapcar 'key-description (where-is-internal 'set-mark-command)) =3D=3D> ("C-@" "C-SPC") Steve Berman