From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: Re: Enriched/Org is a colorful Org Date: Wed, 10 Apr 2013 22:16:30 +0200 Message-ID: <86fvyycfa9.fsf@somewhere.org> References: <87a9p79gnv.fsf@gmail.com> <20130410095450.GA31506@kuru.dyndns-at-home.com> <83a9p69x0c.fsf@gnu.org> <262C4E11-6D4B-4033-A619-1702CC8D0F94@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hi Carsten, Carsten Dominik wrote: > On 10.4.2013, at 18:21, Eli Zaretskii wrote: >>> From: Carsten Dominik >>> On 10 apr. 2013, at 11:54, Suvayu Ali wro= te: >>>> This request is common enough; every time it comes up overlays are >>>> proposed as a solution. It would be good if this is available even as= a >>>> library outside of Org. >>>=20 >>> Yes, overlays are better. >>=20 >> I beg the Org developers to please be very careful when introducing >> expensive display features such as overlays into Org. Org already >> puts the Emacs display engine to its limits in many of its popular >> features; > > this is interesting input, I was not aware of this. Has this been discuss= ed > before, can you point me to relevant threads, and what are the symptoms o= f the > display engine being at its limits? > >> adding overlays to this mess might be too much. I guess Eli simply means, in a general way, that overlays do negatively imp= act display performance, as you said as well a couple of times: =E2=95=AD=E2=94=80=E2=94=80=E2=94=80=E2=94=80 =E2=94=82 From: Carsten Dominik =E2=94=82 Subject: Re: performance problems with drawers =E2=94=82 Newsgroups: gmane.emacs.orgmode =E2=94=82 To: Al =E2=94=82 Cc: emacs-orgmode-mXXj517/zsQ@public.gmane.org =E2=94=82 Date: Wed, 8 Jul 2009 07:05:53 +0200 (3 years, 39 weeks, 3 days= ago) =E2=94=82=20 =E2=94=82 Hi Al, =E2=94=82=20 =E2=94=82 first of all, I cannot reproduce the fact that drawers have such =E2=94=82 a major influence on time, wit a test file that I created to =E2=94=82 be similar to what you describe. =E2=94=82=20 =E2=94=82 There is a way to speed up drawer handling, by using text prope= rties =E2=94=82 instead of overlays. How have some vague plans to do this, but= nothing =E2=94=82 concrete or soon. =E2=94=82=20 =E2=94=82 - Carsten =E2=95=B0=E2=94=80=E2=94=80=E2=94=80=E2=94=80 and =E2=95=AD=E2=94=80=E2=94=80=E2=94=80=E2=94=80 =E2=94=82 From: Carsten Dominik =E2=94=82 Subject: Re: fontification and icon issues =E2=94=82 Newsgroups: gmane.emacs.orgmode =E2=94=82 To: David O'Toole =E2=94=82 Cc: emacs-orgmode-mXXj517/zsQ@public.gmane.org =E2=94=82 Date: Thu, 24 Sep 2009 10:46:24 +0100 (3 years, 28 weeks, 2 day= s ago) =E2=94=82=20 =E2=94=82 On Sep 22, 2009, at 4:11 PM, David O'Toole wrote: =E2=94=82 > [...] =E2=94=82 > =E2=94=82 > 2. using add-text-properties to specify a display property (o= r even just =E2=94=82 > a face) for any part of an org headline text kills the fontif= ication of =E2=94=82 > the rest of the text (TODO keyword and leading stars unaffect= ed.) I'm =E2=94=82 > trying to use font-lock-add-keywords to display the images. =E2=94=82=20 =E2=94=82 Can you make an example file, and maybe a small function that d= oes set these =E2=94=82 properties, so that I can see what you mean? =E2=94=82=20 =E2=94=82 - Carsten =E2=94=82=20 =E2=94=82 > Maybe I should use overlays instead? =E2=94=82=20 =E2=94=82 This can be done, but if every line in a very large file gets =E2=94=82 an overlay, performance is severely degraded. =E2=94=82=20 =E2=94=82 - Carsten =E2=95=B0=E2=94=80=E2=94=80=E2=94=80=E2=94=80 >> I don't know enough about Org to understand why overlays are being >> considered instead of text properties, but feel free to describe the >> issues (preferably on emacs-devel) and start a discussion about the >> possible alternatives. Best regards, Seb --=20 Sebastien Vauban