Re: [O] Enriched/Org is a colorful Org

2013-04-18 Thread Samuel Wales
I want to add to the thanks to everybody for making speed improvements. -- The Kafka Pandemic: http://thekafkapandemic.blogspot.com The disease DOES progress. MANY people have died from it. ANYBODY can get it. There is NO hope without action. This means YOU.

Re: [O] Enriched/Org is a colorful Org

2013-04-13 Thread Eli Zaretskii
> Date: Sat, 13 Apr 2013 13:24:13 +0100 > From: "Sean O'Halpin" > Cc: Carsten Dominik , Org Mode > > > In your opinion, would it be possible to reproduce the functionality > of outline-mode using text properties rather than overlays? This needs to be analyzed. Outline mode uses several featur

Re: [O] Enriched/Org is a colorful Org

2013-04-13 Thread Jambunathan K
"Sean O'Halpin" writes: > In your opinion, would it be possible to reproduce the functionality > of outline-mode using text properties rather than overlays? And in the > case of org-mode, would this really make that much of a difference in > terms of performance? Broadly speaking, answer seems t

Re: [O] Enriched/Org is a colorful Org

2013-04-13 Thread Sean O'Halpin
In your opinion, would it be possible to reproduce the functionality of outline-mode using text properties rather than overlays? And in the case of org-mode, would this really make that much of a difference in terms of performance? Regards, Sean On Fri, Apr 12, 2013 at 1:36 PM, Eli Zaretskii wro

Re: [O] Enriched/Org is a colorful Org

2013-04-13 Thread Suvayu Ali
Hi Eli, On Fri, Apr 12, 2013 at 09:38:47PM +0300, Eli Zaretskii wrote: > > Date: Fri, 12 Apr 2013 20:00:56 +0200 > > From: Suvayu Ali > > Cc: Torsten Wagner , emacs-orgmode@gnu.org, > > carsten.domi...@gmail.com > > > > If some package wants to keep something updated (line number displays in

Re: [O] Enriched/Org is a colorful Org

2013-04-12 Thread Eli Zaretskii
> Date: Fri, 12 Apr 2013 20:00:56 +0200 > From: Suvayu Ali > Cc: Torsten Wagner , emacs-orgmode@gnu.org, > carsten.domi...@gmail.com > > If some package wants to keep something updated (line number displays in > this case), is using the post-command-hook the only option? No. The other one

Re: [O] Enriched/Org is a colorful Org

2013-04-12 Thread Suvayu Ali
Hi Eli, I hope you don't mind me taking this opportunity to ask a tangential question. On Fri, Apr 12, 2013 at 04:03:10PM +0300, Eli Zaretskii wrote: > In general, linum does exactly what defeats redisplay optimizations: > it modifies overlays in a post-command-hook. But that doesn't mean If so

Re: [O] Enriched/Org is a colorful Org

2013-04-12 Thread François Pinard
Bastien writes: > Thanks Eli, great to learn about the internals of Emacs display > engine. Eli is, and always has been, quite a resourceful man. And along the years, I got the pleasure of discovering him as a good friend too! :-) François

Re: [O] Enriched/Org is a colorful Org

2013-04-12 Thread Eli Zaretskii
> Date: Fri, 12 Apr 2013 13:49:47 +0200 > From: Torsten Wagner > Cc: Eli Zaretskii , Org Mode Mailing List > > just want to add some observation. I guess it has nothing to do with the > display engine but it might be somehow related. I used to use line-mode to > display line-numbers as a left co

Re: [O] Enriched/Org is a colorful Org

2013-04-12 Thread Eli Zaretskii
> From: Carsten Dominik > Date: Fri, 12 Apr 2013 12:56:11 +0200 > Cc: emacs-orgmode@gnu.org > > I guess outline mode does have the exact same problem in this case, in > fact any mode with large amount of hidden text. Of course. The only difference is that outline is not as popular as Org, and u

Re: [O] Enriched/Org is a colorful Org

2013-04-12 Thread Torsten Wagner
Hi, just want to add some observation. I guess it has nothing to do with the display engine but it might be somehow related. I used to use line-mode to display line-numbers as a left column on all my buffers. I noticed a very painful slowdown up to a totally unusable state during working on very l

Re: [O] Enriched/Org is a colorful Org

2013-04-12 Thread Carsten Dominik
On 12 apr. 2013, at 10:31, Eli Zaretskii wrote: >> From: Carsten Dominik >> Date: Fri, 12 Apr 2013 09:13:47 +0200 >> Cc: emacs-orgmode@gnu.org >> >>> Just search xdisp.c for "overlay", you will see the story quite >>> clearly, I think. >> >> My Sunday pleasure reading project. > > Good luck,

Re: [O] Enriched/Org is a colorful Org

2013-04-12 Thread Bastien
Carsten Dominik writes: > Thanks for taking the time to get me this far. +1! Thanks Eli, great to learn about the internals of Emacs display engine. The Emacs Lisp manual already contains some directions and warnings, but not so detailed. -- Bastien

Re: [O] Enriched/Org is a colorful Org

