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: Tue, 18 Jul 2023 19:26:01 +0000 Message-ID: <29fb2GtvrRLnbZsTQfLCxN53auLjOAMICAUTFo4F9ghAVjIrKdAagZFf5k9NG0njuVyI381ZDnm62ZIg_FiLJ9fAjtNdKuDgNTsu8CEIdF4=@proton.me> References: <83ttu15gjz.fsf@gnu.org> <83o7k95ejr.fsf@gnu.org> <83lefd5b1m.fsf@gnu.org> <5CJ7IA6FUfpae6IJLkriZ9erzWkJP7y-GsJUYNBD1MXDgZG2q6Ho1gAxhmD_yf1fDZ9Ycw520lPskK17X77xwjM3n_VruWHV6kP7owNkWEo=@proton.me> <83jzux59hs.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="24177"; 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 Tue Jul 18 21:27:12 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 1qLqLn-00067E-Vb for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 18 Jul 2023 21:27:12 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qLqLH-00044d-1N; Tue, 18 Jul 2023 15:26:39 -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 1qLqL9-00044K-Gu for help-gnu-emacs@gnu.org; Tue, 18 Jul 2023 15:26:31 -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 1qLqL1-0006JM-LV for help-gnu-emacs@gnu.org; Tue, 18 Jul 2023 15:26:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1689708378; x=1689967578; bh=9lvxRH4UUMYY9hrUHnRiJ+CuLu8EGgxuocecsCmJRn0=; 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=dfA8fUY32B1W5Vsxswvxhj9BnHzhSoSqBSmTCS54ki7qrNMaA2lYhSOfpBbObplGo 9EUJ48CWXtrWrGWIf/k17WdEP9fBxXAB5T+p/3uB3D0OEn/74cDyyo5WKSAkfaIIqz I1c4Oust+BoDWfFN9Corspdv+0U2sKU9+A+kk+0pES0KvGSqpVAsZ0ogtxqTgTFTC+ Q3XmheIlKKf+E7hvDFgTlpGDFc0UpPAu/4N49rxU7Bl+sQ7TnKWg9ya7V/89n63LAm u8tFARgEv/Bw4zm62FcJeJ5hf4WSLXBNYrIu4E9NjklOCBzL1LfQZVUUFLPe+1Jp7P H4t1XPf2E2SJw== In-Reply-To: <83jzux59hs.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:144318 Archived-At: ------- Original Message ------- On Wednesday, July 19th, 2023 at 7:02 AM, Eli Zaretskii wrot= e: > > Date: Tue, 18 Jul 2023 18:45:15 +0000 > > From: uzibalqa uzibalqa@proton.me > > Cc: help-gnu-emacs@gnu.org > >=20 > > > I don't know how many lines of code is that, because I don't know wha= t > > > you want to do. And please don't expect me to "help" you by writing > > > your code instead of yourself. > >=20 > > I knew I was right about this. You are not willing to write the code ne= eded to > > make a new menu that I can use. You want me to bugger off and figure it= out. >=20 >=20 > No, I want you to learn how to use the available documentation, and > also how to define a menu. You will never learn if people write the > code for you. I can do all that with the legacy 'define-key-after' and 'define-key', but not with the new ones. =20 > If you want examples of how this is done, there are a lot of them in > the Emacs source tree. Are they using the new 'keymap-set-after' and 'keymap-set' ?