[Top][All Lists]

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

Tutorial: "redefined" prefix key

From: David Reitter
Subject: Tutorial: "redefined" prefix key
Date: Fri, 6 Jul 2007 09:54:29 +0100

The tutorial nicely informs the user when some key bindings deviate from those mentioned.

However, what's strange is that it thinks that a prefix key has been rebound. Here's what the *Help* buffer says (when one clicks "more"):

The default Emacs binding for the key C-x is the command
`Control-X-prefix'.  However, your customizations have rebound it to
the command `(keymap (C-S-left . previous-buffer-here) (C-S-right
. next-buffer-here) (S-left . previous-buffer-here) (S-right
. next-buffer-here) (33554434 . list-buffers-here) (66
. switch-to-buffer-here))'.  (For the more advanced user: This binding
is in the keymap `one-buffer-one-frame-mode-map'.)

`one-buffer-one-frame-mode' is a minor mode that defines the following key map:

 (24 keymap
     (C-S-left . previous-buffer-here)
     (C-S-right . next-buffer-here)
     (S-left . previous-buffer-here)
     (S-right . next-buffer-here)
     (33554434 . list-buffers-here)
     (66 . switch-to-buffer-here)))

These bindings are defined with

(define-key one-buffer-one-frame-mode-map [(control x) (shift b)]

Also note that M-x Control-X-prefix doesn't exist.

In GNU Emacs 22.1.1 (powerpc-apple-darwin7.9.0, Carbon Version 1.6.0)
 of 2007-07-06 on applecore.inf.ed.ac.uk - Aquamacs Distribution 1.1CVS
Windowing system distributor `Apple Inc.', version 10.4.10
configured using `configure  '--without-x' '--prefix=/usr/local''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: nil
  locale-coding-system: iso-8859-1
  default-enable-multibyte-characters: t

Major mode: Help

Minor modes in effect:
  smart-frame-positioning-mode: t
  aquamacs-styles-mode: t
  recentf-mode: t
  emulate-mac-us-keyboard-mode: t
  encoded-kbd-mode: t
  osx-key-mode: t
  show-paren-mode: t
  delete-selection-mode: t
  pc-selection-mode: t
  cua-mode: t
  tooltip-mode: t
  mac-input-method-mode: t
  tool-bar-mode: 0
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t
  view-mode: t

Recent input:
<down-mouse-1> <mouse-1> <menu-bar> <help-menu> <manuals>
<info-elisp> <help-echo> <menu-bar> <help-menu> <emacs-tutorial>
<help-echo> <down-mouse-1> <mouse-2> <switch-frame>
<switch-frame> <help-echo> <switch-frame> <help-echo>
<help-echo> <help-echo> <help-echo> <down-mouse-1>
<mouse-2> <help-echo> <switch-frame> <down-mouse-1>
<mouse-movement> <mouse-1> <next> <next> <next> <prior>
<next> <next> <next> <next> <next> <next> <next> <next>
<next> <next> <next> <next> <next> <next> <next> <next>
<next> <next> <next> C-h k M-q <switch-frame> <down-mouse-1>
<mouse-movement> <mouse-2> <switch-frame> <next> <next>
<next> <next> <next> <down-mouse-1> <mouse-movement>
<mouse-1> A-w n C-x C-f n C-x C-f s r c / o n e <tab>
- <tab> <return> <home> A-f p r e v i o u s - b u A-g
A-g A-g <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <up> <up> <up> <up> A-f
m o d e - m a p A-g A-g A-g A-g A-g <switch-frame>
<down-mouse-1> <mouse-movement> <mouse-1> <switch-frame>
<down-mouse-1> <mouse-movement> <mouse-1> M-x o n e
- b u <tab> <return> <switch-frame> A-w <menu-bar>
<help-menu> <emacs-tutorial> <help-echo> <down-mouse-1>
<mouse-2> <switch-frame> <help-echo> <down-mouse-1>
<mouse-2> <help-echo> <help-echo> <switch-frame> A-w
n M-x <up> <return> <down-mouse-1> <mouse-movement>
<mouse-1> C-h v <return> <switch-frame> <help-echo>
<help-echo> <menu-bar> <help-menu> <report-emacs-b

Recent messages:
one-buffer-one-frame.el has auto save data; consider M-x recover-this- file
Loading vc-cvs...done
Mark set
Mark saved where search started [2 times]
One-Buffer-One-Frame mode disabled
Preparing tutorial ...
Save your position in the tutorial? (y or n)
One-Buffer-One-Frame mode enabled
Loading pp...done
Loading emacsbug...done

reply via email to

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