From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Various simple.el patches Date: Sun, 18 May 2003 08:22:32 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <200305132031.h4DKVp58013718@rum.cs.yale.edu> <200305161818.h4GIIDkL028107@rum.cs.yale.edu> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1053260518 10673 80.91.224.249 (18 May 2003 12:21:58 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 18 May 2003 12:21:58 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sun May 18 14:21:56 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19HNAP-0002ky-00 for ; Sun, 18 May 2003 14:21:29 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19HNJj-0007gD-00 for ; Sun, 18 May 2003 14:31:07 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19HNBq-0004CO-08 for emacs-devel@quimby.gnus.org; Sun, 18 May 2003 08:22:58 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 19HNBT-0004C8-00 for emacs-devel@gnu.org; Sun, 18 May 2003 08:22:35 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 19HNBS-0004Bw-00 for emacs-devel@gnu.org; Sun, 18 May 2003 08:22:34 -0400 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19HNBR-0004Bn-00 for emacs-devel@gnu.org; Sun, 18 May 2003 08:22:33 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.10) id 19HNBQ-0000e9-00; Sun, 18 May 2003 08:22:32 -0400 Original-To: "Stefan Monnier" In-reply-to: <200305161818.h4GIIDkL028107@rum.cs.yale.edu> (monnier+gnu/emacs@rum.cs.yale.edu) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:13969 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:13969 > That problem could be solved by having a flag that says there > are notionally two copies of the string on the kill ring. > If you append more killed text when the flag is set, it should > copy the string first, so that the original string remains in the > kill ring. I could try something like that if the minor loss turns out to be a problem. We should not knowingly introduce an ugliness when it is so easy to avoid it. So if you'd like to install such a change, please do the extra work now, to make that change not be ugly. > 2a - When yanking with an active region, do `delete-selection'. > This would be worth trying out, with a variable to control it > and disabled by default. I think it's too minor to deserve a config var. If it can't be enabled by default, it might as well not exist. If you install it with a variable to control it, we can try it out and see what people think of it. What about the `2b' part (i.e. if the kill-ring says "foo" and the region is active and contains "foo", delete the region and replace it with the second element of the kill-ring) ? That seems too weird to me.