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: Mon, 03 Dec 2012 20:08:35 +0200 Message-ID: <83624jrot8.fsf@gnu.org> References: <87mwxvlc0h.fsf@gnu.org> <83ip8jrt7p.fsf@gnu.org> <562186ED35E84B3086ABFBDAB2F056FD@us.oracle.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1354558194 28316 80.91.229.3 (3 Dec 2012 18:09:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 3 Dec 2012 18:09:54 +0000 (UTC) Cc: 13011@debbugs.gnu.org, mario.giovinazzo@virgilio.it To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Dec 03 19:10:04 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 1TfaSr-00049s-Ho for geb-bug-gnu-emacs@m.gmane.org; Mon, 03 Dec 2012 19:09:57 +0100 Original-Received: from localhost ([::1]:42001 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TfaSf-000660-QK for geb-bug-gnu-emacs@m.gmane.org; Mon, 03 Dec 2012 13:09:45 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:40512) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TfaSd-00065h-3a for bug-gnu-emacs@gnu.org; Mon, 03 Dec 2012 13:09:44 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TfaSZ-0000kU-5j for bug-gnu-emacs@gnu.org; Mon, 03 Dec 2012 13:09:43 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41493) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TfaSZ-0000kA-29 for bug-gnu-emacs@gnu.org; Mon, 03 Dec 2012 13:09:39 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TfaUs-0005XT-Ah for bug-gnu-emacs@gnu.org; Mon, 03 Dec 2012 13:12: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: Mon, 03 Dec 2012 18:12: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.135455827021227 (code B ref 13011); Mon, 03 Dec 2012 18:12:02 +0000 Original-Received: (at 13011) by debbugs.gnu.org; 3 Dec 2012 18:11:10 +0000 Original-Received: from localhost ([127.0.0.1]:51744 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TfaU2-0005WJ-5f for submit@debbugs.gnu.org; Mon, 03 Dec 2012 13:11:10 -0500 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:58638) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TfaTz-0005WB-6J for 13011@debbugs.gnu.org; Mon, 03 Dec 2012 13:11:08 -0500 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MEG00I00UEGDL00@a-mtaout20.012.net.il> for 13011@debbugs.gnu.org; Mon, 03 Dec 2012 20:08:41 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MEG00I3EVQG0S60@a-mtaout20.012.net.il>; Mon, 03 Dec 2012 20:08:41 +0200 (IST) In-reply-to: <562186ED35E84B3086ABFBDAB2F056FD@us.oracle.com> 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:67858 Archived-At: > From: "Drew Adams" > Cc: , <13011@debbugs.gnu.org> > Date: Mon, 3 Dec 2012 08:44:39 -0800 > > > So does anyone object to lifting this limitation, even though it might > > degrade the quality of displaying the first and the last characters in > > the run of characters that have the box face? > > It's not obvious to me what that means for users. Why don't you post before and > after images so we can judge? The examples I have don't show any significant effect. But I can explain how you can experiment and see yourself. Evaluate this: (custom-set-variables '(global-hl-line-mode t)) (custom-set-faces '(hl-line ((t (:box (:line-width -1 :color "gray50")))))) Then visit any files you like, and move cursor vertically. You will see that the text of the current line moves 1 pixel to the right when you move cursor into that line. This 1-pixel move is to leave enough space for the 1-pixel border of the box on the left side of the line, so that the first character is displayed with all its pixels visible. The change that is being requested here is to prevent that 1-pixel shift, which means the box border will be drawn ON the left-most character, obscuring some of its pixels on the left. For a more prominent effect, replace -1 above with -4. > And what is the tradeoff for this "degrading"? What are users gaining by this > sacrifice? The gain is that, with the above settings in effect, the text of a line will not shift to the left when cursor moves into that line.