unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Suggestion: Simpler implementation of suppress-keymap
@ 2002-08-23 12:10 Kim F. Storm
  2002-08-25  5:26 ` Richard Stallman
  0 siblings, 1 reply; 3+ messages in thread
From: Kim F. Storm @ 2002-08-23 12:10 UTC (permalink / raw)



I this it would make sense to define suppress-keymap using the new
command remapping feature, i.e. by substituting

  (substitute-key-definition 'self-insert-command 'undefined map global-map)

with

  (define-key map [remap self-insert-command] 'undefined)

WDYT?

-- 
Kim F. Storm <storm@cua.dk> http://www.cua.dk

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Suggestion: Simpler implementation of suppress-keymap
  2002-08-23 12:10 Suggestion: Simpler implementation of suppress-keymap Kim F. Storm
@ 2002-08-25  5:26 ` Richard Stallman
  2002-08-26 13:39   ` Kim F. Storm
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Stallman @ 2002-08-25  5:26 UTC (permalink / raw)
  Cc: emacs-devel

    I this it would make sense to define suppress-keymap using the new
    command remapping feature, i.e. by substituting

      (substitute-key-definition 'self-insert-command 'undefined map global-map)

    with

      (define-key map [remap self-insert-command] 'undefined)

That is a good idea.  Please try it and let's see if it has
any unexpected problems.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Suggestion: Simpler implementation of suppress-keymap
  2002-08-25  5:26 ` Richard Stallman
@ 2002-08-26 13:39   ` Kim F. Storm
  0 siblings, 0 replies; 3+ messages in thread
From: Kim F. Storm @ 2002-08-26 13:39 UTC (permalink / raw)
  Cc: emacs-devel

Richard Stallman <rms@gnu.org> writes:

>     I this it would make sense to define suppress-keymap using the new
>     command remapping feature, i.e. by substituting
> 
>       (substitute-key-definition 'self-insert-command 'undefined map global-map)
> 
>     with
> 
>       (define-key map [remap self-insert-command] 'undefined)
> 
> That is a good idea.  Please try it and let's see if it has
> any unexpected problems.

Ok, done.

-- 
Kim F. Storm <storm@cua.dk> http://www.cua.dk

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-08-26 13:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-23 12:10 Suggestion: Simpler implementation of suppress-keymap Kim F. Storm
2002-08-25  5:26 ` Richard Stallman
2002-08-26 13:39   ` Kim F. Storm

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).