From: Barry Margolin <barmar@genuity.net>
Subject: Re: backward-delete-word?
Date: Fri, 13 Dec 2002 23:02:48 GMT [thread overview]
Message-ID: <sGtK9.31$n41.1147@paloalto-snr1.gtei.net> (raw)
In-Reply-To: wkk7ida6q3.fsf@TheWorld.com
In article <wkk7ida6q3.fsf@TheWorld.com>,
Joe Fineman <jcf@TheWorld.com> wrote:
>"Bingham, Jay" <Jay.Bingham@hp.com> writes:
>
>> In similar circumstances I have stored text in a register and
>> inserted it into the buffer from the register.
>
>I too have often found registers a welcome relief from the
>complexities of the kill ring. However, there is one oddity about
>their implementation that takes some getting used to. When you insert
>the contents of a register (C-x g), point is at the beginning of the
>insertion; you have to do C-x C-x to get it to the end, where it would
>be after yanking from the kill ring. Either outcome could be argued
>for, but it seems perverse to do these two very similar jobs in
>different ways.
I too have always found this curious. My guess is that it's because
registers are most often used in keyboard macros (if you think of a macro
as a program, registers are the "variables"), while yanking is mainly
interactive, and the designer of the register code didn't think the same
expectations applied. In any case, when creating a macro, it's easy to fix
up the location after inserting a register, and then you don't have to
worry about it.
--
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.
next prev parent reply other threads:[~2002-12-13 23:02 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
[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 ` Barry Margolin [this message]
2002-12-13 23:58 ` backward-delete-word? Kevin Rodgers
2002-12-12 15:28 backward-delete-word? Bingham, Jay
-- 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='sGtK9.31$n41.1147@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.