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: Outline mode Date: Sun, 02 Sep 2007 11:50:24 -0400 Message-ID: References: <87odgnbr9q.fsf@earthlink.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 1188748302 22496 80.91.229.12 (2 Sep 2007 15:51:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 2 Sep 2007 15:51:42 +0000 (UTC) Cc: emacs-devel@gnu.org To: John J Foerch Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Sep 02 17:51:42 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 1IRrja-0005SQ-Sb for ged-emacs-devel@m.gmane.org; Sun, 02 Sep 2007 17:51:35 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IRrjZ-0003lR-Ts for ged-emacs-devel@m.gmane.org; Sun, 02 Sep 2007 11:51:33 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IRrih-0003Qa-TK for emacs-devel@gnu.org; Sun, 02 Sep 2007 11:50:39 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IRrig-0003Pe-7N for emacs-devel@gnu.org; Sun, 02 Sep 2007 11:50:39 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IRrif-0003PS-SH for emacs-devel@gnu.org; Sun, 02 Sep 2007 11:50:37 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IRrif-00076h-OX for emacs-devel@gnu.org; Sun, 02 Sep 2007 11:50:37 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1IRriS-0006U6-NJ; Sun, 02 Sep 2007 11:50:24 -0400 In-reply-to: <87odgnbr9q.fsf@earthlink.net> (message from John J Foerch on Fri, 31 Aug 2007 12:30:41 -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:77598 Archived-At: Outline-mode has a problem that I would like to fix. To see the problem, hide an entry (C-c C-c) in an outline-mode buffer, and put point at the end of the heading with C-e. Point will then be located to the right of the ellipsis, and as far as emacs knows, point is on the last line of the hidden entry. Typing characters or hitting backspace, and many other commands will affect the last line of the entry. This is true, and it is consistent. If you type C-e on the heading and move past the ellipsis, you go just before the newline at the end of the entry. If you insert text there, it appears to be, and is, located before that newline. When an entry is collapsed in outline-mode, what actually gets marked invisible is everything from the newline of the heading to the character before the final newline of the entry. It would make more sense, if the newline of the heading were left visible, and the final newline of the entry were hidden. I think the reason for this is that the newline that is displayed appears to be right before the next entry. If the newline character that corresponds to is NOT the one right before the next entry, you get strange results.