From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: obsolete selective-display ? Date: Sat, 29 Aug 2009 11:44:59 -0400 Message-ID: References: <200908290527.n7T5R7Na028106@godzilla.ics.uci.edu> <83bplzaxvm.fsf@gnu.org> <200908290732.n7T7WJTf029070@godzilla.ics.uci.edu> <83ab1jawkc.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1251560725 757 80.91.229.12 (29 Aug 2009 15:45:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 29 Aug 2009 15:45:25 +0000 (UTC) Cc: Dan Nicolaescu , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Aug 29 17:45:18 2009 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 1MhQ7B-00039k-7f for ged-emacs-devel@m.gmane.org; Sat, 29 Aug 2009 17:45:17 +0200 Original-Received: from localhost ([127.0.0.1]:37149 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MhQ7A-00053P-7I for ged-emacs-devel@m.gmane.org; Sat, 29 Aug 2009 11:45:16 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MhQ75-00053K-IP for emacs-devel@gnu.org; Sat, 29 Aug 2009 11:45:11 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MhQ70-00050O-2w for emacs-devel@gnu.org; Sat, 29 Aug 2009 11:45:10 -0400 Original-Received: from [199.232.76.173] (port=45875 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MhQ6z-000508-LS for emacs-devel@gnu.org; Sat, 29 Aug 2009 11:45:05 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:62018) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MhQ6y-0001K8-03; Sat, 29 Aug 2009 11:45:04 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmYFAFPqmEpFpYuS/2dsb2JhbACBU9UAhBoFh2g X-IronPort-AV: E=Sophos;i="4.44,296,1249272000"; d="scan'208";a="44486020" Original-Received: from 69-165-139-146.dsl.teksavvy.com (HELO ceviche.home) ([69.165.139.146]) by ironport2-out.teksavvy.com with ESMTP; 29 Aug 2009 11:43:59 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 0943CB40F3; Sat, 29 Aug 2009 11:44:59 -0400 (EDT) In-Reply-To: <83ab1jawkc.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 29 Aug 2009 10:49:55 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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:114838 Archived-At: > 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