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#23510: Strange redisplay in global highlighted mode moving the scroll bar Date: Wed, 11 May 2016 12:44:43 +0300 Message-ID: <83lh3hapys.fsf@gnu.org> References: <1959517970.14624161462908686797.JavaMail.httpd@webmail-60.iol.local> <83oa8dau7i.fsf@gnu.org> <8760ul9caj.fsf@gmx.net> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1462959925 15971 80.91.229.3 (11 May 2016 09:45:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 11 May 2016 09:45:25 +0000 (UTC) Cc: 23510@debbugs.gnu.org, angelo.graziosi@libero.it To: Stephen Berman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed May 11 11:45:14 2016 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 1b0Qhd-0001Lo-7t for geb-bug-gnu-emacs@m.gmane.org; Wed, 11 May 2016 11:45:13 +0200 Original-Received: from localhost ([::1]:51285 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b0Qhc-0000x3-J5 for geb-bug-gnu-emacs@m.gmane.org; Wed, 11 May 2016 05:45:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35388) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b0QhY-0000tW-Cv for bug-gnu-emacs@gnu.org; Wed, 11 May 2016 05:45:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b0QhS-0007BS-PB for bug-gnu-emacs@gnu.org; Wed, 11 May 2016 05:45:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34388) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b0QhS-0007BM-MS for bug-gnu-emacs@gnu.org; Wed, 11 May 2016 05:45:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1b0QhS-0000sz-DR for bug-gnu-emacs@gnu.org; Wed, 11 May 2016 05:45:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 11 May 2016 09:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23510 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23510-submit@debbugs.gnu.org id=B23510.14629598903372 (code B ref 23510); Wed, 11 May 2016 09:45:02 +0000 Original-Received: (at 23510) by debbugs.gnu.org; 11 May 2016 09:44:50 +0000 Original-Received: from localhost ([127.0.0.1]:46725 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b0QhG-0000sK-0Z for submit@debbugs.gnu.org; Wed, 11 May 2016 05:44:50 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:44288) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b0QhE-0000s8-AT for 23510@debbugs.gnu.org; Wed, 11 May 2016 05:44:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b0Qh3-00075s-OJ for 23510@debbugs.gnu.org; Wed, 11 May 2016 05:44:43 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:49218) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b0Qh3-00075o-L6; Wed, 11 May 2016 05:44:37 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4914 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1b0Qh2-0000hv-EZ; Wed, 11 May 2016 05:44:37 -0400 In-reply-to: <8760ul9caj.fsf@gmx.net> (message from Stephen Berman on Wed, 11 May 2016 11:25:24 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:118107 Archived-At: > From: Stephen Berman > Cc: "angelo.graziosi\@libero.it" , 23510@debbugs.gnu.org > Date: Wed, 11 May 2016 11:25:24 +0200 > > What you say about the use of pre- and post-command-hook and moving > overlays may well be (perhaps the main) part of the problem here, but I > found out that there's an specific condition inducing it: I noticed that > the flickering only happens when global-hl-line-mode is enabled, but not > when hl-line-mode is enabled, and it turns out that the crucial > difference between them is that in the former, > global-hl-line-sticky-flag is nil by default, while in the latter, > hl-line-sticky-flag is t by default: when I set > global-hl-line-sticky-flag to t and then enable global-hl-line-mode, the > flickering no longer happens, and when I set hl-line-sticky-flag to nil > and then enable hl-line-mode, the flickering does happen. If you can suggest a patch that fixes that and doesn't have any adverse effects, please do.