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#21500: 24.5; Graphical glitch with display property lines in GUI Emacs Date: Thu, 17 Sep 2015 07:57:39 +0300 Message-ID: <837fnp7id8.fsf@gnu.org> References: <83a8sm6s3b.fsf@gnu.org> <20150916203402.GA3145@odonien.fritz.box> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1442465922 6400 80.91.229.3 (17 Sep 2015 04:58:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 17 Sep 2015 04:58:42 +0000 (UTC) Cc: 21500@debbugs.gnu.org To: Vasilij Schneidermann Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Sep 17 06:58:32 2015 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 1ZcRHE-0000gp-2P for geb-bug-gnu-emacs@m.gmane.org; Thu, 17 Sep 2015 06:58:32 +0200 Original-Received: from localhost ([::1]:55953 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZcRHD-0003bN-Hk for geb-bug-gnu-emacs@m.gmane.org; Thu, 17 Sep 2015 00:58:31 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59157) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZcRH4-0003am-Og for bug-gnu-emacs@gnu.org; Thu, 17 Sep 2015 00:58:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZcRGk-0003sN-IR for bug-gnu-emacs@gnu.org; Thu, 17 Sep 2015 00:58:22 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:43422) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZcRGk-0003s4-4f for bug-gnu-emacs@gnu.org; Thu, 17 Sep 2015 00:58:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZcRGk-0008GW-0F for bug-gnu-emacs@gnu.org; Thu, 17 Sep 2015 00:58: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: Thu, 17 Sep 2015 04:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21500 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21500-submit@debbugs.gnu.org id=B21500.144246586231745 (code B ref 21500); Thu, 17 Sep 2015 04:58:01 +0000 Original-Received: (at 21500) by debbugs.gnu.org; 17 Sep 2015 04:57:42 +0000 Original-Received: from localhost ([127.0.0.1]:35632 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZcRGQ-0008Fw-Ca for submit@debbugs.gnu.org; Thu, 17 Sep 2015 00:57:42 -0400 Original-Received: from mtaout28.012.net.il ([80.179.55.184]:44009) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZcRGN-0008Fl-3Z for 21500@debbugs.gnu.org; Thu, 17 Sep 2015 00:57:40 -0400 Original-Received: from conversion-daemon.mtaout28.012.net.il by mtaout28.012.net.il (HyperSendmail v2007.08) id <0NUT00B001L4XI00@mtaout28.012.net.il> for 21500@debbugs.gnu.org; Thu, 17 Sep 2015 07:57:20 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by mtaout28.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NUT00C6D1RKJ300@mtaout28.012.net.il>; Thu, 17 Sep 2015 07:57:20 +0300 (IDT) In-reply-to: <20150916203402.GA3145@odonien.fritz.box> 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: 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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:106674 Archived-At: [Please don't remove the bug address from the CC list. We want this discussion to be recorded by the bug tracker.] > Date: Wed, 16 Sep 2015 22:34:02 +0200 > From: Vasilij Schneidermann > > > What did you expect to see instead, and why? > I did expect to always see a visible line, even with point on that space > character. What happens instead is that by putting point on it its face > is used in reverse-video, but only for the actual width of the space > character, not its declared one. That's the default Emacs implementation of cursor display on GUI frames: we erase the character at point, then draw that character again with cursor colors (normally, in reverse video). For "white-space" characters, such as TAB and the stretch of white space created by the 'space' display property, Emacs by default draws the cursor using the width of the font's SPC character. And that's exactly what you saw. > > If you set x-stretch-cursor to a non-nil value in the GUI session, > > does the result explain what happens? > Sort of, with it turned on the reverse-video effect goes over the > declared width of the space character. Isn't that what you originally expected to see? > I was wondering whether one could ensure Emacs always renders a face in > a readable way if it is turned practically invisible. I don't understand: how does "invisible" come into play here? Are you talking about faces whose foreground and background are the same color? > In fact, isn't the `:distant-foreground` property there for a > similiar reason? Yes. But the face needs to have that as part of its definition. Anyway, I see no relation between what you were wondering about and the effect of cursor display that I believe was the trigger for this bug report. If you have questions about face rendering, I suggest to ask them on emacs-devel. Can we now close the bug?