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: Mon, 02 Jun 2003 15:27:48 -0600	[thread overview]
Message-ID: <3EDBC154.40009@yahoo.com> (raw)
In-Reply-To: 848ysow6o7.fsf@lucy.is.informatik.uni-duisburg.de

Kai Großjohann wrote:

> Kevin Rodgers <ihs_4664@yahoo.com> writes:
>>		     (read-key-sequence "Key: " nil t)
> 
> This doesn't read long prefix key sequences.  That is, if C-c a is
> not bound yet, I can do (kbd "C-c a b c d") to bind a key, but
> read-key-sequence will stop at C-c a.
> 
> Hm.
> 
> I guess it also won't work to rebind C-x, say, since it's a prefix key.
 
How about:


	(kbd (read-string "Key (`kbd' format): "))

That seems to require the following patch; is this a known bug in `kbd'?

*** emacs-21.3/lisp/subr.el.orig	Fri Oct 18 19:21:10 2002
--- emacs-21.3/lisp/subr.el	Mon Jun  2 15:25:36 2003
***************
*** 438,444 ****
     "Convert KEYS to the internal Emacs key representation.
   KEYS should be a string constant in the format used for
   saving keyboard macros (see `insert-kbd-macro')."
!   (read-kbd-macro keys))

   (put 'keyboard-translate-table 'char-table-extra-slots 0)

--- 438,444 ----
     "Convert KEYS to the internal Emacs key representation.
   KEYS should be a string constant in the format used for
   saving keyboard macros (see `insert-kbd-macro')."
!   `(read-kbd-macro ,keys))

   (put 'keyboard-translate-table 'char-table-extra-slots 0)


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

  reply	other threads:[~2003-06-02 21:27 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
2003-05-30 19:55             ` Kai Großjohann
2003-06-02 21:27               ` Kevin Rodgers [this message]
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=3EDBC154.40009@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).