From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "B.T. Raven" Newsgroups: gmane.emacs.help Subject: automating inter-buffer copy-paste Date: Sun, 13 Mar 2005 09:36:35 -0600 Organization: Posted via Supernews, http://www.supernews.com Message-ID: <1138nl0isubuabe@corp.supernews.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1110728368 2056 80.91.229.2 (13 Mar 2005 15:39:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 13 Mar 2005 15:39:28 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Mar 13 16:39:27 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DAVBd-0006ox-Bb for geh-help-gnu-emacs@m.gmane.org; Sun, 13 Mar 2005 16:39:25 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DAVR8-0002cK-B0 for geh-help-gnu-emacs@m.gmane.org; Sun, 13 Mar 2005 10:55:26 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!tethys.csu.net!nntp.csufresno.edu!sn-xit-03!sn-xit-08!sn-post-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mail Original-Newsgroups: gnu.emacs.help X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Original-X-Complaints-To: abuse@supernews.com Original-Lines: 16 Original-Xref: shelby.stanford.edu gnu.emacs.help:129241 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org X-MailScanner-To: geh-help-gnu-emacs@m.gmane.org Xref: news.gmane.org gmane.emacs.help:24793 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:24793 Greetings and Salutations: I would like to accomplish with one keystroke (maybe a function key bound to some elisp code) what would manually be done by selecting a region, copying, changing the current buffer, and then pasting at the end. Its seems that even before copy is invoked via menu edit > copy, etc. that emacs "knows" the mark and point of the region just selected. I know about M-x copy-to-buffer, which is pretty close to what I want but I would like also like to have the target buffer's name hard-code to something like "dribble.text" for example. Thanks, Ed.