all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Bingham, Jay" <Jay.Bingham@hp.com>
Subject: RE: backward-delete-word?
Date: Thu, 12 Dec 2002 09:28:17 -0600	[thread overview]
Message-ID: <72A87F7160C0994D8C5A36E2FDC227F502473FA2@txnexc01.americas.cpqcorp.net> (raw)

Timur,

I feel your pain.
In similar circumstances I have stored text in a register and inserted
it into the buffer from the register.
Here are the register commands that I believe would interest you:
C-x r s <register-name> - copy region to register.
C-u C-x r s <register-name> - kill region to register.
C-x r a <register-name> - append copy of region to register.
C-u C-x r a <register-name> - kill region append to register.
C-x r i <register-name> - insert register contents into buffer.

Info describes registers as follows:
Each register has a name which is a single character.  A register can
store a piece of text, a rectangle, a position, a window configuration,
or a file name, but only one thing at any given time.  Whatever you
store in a register remains there until you store something else in that
register.  To see what a register R contains, use `M-x view-register'.

`M-x view-register <RET> R'

Single character means any character that you can enter from your
keyboard.  So A and a valid register names and specify two separate
registers, ~ is a valid register name, as is C-x.

Hope this helps,
-_
J_)
C_)ingham
.    HP - NonStop Austin Software & Services - Software Quality
Assurance
.    Office:  2122                  Phone:  8945
. "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:tayd@bicom-inc.com] 
Sent: Thursday, December 12, 2002 8:24 AM
To: help-gnu-emacs@gnu.org
Subject: Re: backward-delete-word?

Barry Margolin <barmar@genuity.net> writes:

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

Yes, that works for one paste, but when I position to another string
that I want to paste over, the C-y now pastes the word that was
previously killed. Because the killed data goes to the kill-ring,
whenever I operate on a new word, I have to hit C-y M-y and the number
of M-y's is going to be one more than before. So, if I want to operate
on 4 strings, I will have to hit C-y M-y M-y M-y on the fourth
string...

--
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-12 15:28 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-12 15:28 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-11 23:01 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

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

  git send-email \
    --in-reply-to=72A87F7160C0994D8C5A36E2FDC227F502473FA2@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.
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.