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: Fri, 16 May 2003 11:47:02 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <200305132031.h4DKVp58013718@rum.cs.yale.edu> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1053102131 17986 80.91.224.249 (16 May 2003 16:22:11 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 16 May 2003 16:22:11 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri May 16 18:22:07 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 19GhxX-0004dL-00 for ; Fri, 16 May 2003 18:21:27 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19Gi5x-0006Me-00 for ; Fri, 16 May 2003 18:30:09 +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 19GhtW-0005id-06 for emacs-devel@quimby.gnus.org; Fri, 16 May 2003 12:17:18 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 19GhtD-0005i1-00 for emacs-devel@gnu.org; Fri, 16 May 2003 12:16:59 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 19GhtB-0005hK-00 for emacs-devel@gnu.org; Fri, 16 May 2003 12:16:58 -0400 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19GhQF-0005zN-00 for emacs-devel@gnu.org; Fri, 16 May 2003 11:47:03 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.10) id 19GhQE-0003ck-00; Fri, 16 May 2003 11:47:02 -0400 Original-To: "Stefan Monnier" In-reply-to: <200305132031.h4DKVp58013718@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:13930 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:13930 1 - When killing the same thing over and over again, don't fill the kill-ring unnecessarily. ... No, this is handled somewhere else. The only negative effect it has (AFAIK) is if you do C-k C-y C-k C-k C-k C-k on the above example: The second C-k overwrites the data from the first so if you do C-y M-y you won't get "foo" but you'll get whatever was on the kill-ring before. 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. 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. 3 - Make C-k at EOB kill the last line. I agree with those who have criticized this.