bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#18035: Linum-mode + org-indent-mode results in graphical bug


From: Eli Zaretskii
Subject: bug#18035: Linum-mode + org-indent-mode results in graphical bug
Date: Sat, 26 Jul 2014 18:36:08 +0300

> From: Lionel Henry <lionel.hry@gmail.com>
> Date: Sat, 26 Jul 2014 17:03:49 +0200
> Cc: 18035@debbugs.gnu.org,
>  michael_heerdegen@web.de
> 
> 
> First create a .org file and put the rainbow-delimiters package in your load 
> path.
> Then execute this :
> 
> (progn
>   (require 'rainbow-delimiters)
>   (rainbow-delimiters-mode)
>   (linum-mode)
>   (org-indent-mode))
> 
> Then enter this in the org file :
> 
> * head 1
> ** head 2
> line 1
> line 2
> 
> Line 2 is important, without it the bug does not happens. Now modify head 2.
> The linum number will disappear and the whole active line will shift to the 
> left.
> 
> So it's an interaction between linum, org-indent-mode, and 
> rainbow-delimiters-mode.

Thanks.

AFAICS, rainbow-delimiters-mode uses the JIT Font Lock machinery to do
its job, which might conflict with org-indent's usage of an idle timer
and/or fail to trigger linum-mode's update on that line.  When I
modify the "head 2" line, the line number is still visible, but then
about a second later the line gets re-indented and the line number
disappears.

I suggest that you report this to the developers of org-indent and
rainbow-delimiters-mode, and ask them to debug this.  If their
conclusion is that this is a core Emacs problem, please get back here
and report the details.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]