2013-04-12 Thread Eli Zaretskii
> From: Carsten Dominik > Date: Fri, 12 Apr 2013 09:13:47 +0200 > Cc: emacs-orgmode@gnu.org > > > Just search xdisp.c for "overlay", you will see the story quite > > clearly, I think. > > My Sunday pleasure reading project. Good luck, and let me know if you need something explained. The commen

Re: [O] Enriched/Org is a colorful Org

2013-04-12 Thread Carsten Dominik
On 12 apr. 2013, at 08:41, Eli Zaretskii wrote: >> From: Carsten Dominik >> Date: Fri, 12 Apr 2013 00:49:32 +0200 >> Cc: "emacs-orgmode@gnu.org List" >> >>> Overlays should be OK as long as they aren't too many, and as long as >>> you don't move them around too much, particularly in post-comm

Re: [O] Enriched/Org is a colorful Org

2013-04-11 Thread Eli Zaretskii
> From: Carsten Dominik > Date: Fri, 12 Apr 2013 00:49:32 +0200 > Cc: "emacs-orgmode@gnu.org List" > > > Overlays should be OK as long as they aren't too many, and as long as > > you don't move them around too much, particularly in post-command-hook > > or some such. > > This explanation sounds

Re: [O] Enriched/Org is a colorful Org

2013-04-11 Thread Carsten Dominik
On 11.4.2013, at 19:30, Eli Zaretskii wrote: >> From: Carsten Dominik >> Date: Thu, 11 Apr 2013 04:58:15 +0200 >> Cc: "emacs-orgmode@gnu.org List" , >> Eli Zaretskii >> >>> I guess Eli simply means, in a general way, that overlays do negatively >>> impact >>> display performance, as you said

Re: [O] Enriched/Org is a colorful Org

