all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Outline mode
@ 2007-08-31 16:30 John J Foerch
  2007-08-31 20:22 ` Stefan Monnier
  2007-09-02 15:50 ` Richard Stallman
  0 siblings, 2 replies; 21+ messages in thread
From: John J Foerch @ 2007-08-31 16:30 UTC (permalink / raw)
  To: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 1376 bytes --]

Hello,

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.

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.  The ellipsis can be placed in the
buffer by using the 'display property on the newline of the heading.

The code attached to this email implement this behavior, and I hope
you will try it out.

However, there is a large problem with fixing outline-mode.  The
problem is that many of the modes that derive their behavior from
outline-mode probably depend on the current way that entries are
hidden.  I am hoping that I can get advice from more experienced emacs
developers on how to go about this project.  I am also hoping to get
help from the maintainers of as many of the derived modes as possible.

Thank you,
John Foerch
aka RetroJ in #emacs



[-- Attachment #2: update for outline-mode --]
[-- Type: application/emacs-lisp, Size: 11698 bytes --]

[-- Attachment #3: Type: text/plain, Size: 142 bytes --]

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

^ permalink raw reply	[flat|nested] 21+ messages in thread
* Outline mode
@ 2002-09-06 12:06 Keith O'Connell
  2002-09-06 12:24 ` lawrence mitchell
  2002-09-06 22:15 ` Kevin Rodgers
  0 siblings, 2 replies; 21+ messages in thread
From: Keith O'Connell @ 2002-09-06 12:06 UTC (permalink / raw)


hi,

Is there a way to open a file in emacs in outline mode?

Either with a switch, or file name extension? Better still to open the
file in a collapsed form

Keith
-- 
___________________________________   _
  Keith O'Connell.                   -o)
  Maidstone, Kent. (UK)              /\\
  keith_oconnell@blueyonder.co.uk   _\_v

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2007-09-10 15:06 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
  -- 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

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.