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#13011: 24.2; Text flickering moving cursor with box around text enabled Date: Wed, 28 Nov 2012 19:54:23 +0200 Message-ID: <83a9u1wr3k.fsf@gnu.org> References: <793025287.20121127114224@virgilio.it> <838v9nx7q1.fsf@gnu.org> <1205106717.20121128161453@virgilio.it> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1354125376 10517 80.91.229.3 (28 Nov 2012 17:56:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 28 Nov 2012 17:56:16 +0000 (UTC) Cc: 13011@debbugs.gnu.org To: mario giovinazzo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Nov 28 18:56:27 2012 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 1Tdls3-0001aH-3L for geb-bug-gnu-emacs@m.gmane.org; Wed, 28 Nov 2012 18:56:27 +0100 Original-Received: from localhost ([::1]:58212 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tdlrr-0005ux-RL for geb-bug-gnu-emacs@m.gmane.org; Wed, 28 Nov 2012 12:56:15 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:58744) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tdlrk-0005rj-PX for bug-gnu-emacs@gnu.org; Wed, 28 Nov 2012 12:56:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tdlrj-000479-Ih for bug-gnu-emacs@gnu.org; Wed, 28 Nov 2012 12:56:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33718) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tdlrj-000475-FF for bug-gnu-emacs@gnu.org; Wed, 28 Nov 2012 12:56:07 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Tdlta-00032D-6x for bug-gnu-emacs@gnu.org; Wed, 28 Nov 2012 12:58:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 28 Nov 2012 17:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13011 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13011-submit@debbugs.gnu.org id=B13011.135412546711626 (code B ref 13011); Wed, 28 Nov 2012 17:58:02 +0000 Original-Received: (at 13011) by debbugs.gnu.org; 28 Nov 2012 17:57:47 +0000 Original-Received: from localhost ([127.0.0.1]:43958 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TdltJ-00031S-GT for submit@debbugs.gnu.org; Wed, 28 Nov 2012 12:57:46 -0500 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:39134) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TdltF-00031H-7D for 13011@debbugs.gnu.org; Wed, 28 Nov 2012 12:57:44 -0500 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0ME700600LM9SZ00@a-mtaout21.012.net.il> for 13011@debbugs.gnu.org; Wed, 28 Nov 2012 19:54:05 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0ME7006K4LQ5OE40@a-mtaout21.012.net.il>; Wed, 28 Nov 2012 19:54:05 +0200 (IST) In-reply-to: <1205106717.20121128161453@virgilio.it> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.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:67566 Archived-At: [Please keep the bug address on the CC list.] > Date: Wed, 28 Nov 2012 16:14:53 +0100 > From: mario giovinazzo > > To reproduce the behavior is very easy. > My .emacs file contains only this 2 lines: > > > (custom-set-variables '(global-hl-line-mode t)) > (custom-set-faces '(hl-line ((t (:box (:line-width 1 :color "gray50")))))) Thanks. > If you open any text file and move the cursor inside text with arrow key > (up, down, right, left), the" box around text" follow the cursor, > and the text flickers (I suppose +- 2 pixels). It is evident. I see no flickering when moving cursor horizontally within the same screen line. None at all. When moving cursor vertically, I see this: . The text of the current line moves slightly up when the current line moves up or down. . When the current line is empty, the text in all the lines below it moves up slightly, then moves back down when the current lines becomes a line with some text. Is this what you call "flicker"? Or do you see something else? If the above is what you see, then please tell what you expect Emacs to do instead. You've changed the face of the current line such that it takes slightly more pixels on the screen. Emacs just obeys your specifications, it cannot display a line in less pixels than it needs to draw all of the characters on it in the face you requested. The same would happen if you set the hl-line face to use a larger font, for example.