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#4710: 23.1.50; Bad display of underlines crossing line boundaries Date: Thu, 14 Jul 2016 18:15:17 +0300 Message-ID: <837fco8d4q.fsf@gnu.org> References: <4E75B5FE.1030208@dogan.se> <4515BD8DE6284A249A67403FC1292685@us.oracle.com> <67910CA13BCC481CB3F0E99477C8AC97@us.oracle.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1468510453 21751 80.91.229.3 (14 Jul 2016 15:34:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 14 Jul 2016 15:34:13 +0000 (UTC) Cc: ahyatt@gmail.com, larsi@gnus.org, 4710@debbugs.gnu.org, monnier@iro.umontreal.ca To: Noam Postavsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 14 17:34:05 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 1bNieI-0002cA-Qe for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Jul 2016 17:34:02 +0200 Original-Received: from localhost ([::1]:54891 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bNieH-00028X-TT for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Jul 2016 11:34:01 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53553) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bNiMw-0007EY-FH for bug-gnu-emacs@gnu.org; Thu, 14 Jul 2016 11:16:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bNiMs-0007oZ-OD for bug-gnu-emacs@gnu.org; Thu, 14 Jul 2016 11:16:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:39256) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bNiMs-0007oV-Kh for bug-gnu-emacs@gnu.org; Thu, 14 Jul 2016 11:16:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bNiMs-0003aR-Gp for bug-gnu-emacs@gnu.org; Thu, 14 Jul 2016 11:16: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, 14 Jul 2016 15:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 4710 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 4710-submit@debbugs.gnu.org id=B4710.146850935013766 (code B ref 4710); Thu, 14 Jul 2016 15:16:02 +0000 Original-Received: (at 4710) by debbugs.gnu.org; 14 Jul 2016 15:15:50 +0000 Original-Received: from localhost ([127.0.0.1]:51593 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bNiMc-0003Zv-MW for submit@debbugs.gnu.org; Thu, 14 Jul 2016 11:15:50 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:34249) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bNiMX-0003Ze-Uk for 4710@debbugs.gnu.org; Thu, 14 Jul 2016 11:15:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bNiMO-0007lH-3t for 4710@debbugs.gnu.org; Thu, 14 Jul 2016 11:15:36 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44829) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bNiMO-0007lD-03; Thu, 14 Jul 2016 11:15:32 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1763 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bNiMM-0001PN-Dk; Thu, 14 Jul 2016 11:15:31 -0400 In-reply-to: (message from Noam Postavsky on Thu, 14 Jul 2016 07:45:32 -0400) 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:121073 Archived-At: > From: Noam Postavsky > Date: Thu, 14 Jul 2016 07:45:32 -0400 > Cc: Lars Magne Ingebrigtsen , > Stefan Monnier , 4710@debbugs.gnu.org > > Hmm, seems somewhat related to > http://debbugs.gnu.org/cgi/bugreport.cgi?bug=23574 (that one is about > underline from the end of line to the edge of screen, this one is > about underline from beginning of next line). Perhaps the new > defcustom discussed there > (http://debbugs.gnu.org/cgi/bugreport.cgi?bug=23574#67) should cover > this too? No, it won't. Face extension to the end of line uses a separate mechanism, because it determines the way we draw the part of the screen where there's no text at all. By contrast, the issue in this report is with drawing of characters that are part of buffer text, or are determined by text properties or overlays associated with buffer text. For these, the display engine follows a very simple strategy: it uses the same face until it gets to a buffer position where the face changes, at which point it also finds the next position where the face changes, and stores that position in the iterator object used to traverse the text to be displayed. Rinse, repeat. So disabling that will need a separate solution, at least implementation-wise.