From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Luc Teirlinck Newsgroups: gmane.emacs.devel Subject: Re: Various simple.el patches Date: Fri, 23 May 2003 13:27:55 -0500 (CDT) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200305231827.h4NIRte11739@eel.dms.auburn.edu> References: <200305132031.h4DKVp58013718@rum.cs.yale.edu> <84llx9hhwp.fsf@lucy.is.informatik.uni-duisburg.de> <20030514124245.GA24487@gnu.org> <843cjhtytp.fsf@lucy.is.informatik.uni-duisburg.de> <20030514144839.GA6241@gnu.org> <844r3xr0ar.fsf@lucy.is.informatik.uni-duisburg.de> <84fznfzb9t.fsf@lucy.is.informatik.uni-duisburg.de> <84k7co464e.fsf@lucy.is.informatik.uni-duisburg.de> <200305210312.h4L3C4907897@eel.dms.auburn.edu> <200305220252.h4M2q9W10068@eel.dms.auburn.edu> <841xyqywtm.fsf@lucy.is.informatik.uni-duisburg.de> NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1053717117 2870 80.91.224.249 (23 May 2003 19:11:57 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 23 May 2003 19:11:57 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri May 23 21:11: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 19JHwx-0000iB-00 for ; Fri, 23 May 2003 21:11:31 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19JI8p-0005kb-00 for ; Fri, 23 May 2003 21:23:47 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19JHvI-0002RJ-OL for emacs-devel@quimby.gnus.org; Fri, 23 May 2003 15:09:48 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19JHHQ-0000su-IA for emacs-devel@gnu.org; Fri, 23 May 2003 14:28:36 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19JHGq-0000Nn-Lc for emacs-devel@gnu.org; Fri, 23 May 2003 14:28:01 -0400 Original-Received: from manatee.dms.auburn.edu ([131.204.53.104]) by monty-python.gnu.org with esmtp (Exim 4.20) id 19JHGl-0000Fo-3H for emacs-devel@gnu.org; Fri, 23 May 2003 14:27:55 -0400 Original-Received: from eel.dms.auburn.edu (eel.dms.auburn.edu [131.204.53.108]) h4NIRqoc014950; Fri, 23 May 2003 13:27:52 -0500 (CDT) Original-Received: (from teirllm@localhost) by eel.dms.auburn.edu (8.11.6+Sun/8.11.6) id h4NIRte11739; Fri, 23 May 2003 13:27:55 -0500 (CDT) X-Authentication-Warning: eel.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: kai.grossjohann@gmx.net In-reply-to: <841xyqywtm.fsf@lucy.is.informatik.uni-duisburg.de> (kai.grossjohann@gmx.net) 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:14147 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:14147 Kai Grossjohann wrote: I vote for including this code in Emacs. Do you want to install it? I currently have no write access to the Emacs CVS. I may or may not want such access depending on exactly how much CVS knowledge is necessary to commit changes without fear of doing some horrible stupidities. (I currently know no more CVS than necessary to check out the CVS from Savannah.) I just come to write Richard about this. (Minor question: are the save-excursions necessary? I don't know if it is desirable to try to minimize them.) They are necessary for read-only buffers. Otherwise, you wind up moving over the same text twice and copying it twice to the kill ring. It certainly should be avoided to use completely unnecessary save-excursion's. On the other hand, I do not believe that use of save-excursion poses such efficiency problems that one should go completely out of one's way to avoid it, at the expense of more complicated code. Sincerely, Luc.