From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: saneman Newsgroups: gmane.emacs.help Subject: Re: Cut and open commands? Date: Mon, 25 Feb 2008 11:02:26 +0100 Organization: UNI-C Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1203936106 9667 80.91.229.12 (25 Feb 2008 10:41:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 25 Feb 2008 10:41:46 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Feb 25 11:42:11 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JTamY-0000oQ-VL for geh-help-gnu-emacs@m.gmane.org; Mon, 25 Feb 2008 11:42:03 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JTam3-0008FZ-5l for geh-help-gnu-emacs@m.gmane.org; Mon, 25 Feb 2008 05:41:31 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!goblin1!goblin2!goblin.stu.neva.ru!news.net.uni-c.dk!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 58 Original-NNTP-Posting-Host: 130.225.245.182 Original-X-Trace: news.net.uni-c.dk 1203933734 13604 130.225.245.182 (25 Feb 2008 10:02:14 GMT) Original-X-Complaints-To: usenet@news.net.uni-c.dk Original-NNTP-Posting-Date: Mon, 25 Feb 2008 10:02:14 +0000 (UTC) User-Agent: Thunderbird 2.0.0.6 (X11/20071022) In-Reply-To: Original-Xref: shelby.stanford.edu gnu.emacs.help:156471 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:51839 Archived-At: Tassilo Horn wrote: > saneman writes: > >> I would like to redefine cut and open to: C-x and C-o regardless of >> the built in definitions. > > Don't cripple your emacs yourself, use cua-mode. > > ,----[ C-h f cua-mode RET ] > | cua-mode is an interactive autoloaded Lisp function in `cua-base'. > | > | It is bound to , > | . > | > | (cua-mode &optional ARG) > | > | Toggle CUA key-binding mode. > | When enabled, using shifted movement keys will activate the > | region (and highlight the region using `transient-mark-mode'), > | and typed text replaces the active selection. > | > | Also when enabled, you can use C-z, C-x, C-c, and C-v to undo, > | cut, copy, and paste in addition to the normal Emacs bindings. > | The C-x and C-c keys only do cut and copy when the region is > | active, so in most cases, they do not conflict with the normal > | function of these prefix keys. > | > | 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-S-x or C-S-c. > | > | You can customize `cua-enable-cua-keys' to completely disable the > | CUA bindings, or `cua-prefix-override-inhibit-delay' to change > | the prefix fallback behavior. > | > | CUA mode manages Transient Mark mode internally. Trying to disable > | Transient Mark mode while CUA mode is enabled does not work; if you > | only want to highlight the region when it is selected using a > | shifted movement key, set `cua-highlight-region-shift-only'. > `---- > > Bye, > Tassilo When I type: C-h f cua-mode followed by enter I get: [No match] I have installed: emacs-goodies-el where I can see that cua is listed, but I still get the error.