GNU bug report logs - #18035
Linum-mode + org-indent-mode results in graphical bug

Previous Next

Packages: org-mode, emacs;

Reported by: Lionel Henry <lionel.hry <at> gmail.com>

Date: Wed, 16 Jul 2014 15:42:02 UTC

Severity: normal

Tags: moreinfo

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Lionel Henry <lionel.hry <at> gmail.com>
Cc: michael_heerdegen <at> web.de, 18035 <at> debbugs.gnu.org
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 <at> gmail.com>
> Date: Sat, 26 Jul 2014 17:03:49 +0200
> Cc: 18035 <at> debbugs.gnu.org,
>  michael_heerdegen <at> 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.




This bug report was last modified 9 years and 153 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.