From: Benjamin Lewis <bclewis@cs.sfu.ca>
Subject: Re: backward-delete-word?
Date: Wed, 11 Dec 2002 14:50:35 -0800 [thread overview]
Message-ID: <yy7oadjcyxtw.fsf@marge.cs.sfu.ca> (raw)
In-Reply-To: un0nckwrq.fsf@superonline.com
On 12 Dec 2002, 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!
>
> 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?
This may not be the ideal solution for you, but note that C-Backspace does
not "get rid of" the data that you copied, it merely pushes something on
top of it in the kill ring. When you do a yank (C-y), the word you deleted
will indeed be inserted, but if you then do a yank-pop (M-y), it will be
replaced by the text you want.
--
Benjamin Lewis
"Love is a snowmobile racing across the tundra and then suddenly it flips
over, pinning you underneath. At night, the ice weasels come."
--Matt Groening
next prev parent reply other threads:[~2002-12-11 22:50 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 ` Benjamin Lewis [this message]
2002-12-11 23:01 ` backward-delete-word? Barry Margolin
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=yy7oadjcyxtw.fsf@marge.cs.sfu.ca \
--to=bclewis@cs.sfu.ca \
/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.