[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: comint-last-output-overlay -- overlapping overlays
From: |
Alex Schroeder |
Subject: |
Re: comint-last-output-overlay -- overlapping overlays |
Date: |
Thu, 15 Nov 2001 04:37:45 +0100 |
User-agent: |
Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1 (i686-pc-linux-gnu) |
Miles Bader <address@hidden> writes:
> Alex Schroeder <address@hidden> writes:
>> If you have ever used ansi-color.el with Emacs 20, you will have
>> noticed that "ls /dev" can bring Emacs to a standstill. The reason is
>> simple: overlapping overlays are a real Emacs display killer.
>
> I've noticed some problems when lots of overlays overlap, but not if
> it's just a few.
>
> What exactly is the overlay configuration that's causing problems?
I just found that the problem doesn't happen using emacs -q! I am
very surprised. After some investigation, it seems that the culprit
is (global-font-lock-mode 1).
I've put the following three lines in tmp/test.el:
(ansi-color-for-comint-mode-on)
(global-font-lock-mode 1)
(shell)
I start Emacs as follows:
emacs -q -l tmp/test.el
At the shell prompt, type:
ls /dev
My /dev contains more than 1300 files, all of the will be colored in
my current setup. Now, with global-font-lock-mode enabled, ls /dev
takes significantly longer to complete.
Alex.
--
http://www.emacswiki.org/
- comint-last-output-overlay -- overlapping overlays, Alex Schroeder, 2001/11/14
- Re: comint-last-output-overlay -- overlapping overlays, Miles Bader, 2001/11/14
- Re: comint-last-output-overlay -- overlapping overlays,
Alex Schroeder <=
- Re: comint-last-output-overlay -- overlapping overlays, Miles Bader, 2001/11/25
- Re: comint-last-output-overlay -- overlapping overlays, Alex Schroeder, 2001/11/26
- Re: comint-last-output-overlay -- overlapping overlays, Miles Bader, 2001/11/27
- Re: comint-last-output-overlay -- overlapping overlays, Alex Schroeder, 2001/11/28
- Re: comint-last-output-overlay -- overlapping overlays, Miles Bader, 2001/11/29
- Re: comint-last-output-overlay -- overlapping overlays, Eli Zaretskii, 2001/11/29
- Re: comint-last-output-overlay -- overlapping overlays, Werner LEMBERG, 2001/11/30
- Re: comint-last-output-overlay -- overlapping overlays, Eli Zaretskii, 2001/11/30