From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Mats Larsson Newsgroups: gmane.emacs.help Subject: Re: How to delete selection on keypress, paste etc Date: Wed, 20 Nov 2002 08:46:14 +0100 Organization: Ericsson AB Sender: help-gnu-emacs-admin@gnu.org Message-ID: <06HC9.23$Or2.415957@uab.ericsson.se> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1037778848 29042 80.91.224.249 (20 Nov 2002 07:54:08 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 20 Nov 2002 07:54:08 +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 18EPgV-0007YE-00 for ; Wed, 20 Nov 2002 08:54:07 +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 18EPdj-00038R-00; Wed, 20 Nov 2002 02:51:15 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!news-peer-europe.sprintlink.net!news.stupi.se!news01.chello.se!newsfeed1.telenordia.se!algonet!uab.ericsson.se!not-for-mail User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.2b) Gecko/20021024 X-Accept-Language: en-us, en, sv Original-Newsgroups: gnu.emacs.help,comp.emacs.xemacs In-Reply-To: Original-Lines: 25 Original-NNTP-Posting-Host: 134.138.201.76 Original-X-Complaints-To: newsmaster@uab.ericsson.se Original-X-Trace: uab.ericsson.se 1037778428 134.138.201.76 (Wed, 20 Nov 2002 08:47:08 MET) Original-NNTP-Posting-Date: Wed, 20 Nov 2002 08:47:08 MET Original-Xref: shelby.stanford.edu gnu.emacs.help:107221 comp.emacs.xemacs:68778 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:3776 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:3776 On 2002-11-19 19:28, Michael Slass wrote: > ,----[ 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. The equivalent for XEmacs is pending-delete-mode. But I do wonder why hitting the Tab key doesn't replace the selection. Bug or feature? /MOL