From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.help Subject: Re: Grab and yank Date: Sun, 24 Jan 2010 12:24:41 +0100 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1264332358 18271 80.91.229.12 (24 Jan 2010 11:25:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 24 Jan 2010 11:25:58 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: andrea Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jan 24 12:25:50 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NZ0bE-0000ln-Lq for geh-help-gnu-emacs@m.gmane.org; Sun, 24 Jan 2010 12:25:48 +0100 Original-Received: from localhost ([127.0.0.1]:56554 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NZ0bF-0007RJ-KM for geh-help-gnu-emacs@m.gmane.org; Sun, 24 Jan 2010 06:25:49 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NZ0ad-0007PN-NJ for help-gnu-emacs@gnu.org; Sun, 24 Jan 2010 06:25:11 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NZ0aV-0007Kx-P6 for help-gnu-emacs@gnu.org; Sun, 24 Jan 2010 06:25:09 -0500 Original-Received: from [199.232.76.173] (port=49614 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NZ0aV-0007Kh-Ir for help-gnu-emacs@gnu.org; Sun, 24 Jan 2010 06:25:03 -0500 Original-Received: from mail-fx0-f215.google.com ([209.85.220.215]:50488) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NZ0aU-0002XB-Mv for help-gnu-emacs@gnu.org; Sun, 24 Jan 2010 06:25:03 -0500 Original-Received: by fxm7 with SMTP id 7so865126fxm.8 for ; Sun, 24 Jan 2010 03:25:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=T0DatwBZ6sSX0cieXMxY3TGGiygXOx65XHVZpB4lv1U=; b=C60tQ0yvkYcf9ztZ77rPA2qv2MdaBNQmt5PH9WigzmQKA9QCYk/K3yF0S/nQcai95v aCY4+gTWLaPGDzB7wLmVL34pto0gQw8V1SVZmWE1+2KSksOzEIbd+7RDGHnBwX94icyO RoyI/Vne74r0xRccSqXD5zTOmWc2fFTIIp15w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=sbeTW9QG0LfrLqpZSdbKSaS5bNh/EnXgBl9fwu0qvC3xDEk8YGyklt3qGacKOj9G/k biSCJJZfSoEtOHPltwtg1txvoeq4yh0wX5K+78dGeleLJBepcHCbhkaGbPK3Yw/G3GwU qpbuu85lXMVSEz82k3Wg8q1pVjq21joPQRCcA= Original-Received: by 10.239.183.81 with SMTP id t17mr618760hbg.24.1264332301067; Sun, 24 Jan 2010 03:25:01 -0800 (PST) In-Reply-To: X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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 Xref: news.gmane.org gmane.emacs.help:71415 Archived-At: On Sat, Jan 23, 2010 at 10:31 PM, andrea wrote: > I notice that I often do this operation: > I am in one buffer and I need to fetch something from another buffer. > So I visit the other one, select what I need, go back and yank. > Now something like that would be nice instead: > - visit the buffer in view mode > - when quitting automatically put it in kill-ring and yank it to the > =C2=A0point of the original buffer > > This would save quite a lot of time, what do you thik? > I started something like that I thought it was a good idea so I just added something like it to ourcomments-util.el. See the function ourcomments-set-paste-point there. You can find it in the nXhtml repository. (See EmacsWiki if you do not know where it is.)