all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Miles Bader <miles@gnu.org>
To: Dan Nicolaescu <dann@ics.uci.edu>
Cc: Eli Zaretskii <eliz@gnu.org>, emacs-devel@gnu.org
Subject: Re: obsolete selective-display ?
Date: Sat, 29 Aug 2009 16:50:52 +0900	[thread overview]
Message-ID: <871vmvjbxf.fsf@catnip.gol.com> (raw)
In-Reply-To: <200908290732.n7T7WJTf029070@godzilla.ics.uci.edu> (Dan Nicolaescu's message of "Sat, 29 Aug 2009 00:32:19 -0700 (PDT)")

Dan Nicolaescu <dann@ics.uci.edu> writes:
>   > > Is it time for selective-display be declared obsolete?
>   > 
>   > What are the alternatives?
>
> 'invisible property on overlays

It's not entirely clear that's a good replacement, since using invisible
properties requires annotating the buffer and keeping those annotations
up-to-date (and of course, overlays can become _very_ expensive if there
are a lot of them).

My impression is that selective-display is slightly hard to use in some
cases -- the whole "hide everything following ^M is downright weird,
though the "hide more than N columns of indentation" behavior seems
straightforward enough -- but its very low cost is appealing.

-Miles

-- 
Liberty, n. One of imagination's most precious possessions.




  parent reply	other threads:[~2009-08-29  7:50 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-29  5:27 obsolete selective-display ? Dan Nicolaescu
2009-08-29  7:21 ` Eli Zaretskii
2009-08-29  7:32   ` Dan Nicolaescu
2009-08-29  7:49     ` Eli Zaretskii
2009-08-29 15:44       ` Stefan Monnier
2009-08-29  7:50     ` Miles Bader [this message]
2009-08-29  8:34     ` Replace selective-display in Gnus (was: obsolete selective-display ?) Reiner Steib
2009-08-29 15:40       ` Replace selective-display in Gnus Stefan Monnier
2009-08-29 18:19         ` Reiner Steib
2009-08-29 18:26           ` Dan Nicolaescu
2009-10-14 19:05             ` Reiner Steib
2009-10-15  1:01               ` Katsumi Yamaoka
2009-10-15  4:34                 ` Stephen J. Turnbull
2009-10-16  7:06                 ` Katsumi Yamaoka
2009-10-17 10:41                   ` Reiner Steib
2009-10-18 23:51                     ` Katsumi Yamaoka

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=871vmvjbxf.fsf@catnip.gol.com \
    --to=miles@gnu.org \
    --cc=dann@ics.uci.edu \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    /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.