2013-04-11 Thread Carsten Dominik
On 11.4.2013, at 19:27, Eli Zaretskii wrote: > [Please CC me on responses, as I'm not subscribed to this list.] > >> From: Carsten Dominik >> Date: Wed, 10 Apr 2013 21:58:06 +0200 >> Cc: emacs-orgmode@gnu.org >> >>> I beg the Org developers to please be very careful when introducing >>> expen

Re: [O] Enriched/Org is a colorful Org

2013-04-11 Thread Eli Zaretskii
> From: Carsten Dominik > Date: Thu, 11 Apr 2013 04:58:15 +0200 > Cc: "emacs-orgmode@gnu.org List" , > Eli Zaretskii > > > I guess Eli simply means, in a general way, that overlays do negatively > > impact > > display performance, as you said as well a couple of times: > > Yes, but Eli says t

Re: [O] Enriched/Org is a colorful Org

2013-04-11 Thread Eli Zaretskii
[Please CC me on responses, as I'm not subscribed to this list.] > From: Carsten Dominik > Date: Wed, 10 Apr 2013 21:58:06 +0200 > Cc: emacs-orgmode@gnu.org > > > I beg the Org developers to please be very careful when introducing > > expensive display features such as overlays into Org. Org al

Re: [O] Enriched/Org is a colorful Org

2013-04-10 Thread Carsten Dominik
On 10.4.2013, at 22:16, "Sebastien Vauban" wrote: > 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 wrote: > This request is common enough; every time it comes up overlays are >>>

Re: [O] Enriched/Org is a colorful Org

2013-04-10 Thread Sebastien Vauban
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 wrote: This request is common enough; every time it comes up overlays are proposed as a solution. It would be good if this is availabl

Re: [O] Enriched/Org is a colorful Org

2013-04-10 Thread Carsten Dominik
On 10.4.2013, at 18:21, Eli Zaretskii wrote: >> From: Carsten Dominik >> Date: Wed, 10 Apr 2013 12:16:28 +0200 >> Cc: emacs-orgmode@gnu.org >> >> >> On 10 apr. 2013, at 11:54, Suvayu Ali wrote: >> >>> On Wed, Apr 10, 2013 at 09:32:44AM +0530, Jambunathan K wrote: See "Side note"

Re: [O] Enriched/Org is a colorful Org

2013-04-10 Thread Eli Zaretskii
> From: Jambunathan K > Cc: Carsten Dominik , emacs-orgmode@gnu.org > Date: Wed, 10 Apr 2013 22:13:46 +0530 > > Eli Zaretskii writes: > > > I beg the Org developers to please be very careful when introducing > > expensive display features such as overlays into Org. Org already > > puts the Em

Re: [O] Enriched/Org is a colorful Org

2013-04-10 Thread Jambunathan K
Eli Zaretskii writes: > 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; adding overlays to this mess might be too much. We sho

Re: [O] Enriched/Org is a colorful Org

2013-04-10 Thread Eli Zaretskii
> From: Carsten Dominik > Date: Wed, 10 Apr 2013 12:16:28 +0200 > Cc: emacs-orgmode@gnu.org > > > On 10 apr. 2013, at 11:54, Suvayu Ali wrote: > > > On Wed, Apr 10, 2013 at 09:32:44AM +0530, Jambunathan K wrote: > >> > >> See "Side note" towards the end of this message > >> > >>http:

Re: [O] Enriched/Org is a colorful Org

2013-04-10 Thread Jambunathan K
> ;; set up highlighting of special patterns for Org mode only > (dolist (mode '(org-mode)) > (font-lock-add-keywords mode > `((,lvn/highlight-org-regexps 1 'lvn/highlight-face prepend hi-lock.el is for regexp based highlighting. facemenu.el is for one-off, case-by-case highligh

Re: [O] Enriched/Org is a colorful Org

2013-04-10 Thread Jambunathan K
Suvayu Ali writes: > On Wed, Apr 10, 2013 at 09:32:44AM +0530, Jambunathan K wrote: >> >> See "Side note" towards the end of this message >> >> http://debbugs.gnu.org/cgi/bugreport.cgi?bug=14157#8 >> > > This request is common enough; every time it comes up overlays are > proposed as a

Re: [O] Enriched/Org is a colorful Org

2013-04-10 Thread Jambunathan K
Carsten Dominik writes: > On 10 apr. 2013, at 11:54, Suvayu Ali wrote: > >> On Wed, Apr 10, 2013 at 09:32:44AM +0530, Jambunathan K wrote: >>> >>> See "Side note" towards the end of this message >>> >>>http://debbugs.gnu.org/cgi/bugreport.cgi?bug=14157#8 >>> >> >> This request is com

Re: [O] Enriched/Org is a colorful Org

2013-04-10 Thread Carsten Dominik
On 10 apr. 2013, at 13:20, "Sebastien Vauban" wrote: > Carsten Dominik wrote: >> On 10 apr. 2013, at 12:48, Suvayu Ali wrote: >>> On Wed, Apr 10, 2013 at 12:16:28PM +0200, Carsten Dominik wrote: On 10 apr. 2013, at 11:54, Suvayu Ali wrote: > On Wed, Apr 10, 2013 at 09:32:44AM +0530,

Re: [O] Enriched/Org is a colorful Org

2013-04-10 Thread Sebastien Vauban
Carsten Dominik wrote: > On 10 apr. 2013, at 12:48, Suvayu Ali wrote: >> On Wed, Apr 10, 2013 at 12:16:28PM +0200, Carsten Dominik wrote: >>> On 10 apr. 2013, at 11:54, Suvayu Ali wrote: On Wed, Apr 10, 2013 at 09:32:44AM +0530, Jambunathan K wrote: > > See "Side note" towards the e

Re: [O] Enriched/Org is a colorful Org

2013-04-10 Thread Carsten Dominik
On 10 apr. 2013, at 12:48, Suvayu Ali wrote: > Hi Carsten, > > On Wed, Apr 10, 2013 at 12:16:28PM +0200, Carsten Dominik wrote: >> >> On 10 apr. 2013, at 11:54, Suvayu Ali wrote: >> >>> On Wed, Apr 10, 2013 at 09:32:44AM +0530, Jambunathan K wrote: See "Side note" towards the end

Re: [O] Enriched/Org is a colorful Org

2013-04-10 Thread Suvayu Ali
Hi Carsten, On Wed, Apr 10, 2013 at 12:16:28PM +0200, Carsten Dominik wrote: > > On 10 apr. 2013, at 11:54, Suvayu Ali wrote: > > > On Wed, Apr 10, 2013 at 09:32:44AM +0530, Jambunathan K wrote: > >> > >> See "Side note" towards the end of this message > >> > >>http://debbugs.gnu.org/

Re: [O] Enriched/Org is a colorful Org

2013-04-10 Thread Torsten Wagner
Hmmm as application an ambient-light org-mode coloring just joking Torsten On 10 April 2013 12:16, Carsten Dominik wrote: > > On 10 apr. 2013, at 11:54, Suvayu Ali wrote: > > > On Wed, Apr 10, 2013 at 09:32:44AM +0530, Jambunathan K wrote: > >> > >> See "Side note" towards the end

Re: [O] Enriched/Org is a colorful Org

2013-04-10 Thread Carsten Dominik
On 10 apr. 2013, at 11:54, Suvayu Ali wrote: > On Wed, Apr 10, 2013 at 09:32:44AM +0530, Jambunathan K wrote: >> >> See "Side note" towards the end of this message >> >>http://debbugs.gnu.org/cgi/bugreport.cgi?bug=14157#8 >> > > This request is common enough; every time it comes up o

Re: [O] Enriched/Org is a colorful Org

2013-04-10 Thread Suvayu Ali
On Wed, Apr 10, 2013 at 09:32:44AM +0530, Jambunathan K wrote: > > See "Side note" towards the end of this message > > http://debbugs.gnu.org/cgi/bugreport.cgi?bug=14157#8 > This request is common enough; every time it comes up overlays are proposed as a solution. It would be good if t

[O] Enriched/Org is a colorful Org

2013-04-09 Thread Jambunathan K
See "Side note" towards the end of this message http://debbugs.gnu.org/cgi/bugreport.cgi?bug=14157#8