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: Wed, 21 May 2003 21:52:09 -0500 (CDT) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200305220252.h4M2q9W10068@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> NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1053572043 4047 80.91.224.249 (22 May 2003 02:54:03 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 22 May 2003 02:54:03 +0000 (UTC) Cc: kai.grossjohann@gmx.net Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Thu May 22 04:54:00 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 19IgD2-00012B-00 for ; Thu, 22 May 2003 04:53:36 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19IgO6-0006ta-00 for ; Thu, 22 May 2003 05:05:02 +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 19IgDd-00018f-9L for emacs-devel@quimby.gnus.org; Wed, 21 May 2003 22:54:13 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19IgDI-0000zr-PI for emacs-devel@gnu.org; Wed, 21 May 2003 22:53:52 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19IgCl-0000U4-EN for emacs-devel@gnu.org; Wed, 21 May 2003 22:53:50 -0400 Original-Received: from manatee.dms.auburn.edu ([131.204.53.104]) by monty-python.gnu.org with esmtp (Exim 4.20) id 19IgBh-0007fn-Vp for emacs-devel@gnu.org; Wed, 21 May 2003 22:52:14 -0400 Original-Received: from eel.dms.auburn.edu (eel.dms.auburn.edu [131.204.53.108]) h4M2q7oc007968; Wed, 21 May 2003 21:52:07 -0500 (CDT) Original-Received: (from teirllm@localhost) by eel.dms.auburn.edu (8.11.6+Sun/8.11.6) id h4M2q9W10068; Wed, 21 May 2003 21:52:09 -0500 (CDT) X-Authentication-Warning: eel.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: teirllm@dms.auburn.edu In-reply-to: <200305211407.h4LE7W808137@eel.dms.auburn.edu> (message from Luc Teirlinck on Wed, 21 May 2003 09:07:32 -0500 (CDT)) Original-cc: emacs-devel@gnu.org 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:14075 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:14075 line-- I believe that I finally have a version of kill-whole-line that treats the kill ring correctly regardless of whether the buffer is read-only or not. It is actually simpler than the (incorrect) version I sent yesterday. (I was making things too difficult.) It still suffers "externally" from the problem with kill-region I reported earlier today. That is, if you are at the end of the buffer, do M-2 C-k and then a kill command, you are in trouble no matter what the kill command is. That is a separate problem. However the version of the function I gave yesterday suffered "internally" from the problem, without prior "empty kill". This is no longer the case. It seems that my latest version works perfectly in the absence of invisible newlines. However... There seem to be bugs with forward-visible-line. I will report on these separately. Sincerely, Luc.