From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.help Subject: Re: Simple copy & paste problem Date: Thu, 12 Aug 2010 20:35:31 -0600 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1281666980 3089 80.91.229.12 (13 Aug 2010 02:36:20 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 13 Aug 2010 02:36:20 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 13 04:36:18 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.69) (envelope-from ) id 1Ojk81-0007FW-Rv for geh-help-gnu-emacs@m.gmane.org; Fri, 13 Aug 2010 04:36:18 +0200 Original-Received: from localhost ([127.0.0.1]:58203 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ojk81-0007wu-7P for geh-help-gnu-emacs@m.gmane.org; Thu, 12 Aug 2010 22:36:17 -0400 Original-Received: from [140.186.70.92] (port=42746 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ojk7Z-0007vP-K6 for help-gnu-emacs@gnu.org; Thu, 12 Aug 2010 22:35:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ojk7S-0006ve-Uv for help-gnu-emacs@gnu.org; Thu, 12 Aug 2010 22:35:49 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:35355) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ojk7S-0006vM-Pb for help-gnu-emacs@gnu.org; Thu, 12 Aug 2010 22:35:42 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Ojk7O-00073k-EK for help-gnu-emacs@gnu.org; Fri, 13 Aug 2010 04:35:38 +0200 Original-Received: from c-67-166-3-76.hsd1.co.comcast.net ([67.166.3.76]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 13 Aug 2010 04:35:38 +0200 Original-Received: from kevin.d.rodgers by c-67-166-3-76.hsd1.co.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 13 Aug 2010 04:35:38 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 24 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: c-67-166-3-76.hsd1.co.comcast.net User-Agent: Thunderbird 2.0.0.24 (Macintosh/20100228) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:74588 Archived-At: Andrea Crotti wrote: > This is probably very stupid but every time I step into it and it's very > annoying. > > Supposing I want to copy something from Safari to emacs. > So I > - select and copy > - select and kill the text I want to substitute > - try to paste > > ARGH! Now the text I copied from safari is disappeared... Delete the text in Emacs instead of killing it. I use: (global-set-key "\C-cw" 'delete-region) ; ala C-w and M-C-w > A workardound is to delete first and then copy-paste. > But is there a smarter way to solve this? > Something like > "if I copied something from the os keep it as first in the kill ring"? -- Kevin Rodgers Denver, Colorado, USA