From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: uzibalqa Newsgroups: gmane.emacs.help Subject: Re: Making new menu after Tools using keymap-set-after Date: Wed, 19 Jul 2023 16:37:35 +0000 Message-ID: References: <5CJ7IA6FUfpae6IJLkriZ9erzWkJP7y-GsJUYNBD1MXDgZG2q6Ho1gAxhmD_yf1fDZ9Ycw520lPskK17X77xwjM3n_VruWHV6kP7owNkWEo=@proton.me> <83jzux59hs.fsf@gnu.org> <29fb2GtvrRLnbZsTQfLCxN53auLjOAMICAUTFo4F9ghAVjIrKdAagZFf5k9NG0njuVyI381ZDnm62ZIg_FiLJ9fAjtNdKuDgNTsu8CEIdF4=@proton.me> <83ilag63ji.fsf@gnu.org> <878rbcp8qp.fsf@gmail.com> <83ilaf509w.fsf@gnu.org> 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="31781"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Eli Zaretskii Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jul 19 18:38:25 2023 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 1qMABz-00085a-QV for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 19 Jul 2023 18:38:23 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qMABT-0005D2-W0; Wed, 19 Jul 2023 12:37:52 -0400 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 1qMABP-0005Ap-Mp for help-gnu-emacs@gnu.org; Wed, 19 Jul 2023 12:37:49 -0400 Original-Received: from mail-4324.protonmail.ch ([185.70.43.24]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qMABM-0000tS-JL for help-gnu-emacs@gnu.org; Wed, 19 Jul 2023 12:37:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1689784661; x=1690043861; bh=qmSHR23T1LtzCFP5vTklrQnRzVbt1s/JlACZiZ0UR0w=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=gdiqLBH/VXP7LAiYzl6Q/uJ2babAzwSyO0iwPNmAqQDo+QzxEpZFePmx8tBOuEU7u jdiJCTrNTsSf0C9IWc6zW8zvZTH9aZqkzLfhe4kSXf9pNUILacAtNTkCcUujIjspYp tR1SEO5WJ1AqUz2tWMu5pVMWQCT4NJGj7qeTtUPJ7DQKD6Ji0zscULvGPNVim7VTkk NI96m/56lHI00POZJOtlAgSMcB7yYGFNjo8E0I8oFp1DhRLedR7qG+qrrdSjlCbdzl 2+BrwlTJlyPtVZq2b2C/nA2t9ygsVEvsjB2DU28hlNh2ag6X5OsUGxVthBRj3uDtqa Qk4wWafUaVanQ== In-Reply-To: <83ilaf509w.fsf@gnu.org> Feedback-ID: 52887082:user:proton Received-SPF: pass client-ip=185.70.43.24; envelope-from=uzibalqa@proton.me; helo=mail-4324.protonmail.ch 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_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=unavailable 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:144335 Archived-At: ------- Original Message ------- On Thursday, July 20th, 2023 at 4:33 AM, Eli Zaretskii wrote= : > > Date: Wed, 19 Jul 2023 15:58:10 +0000 > > From: uzibalqa uzibalqa@proton.me > >=20 > > On Wednesday, July 19th, 2023 at 9:10 PM, Robert Pluim rpluim@gmail.com= wrote: > >=20 > > > > > > > > On Wed, 19 Jul 2023 08:08:32 +0000, uzibalqa uzibalqa@proto= n.me said: > > >=20 > > > uzibalqa> (defvar mcp-kdf (make-sparse-keymap "MCP")) > > >=20 > > > uzibalqa> (keymap-set-after global-map > > >=20 > > > uzibalqa> " " (cons "MCP" mcp-kdf) 'tools) > > >=20 > > > uzibalqa> complains about 'tools > > >=20 > > > Works for me in emacs-30, it gives me an 'MCP' menu just after > > > Tools. What error are you seeing? > > >=20 > > > Robert > > > -- > >=20 > > With GNU Emacs 29.0.50, I get > >=20 > > Debugger entered--Lisp error: (error "tools is not a valid key definiti= on; see =E2=80=98key-valid-p=E2=80=99") >=20 >=20 > If this is in "emacs -Q", you probably have a broken snapshot of Emacs > 29, the above works with the current emacs-29 branch. If "emacs -Q" > does work, then maybe some of your customizations cause the problem. Problem persists with "emacs -Q".