From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs 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@gnu.org> References: <14B03A2E-7F4C-4329-8E0F-70A31D9C28E6@gmail.com> <83sim16yz9.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1406389059 3857 80.91.229.3 (26 Jul 2014 15:37:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 26 Jul 2014 15:37:39 +0000 (UTC) Cc: michael_heerdegen@web.de, 18035@debbugs.gnu.org To: Lionel Henry Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jul 26 17:37:30 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XB42L-0000K2-Qx for geb-bug-gnu-emacs@m.gmane.org; Sat, 26 Jul 2014 17:37:29 +0200 Original-Received: from localhost ([::1]:60128 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XB42L-00086i-9u for geb-bug-gnu-emacs@m.gmane.org; Sat, 26 Jul 2014 11:37:29 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46975) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XB42C-0007z6-F7 for bug-gnu-emacs@gnu.org; Sat, 26 Jul 2014 11:37:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XB426-0007Dn-IY for bug-gnu-emacs@gnu.org; Sat, 26 Jul 2014 11:37:20 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:43735) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XB41u-00078K-Ml; Sat, 26 Jul 2014 11:37:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XB41u-0005ap-A5; Sat, 26 Jul 2014 11:37:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, emacs-orgmode@gnu.org Resent-Date: Sat, 26 Jul 2014 15:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18035 X-GNU-PR-Package: emacs,org-mode X-GNU-PR-Keywords: Original-Received: via spool by 18035-submit@debbugs.gnu.org id=B18035.140638896721427 (code B ref 18035); Sat, 26 Jul 2014 15:37:02 +0000 Original-Received: (at 18035) by debbugs.gnu.org; 26 Jul 2014 15:36:07 +0000 Original-Received: from localhost ([127.0.0.1]:39001 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XB411-0005ZX-3b for submit@debbugs.gnu.org; Sat, 26 Jul 2014 11:36:07 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:41317) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XB40y-0005Z2-EY for 18035@debbugs.gnu.org; Sat, 26 Jul 2014 11:36:05 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0N9B00300RZCS200@a-mtaout20.012.net.il> for 18035@debbugs.gnu.org; Sat, 26 Jul 2014 18:35:57 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N9B003W5SNXA890@a-mtaout20.012.net.il>; Sat, 26 Jul 2014 18:35:57 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:91832 Archived-At: > 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.