help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Making new menu after Tools using keymap-set-after


From: uzibalqa
Subject: Re: Making new menu after Tools using keymap-set-after
Date: Tue, 18 Jul 2023 19:26:01 +0000

------- Original Message -------
On Wednesday, July 19th, 2023 at 7:02 AM, Eli Zaretskii <eliz@gnu.org> wrote:


> > Date: Tue, 18 Jul 2023 18:45:15 +0000
> > From: uzibalqa uzibalqa@proton.me
> > Cc: help-gnu-emacs@gnu.org
> > 
> > > I don't know how many lines of code is that, because I don't know what
> > > you want to do. And please don't expect me to "help" you by writing
> > > your code instead of yourself.
> > 
> > I knew I was right about this. You are not willing to write the code needed 
> > to
> > make a new menu that I can use. You want me to bugger off and figure it out.
> 
> 
> 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.
 
> 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' ?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]