unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Kenneth Jacker <khj@be.cs.appstate.edu>
To: help-gnu-emacs@gnu.org
Subject: Re: Use of 'pause' as key prefix
Date: Mon, 05 Nov 2007 08:39:50 -0500	[thread overview]
Message-ID: <87y7dcsteh.fsf@be.cs.appstate.edu> (raw)
In-Reply-To: 85ir4glu0d.fsf@usenet.my.skamphausen.de

Wow, thanks Stefan, for the fast reply!

  sk> (defvar pause-map nil "Keybindings with Pause as prefix")
  sk> (define-prefix-command 'pause-map)

  sk> (global-set-key '[(pause)] 'pause-map)
  sk> (define-key pause-map '[(t)] '(lambda ()
  sk> 				(interactive)
  sk> 				(insert "Testing Pause Prefix")))


Sorry, but I don't understand how to use the above to define
additional associations using 'pause-map', e.g., "pause a", "pause b",
etc.  Maybe time for me to RTFM?  ;-)

Thanks again,

  -Kenneth

  reply	other threads:[~2007-11-05 13:39 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-05 12:49 Use of 'pause' as key prefix Kenneth Jacker
2007-11-05 13:08 ` Stefan Kamphausen
2007-11-05 13:39   ` Kenneth Jacker [this message]
2007-11-05 14:40     ` Stefan Kamphausen
2007-11-05 15:02       ` Kenneth Jacker
2007-11-05 14:40     ` wbosse
2007-11-05 15:05       ` Kenneth Jacker
2007-11-08 12:33   ` Kenneth Jacker
2007-11-09  4:46     ` Kevin Rodgers
2007-11-05 13:39 ` Johan Bockgård
2007-11-05 13:49   ` Kenneth Jacker

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=87y7dcsteh.fsf@be.cs.appstate.edu \
    --to=khj@be.cs.appstate.edu \
    --cc=help-gnu-emacs@gnu.org \
    --cc=khj@cs.appstate.edu \
    /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.
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).