From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Michael Slass Newsgroups: gmane.emacs.help Subject: Re: How to delete selection on keypress, paste etc Date: Tue, 19 Nov 2002 18:28:47 GMT Organization: AT&T Broadband Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1037730724 16129 80.91.224.249 (19 Nov 2002 18:32:04 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 19 Nov 2002 18:32:04 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18EDAE-0004BH-00 for ; Tue, 19 Nov 2002 19:31:58 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 18ED9i-0007Az-00; Tue, 19 Nov 2002 13:31:26 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!canoe.uoregon.edu!arclight.uoregon.edu!wn14feed!wn12feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi.com!rwcrnsc53.POSTED!not-for-mail Original-Followup-To: gnu.emacs.help Original-Newsgroups: gnu.emacs.help,comp.emacs.xemacs Original-Lines: 27 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Original-NNTP-Posting-Host: 12.228.27.239 Original-X-Complaints-To: abuse@attbi.com Original-X-Trace: rwcrnsc53 1037730527 12.228.27.239 (Tue, 19 Nov 2002 18:28:47 GMT) Original-NNTP-Posting-Date: Tue, 19 Nov 2002 18:28:47 GMT Original-Xref: shelby.stanford.edu gnu.emacs.help:107214 comp.emacs.xemacs:68767 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:3768 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:3768 ignoramus20016@NOSPAM.20016.invalid (Igor20016) writes: >My xemacs somehow was set to delete selection (region) if it was >active and I pressed a key, pasted, or pressed DEL. > >It no longer does it and just appends to the region without >deleting it. How can I change that behaviour? > >igor ,----[ C-h f delete-selection-mode RET ] | delete-selection-mode is an interactive autoloaded Lisp function in `delsel'. | [Arg list not available until function definition is loaded.] | | Toggle Delete Selection mode. | With prefix ARG, turn Delete Selection mode on if and only if ARG is | positive. | | When Delete Selection mode is enabled, Transient Mark mode is also | enabled and typed text replaces the selection if the selection is | active. Otherwise, typed text is just inserted at point regardless of | any selection. `---- This is for GNU emacs; don't know whether it works for XEmacs. -- Mike Slass