all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
To: John J Foerch <jjfoerch@earthlink.net>
Cc: emacs-devel@gnu.org
Subject: Re: Outline mode
Date: Sun, 02 Sep 2007 11:50:24 -0400	[thread overview]
Message-ID: <E1IRriS-0006U6-NJ@fencepost.gnu.org> (raw)
In-Reply-To: <87odgnbr9q.fsf@earthlink.net> (message from John J Foerch on Fri, 31 Aug 2007 12:30:41 -0400)

    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.

  parent reply	other threads:[~2007-09-02 15:50 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-31 16:30 Outline mode John J Foerch
2007-08-31 20:22 ` Stefan Monnier
2007-08-31 23:44   ` John J Foerch
2007-09-01  2:02     ` Stefan Monnier
2007-09-01 17:31       ` John J Foerch
2007-09-03 21:03         ` Stefan Monnier
2007-09-04  2:26           ` John J Foerch
2007-09-04 14:27             ` Stefan Monnier
2007-09-04 15:58               ` John J Foerch
2007-09-04 19:45                 ` Stefan Monnier
2007-09-04 21:45                   ` John J Foerch
2007-09-04 22:52           ` Davis Herring
2007-09-05  0:09             ` John J Foerch
2007-09-05  1:11               ` Davis Herring
2007-09-05 19:41                 ` John J Foerch
2007-09-05 19:56                   ` Davis Herring
2007-09-10 15:06                     ` John J Foerch
2007-09-02 15:50 ` Richard Stallman [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-09-06 12:06 Keith O'Connell
2002-09-06 12:24 ` lawrence mitchell
2002-09-06 22:15 ` Kevin Rodgers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1IRriS-0006U6-NJ@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=jjfoerch@earthlink.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.