emacs-pretest-bug
[Top][All Lists]
Advanced

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

CUA mode: C-S-c as prefix does not work


From: Ralf Angeli
Subject: CUA mode: C-S-c as prefix does not work
Date: Tue, 06 Dec 2005 14:50:43 +0100
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

Documentation of CUA mode in cua-base.el contains the following text:

;; If you really need to perform a command which starts with one of
;; the prefix keys even when the region is active, you have three options:
;; - press the prefix key twice very quickly (within 0.2 seconds),
;; - press the prefix key and the following key within 0.2 seconds, or
;; - use the SHIFT key with the prefix key, i.e. C-X or C-C

The last option does not seem to work (at least with the examples I
tried).  As an example,

 * start Emacs with `emacs -Q',

 * type `M-x tex-mode RET' and `M-x cua-mode RET',

 * insert a random word and mark it (e.g. with `C-a C-SPC C-e'), and

 * type `C-S-c {' which should translate to `C-c {' and insert braces
   around the word.

But in fact the binding is reported to be undefined.

By the way, it would probably be a good idea to move the documentation
which can be found in cua-base.el to the Emacs manual which already
contains a section about CUA mode.


In GNU Emacs 22.0.50.1 (i486-pc-linux-gnu, GTK+ Version 2.6.10)
 of 2005-12-02 on pacem, modified by Debian
X server distributor `The X.Org Foundation', version 11.0.60802000
configured using `configure '--build' 'i486-linux-gnu' '--host' 
'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' 
'--libexecdir=/usr/lib' '--localstatedir=/var' '--infodir=/usr/share/info' 
'--mandir=/usr/share/man' '--with-pop=yes' 
'--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/22.0.50/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/22.0.50/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/22.0.50/leim'
 '--with-x=yes' '--with-x-toolkit=gtk' 'CFLAGS=-DDEBIAN -g -Wno-pointer-sign 
-O2' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu''

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: en_US
  locale-coding-system: iso-latin-1
  default-enable-multibyte-characters: t

Major mode: LaTeX

Minor modes in effect:
  cua-mode: t
  tooltip-mode: t
  auto-compression-mode: t
  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
  line-number-mode: t
  transient-mark-mode: t

Recent input:
M-x t e x - m o d <tab> <return> f o o M-x c u a - 
m o d e <return> C-a C-SPC C-e C-c C-c { C-_ C-a C-SPC 
C-e C-S-c { M-x r e p o r t - e m <tab> <return>

Recent messages:
For information about the GNU Project and its goals, type C-h C-p.
Loading tex-mode...
Loading regexp-opt...done
Loading tex-mode...done
Loading cua-base...done
Mark set
Loading skeleton...done
Undo!
Mark activated
Loading emacsbug...done




reply via email to

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