all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Barry Margolin <barmar@genuity.net>
Subject: Re: backward-delete-word?
Date: Wed, 11 Dec 2002 23:01:51 GMT	[thread overview]
Message-ID: <ztPJ9.30$NO.686@paloalto-snr1.gtei.net> (raw)
In-Reply-To: un0nckwrq.fsf@superonline.com

In article <un0nckwrq.fsf@superonline.com>,
Timur Aydin  <timuraydin@superonline.com> 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.

  parent reply	other threads:[~2002-12-11 23:01 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-11 22:37 backward-delete-word? Timur Aydin
2002-12-11 22:45 ` backward-delete-word? David Kastrup
2002-12-11 22:50 ` backward-delete-word? Benjamin Lewis
2002-12-11 23:01 ` Barry Margolin [this message]
2002-12-12 14:24   ` backward-delete-word? Timur Aydin
2002-12-12 15:49     ` backward-delete-word? David Kastrup
2002-12-12 15:55     ` backward-delete-word? Bernd Wolter
  -- strict thread matches above, loose matches on Subject: below --
2002-12-11 23:01 backward-delete-word? Bingham, Jay
2002-12-12 15:28 backward-delete-word? Bingham, Jay
     [not found] <mailman.148.1039707361.19936.help-gnu-emacs@gnu.org>
2002-12-13 22:34 ` backward-delete-word? Joe Fineman
2002-12-13 23:02   ` backward-delete-word? Barry Margolin
2002-12-13 23:58     ` backward-delete-word? Kevin Rodgers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='ztPJ9.30$NO.686@paloalto-snr1.gtei.net' \
    --to=barmar@genuity.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.