unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: Will default key bindings spell the death of Emacs?
Date: Fri, 30 May 2003 11:29:42 -0600	[thread overview]
Message-ID: <3ED79506.5050604@yahoo.com> (raw)
In-Reply-To: 84r86hggd8.fsf@lucy.is.informatik.uni-duisburg.de

Kai Großjohann wrote:

> "Stefan Monnier" <monnier+gnu/emacs@rum.cs.yale.edu> writes:
> 
>>>I do not argue that we should implement MS Windows-like keybindings. I just
>>>argue that it should be easyer to change key bindings.
>>>
>>What exactly are you suggesting to make it easier ?
>>
> 
> Remapping the whole keyboard doesn't make sense, but some interface
> that reads a key sequence and a function name, and perhaps a map
> name, and then does the right thing would be good.

(defun read-keymap (prompt &optional default-map)
  "Read the name of a keymap and return as a symbol.
Prompts with PROMPT.  By default, return DEFAULT-MAP."
  (intern (completing-read prompt obarray
			   'keymapp t nil nil default-map)))

(defadvice define-key (before interactive activate)
  "Read KEY and DEF interactively, plus KEYMAP if a prefix arg is specified
\(otherwise default to `global-map'\)."
  (interactive (list (if current-prefix-arg
			 (read-keymap "Keymap: " 'global-map)
		       global-map)
		     (read-key-sequence "Key: " nil t)
		     (read-command "Command: " 'ignore))))


-- 
<a href="mailto:&lt;kevin.rodgers&#64;ihs.com&gt;">Kevin Rodgers</a>

  reply	other threads:[~2003-05-30 17:29 UTC|newest]

Thread overview: 66+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E19LPs9-0002b6-0o@monty-python.gnu.org>
2003-05-29 20:57 ` Will default key bindings spell the death of Emacs? Lars Hansen
2003-05-29 21:47   ` Miles Bader
2003-05-29 22:04     ` Lars Hansen
2003-05-29 22:45       ` Miles Bader
2003-05-30  6:52         ` Lars Hansen
2003-05-30 10:11           ` Thien-Thi Nguyen
2003-05-30 10:32           ` Alex Schroeder
2003-05-30 10:52             ` Miles Bader
2003-05-30 12:06               ` Jan D.
2003-05-30 11:06             ` Lars Hansen
2003-05-30 11:19             ` Juanma Barranquero
2003-05-30 16:27               ` Alex Schroeder
2003-05-30 17:09                 ` Luc Teirlinck
2003-05-30 17:13         ` Richard Stallman
2003-05-31 20:19         ` David Kastrup
2003-05-31 21:31           ` Robert J. Chassell
2003-06-01  0:14             ` David Kastrup
2003-06-01 11:24               ` Robert J. Chassell
2003-06-01 12:12                 ` David Kastrup
2003-06-01 19:36                   ` Jan D.
2003-06-01 19:43                     ` David Kastrup
2003-06-01 20:18                       ` Jan D.
2003-05-29 23:58       ` Alan Shutko
2003-05-30  0:10       ` Stefan Monnier
2003-05-30  5:20         ` Kai Großjohann
2003-05-30 17:29           ` Kevin Rodgers [this message]
2003-05-30 19:55             ` Kai Großjohann
2003-06-02 21:27               ` Kevin Rodgers
2003-06-02 22:05                 ` David Kastrup
2003-06-03 16:25                   ` Kevin Rodgers
2003-06-03 20:28                     ` David Kastrup
2003-06-02 22:42                 ` Luc Teirlinck
2003-06-03 16:26                   ` Kevin Rodgers
2003-05-30  7:16         ` Lars Hansen
2003-05-30 13:10           ` Stefan Monnier
2003-05-31 19:52             ` Richard Stallman
2003-05-31 20:27               ` Stefan Monnier
2003-06-02 11:15                 ` Richard Stallman
2003-06-02 17:00                   ` Stefan Monnier
2003-06-03 10:58                     ` Richard Stallman
2003-05-30 13:26           ` Kai Großjohann
2003-05-30  0:47     ` Tak Ota
2003-05-30  1:48       ` Miles Bader
2003-05-30  5:19       ` Kai Großjohann
2003-05-30  6:09         ` Miles Bader
2003-05-30 17:13       ` Richard Stallman
2003-05-30 19:58         ` Kai Großjohann
2003-06-01 15:52           ` Richard Stallman
2003-06-01 17:05             ` Kai Großjohann
2003-05-29 22:10   ` Kevin Rodgers
2003-05-30  5:13   ` Kai Großjohann
2003-05-30  6:33     ` Miles Bader
2003-05-30  7:53       ` Kai Großjohann
2003-05-30  8:05         ` Miles Bader
2003-05-30 13:26           ` Kai Großjohann
2003-06-04 11:20   ` Andreas Schwab
2003-06-04 12:49     ` Lars Hansen
2003-06-04 13:08       ` David Kastrup
2003-06-05 12:13         ` Benjamin Riefenstahl
2003-06-05 21:46         ` Richard Stallman
2003-06-05 21:55           ` David Kastrup
2003-06-05 12:45 Robert J. Chassell
  -- strict thread matches above, loose matches on Subject: below --
2003-05-30  8:57 Lars Hansen
     [not found] <E19LWOR-0001eW-Nm@monty-python.gnu.org>
2003-05-30  6:36 ` Lars Hansen
     [not found] <1054178219.882.88.camel@morgan>
2003-05-29 14:05 ` Eli Zaretskii
2003-05-29 14:38   ` Jan D.

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3ED79506.5050604@yahoo.com \
    --to=ihs_4664@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).