From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Overlay mechanic improvements Date: Sun, 21 Sep 2014 09:35:35 -0400 Message-ID: References: <871tr6qup8.fsf@fencepost.gnu.org> Reply-To: rms@gnu.org NNTP-Posting-Host: plane.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1411307094 426 80.91.229.3 (21 Sep 2014 13:44:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 21 Sep 2014 13:44:54 +0000 (UTC) Cc: emacs-devel@gnu.org To: David Kastrup Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Sep 21 15:44:49 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XVhRZ-0006Ru-8n for ged-emacs-devel@m.gmane.org; Sun, 21 Sep 2014 15:44:49 +0200 Original-Received: from localhost ([::1]:39334 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XVhRY-0000BR-N3 for ged-emacs-devel@m.gmane.org; Sun, 21 Sep 2014 09:44:48 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38793) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XVhRJ-0008Qo-JO for emacs-devel@gnu.org; Sun, 21 Sep 2014 09:44:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XVhRG-00015d-1y for emacs-devel@gnu.org; Sun, 21 Sep 2014 09:44:33 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:35471) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XVhRF-000118-Vh for emacs-devel@gnu.org; Sun, 21 Sep 2014 09:44:29 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1XVhId-0001Hj-0a; Sun, 21 Sep 2014 09:35:35 -0400 In-reply-to: <871tr6qup8.fsf@fencepost.gnu.org> (message from David Kastrup on Sat, 20 Sep 2014 15:37:23 +0200) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:174598 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] preview-latex extensively uses overlays (and they can easily grow to a few thousand per document in a mathematically oriented paper), How many overlays would appear on one screen? Quadratic behavior for the markers used as start- and end markers is clearly undesirable. The existing code should be fat if you recenter the overlays frequently at point, unless you have lots of overlays on one screen. Do you recenter them? If so, why is it slow? Why aren't text properties right for this? -- Dr Richard Stallman President, Free Software Foundation 51 Franklin St Boston MA 02110 USA www.fsf.org www.gnu.org Skype: No way! That's nonfree (freedom-denying) software. Use Ekiga or an ordinary phone call.