From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Robert Thorpe Newsgroups: gmane.emacs.help Subject: Re: kill-region without modifying the kill ring Date: Sat, 26 Sep 2015 01:41:12 +0100 Message-ID: <87r3lm107r.fsf@robertthorpeconsulting.com> References: <877fnefqlf.fsf@yale.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1443228102 12762 80.91.229.3 (26 Sep 2015 00:41:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 26 Sep 2015 00:41:42 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Sep 26 02:41:31 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZfdYR-0000jB-1V for geh-help-gnu-emacs@m.gmane.org; Sat, 26 Sep 2015 02:41:31 +0200 Original-Received: from localhost ([::1]:51312 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZfdYQ-0005eb-C4 for geh-help-gnu-emacs@m.gmane.org; Fri, 25 Sep 2015 20:41:30 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57553) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZfdYG-0005eP-8k for help-gnu-emacs@gnu.org; Fri, 25 Sep 2015 20:41:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZfdYC-0002UF-7W for help-gnu-emacs@gnu.org; Fri, 25 Sep 2015 20:41:20 -0400 Original-Received: from outbound-smtp03.blacknight.com ([81.17.249.16]:55893) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZfdYC-0002Sy-1s for help-gnu-emacs@gnu.org; Fri, 25 Sep 2015 20:41:16 -0400 Original-Received: from mail.blacknight.com (pemlinmail03.blacknight.ie [81.17.254.16]) by outbound-smtp03.blacknight.com (Postfix) with ESMTPS id DE29D98CBC for ; Sat, 26 Sep 2015 00:41:13 +0000 (UTC) Original-Received: (qmail 1695 invoked from network); 26 Sep 2015 00:41:13 -0000 Original-Received: from unknown (HELO RTLaptop) (rt@robertthorpeconsulting.com@[109.76.254.129]) by 81.17.254.9 with ESMTPSA (DHE-RSA-AES128-SHA encrypted, authenticated); 26 Sep 2015 00:41:13 -0000 In-Reply-To: <877fnefqlf.fsf@yale.edu> (jorge.alfaro-murillo@yale.edu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 81.17.249.16 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:107357 Archived-At: jorge.alfaro-murillo@yale.edu (Jorge A. Alfaro-Murillo) writes: ... > If you will be yanking that text a lot, to save keystrokes record > a macro: F3 C-x r i 1 F4, and then use F4 from then on. That's what I would do. Another possibility is to do F3 M-x delete-region RET F4. Then with F4 temporarily bound to delete region use it for deletions. I think using registers is better though, because it means you can use all of the usual forms of killing M-w, M-DEL, M-d, C-k, etc. In situations like this it's also useful to use registers for navigation. BR, Robert Thorpe