emacs-pretest-bug
[Top][All Lists]
Advanced

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

RE: substitute-key-definition problem with menus in Emacs 21


From: Drew Adams
Subject: RE: substitute-key-definition problem with menus in Emacs 21
Date: Sun, 10 Oct 2004 16:37:28 -0700

FYI - In my orginal bug report on this, I said this:

    BTW, I notice that I can now do this as an alternative:

      (define-key global-map [remap customize-group]
'customize-group-other-window)

    That works. Why doesn't substitute-key-definition still work with menus?

So, yes, at least for what I was doing, remapping works fine. The bug was
only about substitute-key-definition.

 - Drew

-----Original Message-----From: Kim F. Storm
I haven't studied your code, but IIRC we discussed some time ago whether
we could use  (define-key keymap [remap olddef] newdef) for this.  I don't
recall what the conclusion was.

There may well be reasons why this doesn't always work -- but maybe we
should at least mention the alternative of using command remapping in
the doc string for substitute-key-definition.





reply via email to

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