From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eli Zaretskii Subject: bug#18035: Linum-mode + org-indent-mode results in graphical bug Date: Sat, 26 Jul 2014 18:36:08 +0300 Message-ID: <83a97wi13r.fsf__21863.1160249517$1406389063$gmane$org@gnu.org> References: <14B03A2E-7F4C-4329-8E0F-70A31D9C28E6@gmail.com> <83sim16yz9.fsf@gnu.org> Reply-To: Eli Zaretskii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46934) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XB420-0007sE-M0 for emacs-orgmode@gnu.org; Sat, 26 Jul 2014 11:37:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XB41u-00078O-PL for emacs-orgmode@gnu.org; Sat, 26 Jul 2014 11:37:08 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-reply-to: 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@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Lionel Henry Cc: michael_heerdegen@web.de, 18035@debbugs.gnu.org > From: Lionel Henry > 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.