From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Saving the selection before killing (was: Selection not to be copied into kill-ring) Date: Fri, 13 Jul 2007 14:38:14 -0400 Message-ID: References: <5fmk5pF3bo3fbU1@mid.individual.net> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1184351911 22888 80.91.229.12 (13 Jul 2007 18:38:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 13 Jul 2007 18:38:31 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 13 20:38:29 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1I9Q29-00051G-Jb for ged-emacs-devel@m.gmane.org; Fri, 13 Jul 2007 20:38:29 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I9Q29-0004R2-0e for ged-emacs-devel@m.gmane.org; Fri, 13 Jul 2007 14:38:29 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I9Q1J-0003EM-Fh for emacs-devel@gnu.org; Fri, 13 Jul 2007 14:37:37 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I9Q1I-0003CM-Si for emacs-devel@gnu.org; Fri, 13 Jul 2007 14:37:36 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I9Q1I-0003C3-7a for emacs-devel@gnu.org; Fri, 13 Jul 2007 14:37:36 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I9Q1I-0000sn-7k for emacs-devel@gnu.org; Fri, 13 Jul 2007 14:37:36 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1I9Q1u-0008TG-GX; Fri, 13 Jul 2007 14:38:14 -0400 In-reply-to: (message from Stefan Monnier on Thu, 12 Jul 2007 16:31:26 -0400) X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:74730 Archived-At: What it does is that when you kill text, before doing the kill (which will replace the current X-selection with the killed text), we save the current selection on the kill-ring (only if it doesn't come from us, of course since otherwise it's already in the kill-ring). When this is what you want, it's useful. The only possible drawback could be that it operates when you don't want it to. It would spuriously insert into the kill ring whenever you kill something Emacs and there is an X selection in another program which you did not intend to pull into Emacs. Are we sure that won't happen and annoy people?