unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Bingham, Jay" <Jay.Bingham@hp.com>
Subject: RE: backward-delete-word?
Date: Wed, 11 Dec 2002 17:01:08 -0600	[thread overview]
Message-ID: <72A87F7160C0994D8C5A36E2FDC227F502473FA1@txnexc01.americas.cpqcorp.net> (raw)

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] 
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

             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 23:01 Bingham, Jay [this message]
     [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
  -- strict thread matches above, loose matches on Subject: below --
2002-12-12 15:28 backward-delete-word? Bingham, Jay
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 ` 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

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=72A87F7160C0994D8C5A36E2FDC227F502473FA1@txnexc01.americas.cpqcorp.net \
    --to=jay.bingham@hp.com \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).