From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Barry Margolin Newsgroups: gmane.emacs.help Subject: Re: backward-delete-word? Date: Fri, 13 Dec 2002 23:02:48 GMT Organization: Genuity, Woburn, MA Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1039821928 5542 80.91.224.249 (13 Dec 2002 23:25:28 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 13 Dec 2002 23:25:28 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18MzB7-0001QS-00 for ; Sat, 14 Dec 2002 00:25:09 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18Mz7F-0005Xp-01 for gnu-help-gnu-emacs@m.gmane.org; Fri, 13 Dec 2002 18:21:09 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!paloalto-snf1.gtei.net!crtntx1-snh1.gtei.net!news.gtei.net!paloalto-snr1.gtei.net.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Mail-Copies-To: never X-Newsreader: trn 4.0-test72 (19 April 1999) Originator: barmar@genuity.net (Barry Margolin) Original-Lines: 29 Original-X-Trace: /KDWjYtUEXN2Eq4Zpal0nwSwlhrqYfI7pbEz2nf0qfHf1sEKKZ1bWTIsoosBTX1xe7VAcAPGQxul!yPpz3TUMuk9VacZJGUxu2TPHHuxEJUueah6P09Wn3Rb/Zr24dgguVSv0qOnC8UPzRAnjbeIVkzOl!sRCepCEqBrzWJw== Original-X-Complaints-To: abuse@gte.net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly Original-NNTP-Posting-Date: Fri, 13 Dec 2002 23:02:48 GMT Original-Distribution: world Original-Xref: shelby.stanford.edu gnu.emacs.help:108117 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:4647 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:4647 In article , Joe Fineman wrote: >"Bingham, Jay" 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.