unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Dan Nicolaescu <dann@ics.uci.edu>, emacs-devel@gnu.org
Subject: Re: obsolete selective-display ?
Date: Sat, 29 Aug 2009 11:44:59 -0400	[thread overview]
Message-ID: <jwveiqu39ye.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <83ab1jawkc.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 29 Aug 2009 10:49:55 +0300")

> I use "C-x $" quite a lot in certain use-cases of my workflow.  If

I think the C-x $ part of selective-display is a separate issue.

This said, just declaring selective-display obsolete will not help your
bidi work, because obsolete doesn't mean "not implemented any more".
So to be more useful, we should not only declare it obsolete, but (as
you suggest) reimplement an emulation of it using invisible overlays.
Using jit-lock-register, it might not be that hard to do (the most
difficult part will be to make it perform well, which will require not
only to add overlays lazily but to remove them promptly as well; tho
even better would be to provide a new implementation of overlays which
doesn't suffer from the O(N) and O(N^2) problems).


        Stefan




  reply	other threads:[~2009-08-29 15:44 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 [this message]
2009-08-29  7:50     ` Miles Bader
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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=jwveiqu39ye.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).