From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Barry Margolin Newsgroups: gmane.emacs.help Subject: Re: backward-delete-word? Date: Wed, 11 Dec 2002 23:01:51 GMT Organization: Genuity, Woburn, MA Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1039648877 13012 80.91.224.249 (11 Dec 2002 23:21:17 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 11 Dec 2002 23:21:17 +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 18MG9n-0003Kr-00 for ; Thu, 12 Dec 2002 00:20:47 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18MG9f-0006em-07 for gnu-help-gnu-emacs@m.gmane.org; Wed, 11 Dec 2002 18:20:39 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!bloom-beacon.mit.edu!nycmny1-snh1.gtei.net!crtntx1-snh1.gtei.net!news.gtei.net!paloalto-snr1.gtei.net.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Mail-Copies-To: never X-Newsreader: trn 4.0-test72 (19 April 1999) Originator: barmar@genuity.net (Barry Margolin) Original-Lines: 27 Original-X-Trace: /K49oF7Rl5txJzGdVbfBQaecIG+fQLvZnv0c/VVDVtmPOAlI3pJ2hJBALk9hohIKtfhJEVW8jES4!WSWqTakiR/E5E4alP+cVpuW5VrxGH8ObyaikBnd4ywy9vh4LMV5mrTd7W8+9u4/G1OesK43zBtmR!e+8EgFDkRi8= Original-X-Complaints-To: abuse@gte.net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly Original-NNTP-Posting-Date: Wed, 11 Dec 2002 23:01:51 GMT Original-Distribution: world Original-Xref: shelby.stanford.edu gnu.emacs.help:108019 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:4550 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:4550 In article , Timur Aydin wrote: >Hi everybody, > >I find myself quite often copying and then pasting something over an >existing string. Because I want to keep my hands on the keyboard, I >don't want to mark the string to be replaced with the mouse and the >paste the correct string. I just do a C-Backspace and then paste. But, >as you would guess, the C-Backspace gets rid of the data that I copied >and if I paste, the string that I want to replace is pasted back! Now type M-y and the string you just pasted is replaced by the previous item on the kill ring, which is the one you really wanted. >C-Backspace invokes backward-kill-word. I guess the problem is the >"kill", which saves the data in the kill ring. I probably need a >"backward-delete-word". Does this thing exist or does it have to be >written? What I usually do is paste first, and then delete. I position the cursor at the beginning of the word and type C-y M-d. -- Barry Margolin, barmar@genuity.net Genuity, Woburn, MA *** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups. Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.