From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Bingham, Jay" Newsgroups: gmane.emacs.help Subject: RE: backward-delete-word? Date: Wed, 11 Dec 2002 17:01:08 -0600 Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <72A87F7160C0994D8C5A36E2FDC227F502473FA1@txnexc01.americas.cpqcorp.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1039649586 15614 80.91.224.249 (11 Dec 2002 23:33:06 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 11 Dec 2002 23:33:06 +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 18MGLg-00043e-00 for ; Thu, 12 Dec 2002 00:33:04 +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 18MGBI-0006wi-00 for gnu-help-gnu-emacs@m.gmane.org; Wed, 11 Dec 2002 18:22:20 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18MGAy-0006w2-00 for help-gnu-emacs@gnu.org; Wed, 11 Dec 2002 18:22:00 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18MG7s-0006AR-00 for help-gnu-emacs@gnu.org; Wed, 11 Dec 2002 18:18:51 -0500 Original-Received: from zcamail04.zca.compaq.com ([161.114.32.104]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18MFqo-0000RI-00 for help-gnu-emacs@gnu.org; Wed, 11 Dec 2002 18:01:10 -0500 Original-Received: from cacexg11.americas.cpqcorp.net (cacexg11.americas.cpqcorp.net [16.105.250.94]) by zcamail04.zca.compaq.com (Postfix) with ESMTP id 9918827C4 for ; Wed, 11 Dec 2002 15:01:09 -0800 (PST) Original-Received: from txnexc01.americas.cpqcorp.net ([16.74.7.244]) by cacexg11.americas.cpqcorp.net with Microsoft SMTPSVC(5.0.2195.2966); Wed, 11 Dec 2002 15:01:09 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 content-class: urn:content-classes:message X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: backward-delete-word? Thread-Index: AcKhZnS3qlrZT7IWTPSoclXhSfCJ5gAAe2CQ Original-To: X-OriginalArrivalTime: 11 Dec 2002 23:01:09.0181 (UTC) FILETIME=[316006D0:01C2A169] 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:4551 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:4551 Timur, Have you tried this: C-Backspace C-y M-y The yank-pop command (M-y) does this: Replace just-yanked stretch of killed text with a different stretch. This command is allowed only immediately after a `yank' or a `yank-pop'. At such a time, the region contains a stretch of reinserted previously-killed text. `yank-pop' deletes that text and inserts in its place a different stretch of killed text. That description may be a little confusing because it doesent tell you what different stretch of text is inserted. Basically each time that you hit M-y you get the previous entry in the kill ring. -_ J_) C_)ingham . HP - NonStop Austin Software & Services - Software Quality Assurance . Austin, TX . "Language is the apparel in which your thoughts parade in public. . Never clothe them in vulgar and shoddy attire." -Dr. George W. Crane- -----Original Message----- From: Timur Aydin [mailto:timuraydin@superonline.com]=20 Sent: Wednesday, December 11, 2002 4:37 PM To: help-gnu-emacs@gnu.org Subject: backward-delete-word? 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! 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? Emacs v21.2 on W2000. -- Timur _______________________________________________ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://mail.gnu.org/mailman/listinfo/help-gnu-emacs