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#23574: 24.5; Overzealous underlining in emacs-nox Date: Thu, 09 Jun 2016 15:26:04 +0300 Message-ID: <83bn3ar1k3.fsf@gnu.org> References: <83porxwg1f.fsf@gnu.org> <83d1nxudrb.fsf@gnu.org> <83wpm3tyvn.fsf@gnu.org> <83twh7tt83.fsf@gnu.org> <83r3cbt5l3.fsf@gnu.org> <83h9d6tl3j.fsf@gnu.org> <5755AACE.8030303@gmx.at> <831t4ataep.fsf@gnu.org> <57568F86.8040902@gmx.at> <83eg89roam.fsf@gnu.org> <5757BC3A.5070402@gmx.at> <83lh2fr4pt.fsf@gnu.org> <57592B18.2030808@gmx.at> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1465475193 24834 80.91.229.3 (9 Jun 2016 12:26:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 9 Jun 2016 12:26:33 +0000 (UTC) Cc: 23574@debbugs.gnu.org, john.b.mastro@gmail.com, cwoodbury@azavea.com, npostavs@users.sourceforge.net To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jun 09 14:26:22 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 1bAz2T-00032m-EM for geb-bug-gnu-emacs@m.gmane.org; Thu, 09 Jun 2016 14:26:21 +0200 Original-Received: from localhost ([::1]:34318 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bAz2N-00053d-G5 for geb-bug-gnu-emacs@m.gmane.org; Thu, 09 Jun 2016 08:26:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34448) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bAz2G-00053X-6R for bug-gnu-emacs@gnu.org; Thu, 09 Jun 2016 08:26:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bAz2A-0007oK-Es for bug-gnu-emacs@gnu.org; Thu, 09 Jun 2016 08:26:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49306) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bAz2A-0007oE-Ba for bug-gnu-emacs@gnu.org; Thu, 09 Jun 2016 08:26:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bAz2A-0001Uv-7i for bug-gnu-emacs@gnu.org; Thu, 09 Jun 2016 08:26: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, 09 Jun 2016 12:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23574 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Original-Received: via spool by 23574-submit@debbugs.gnu.org id=B23574.14654751415729 (code B ref 23574); Thu, 09 Jun 2016 12:26:02 +0000 Original-Received: (at 23574) by debbugs.gnu.org; 9 Jun 2016 12:25:41 +0000 Original-Received: from localhost ([127.0.0.1]:33410 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bAz1o-0001UL-V3 for submit@debbugs.gnu.org; Thu, 09 Jun 2016 08:25:41 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:43384) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bAz1m-0001U7-Oy for 23574@debbugs.gnu.org; Thu, 09 Jun 2016 08:25:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bAz1g-0007lM-JO for 23574@debbugs.gnu.org; Thu, 09 Jun 2016 08:25:33 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:34961) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bAz1a-0007kn-HC; Thu, 09 Jun 2016 08:25:26 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2831 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bAz1Y-0004Ty-6s; Thu, 09 Jun 2016 08:25:24 -0400 In-reply-to: <57592B18.2030808@gmx.at> (message from martin rudalics on Thu, 09 Jun 2016 10:38:48 +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:119327 Archived-At: > Date: Thu, 09 Jun 2016 10:38:48 +0200 > From: martin rudalics > CC: npostavs@users.sourceforge.net, 23574@debbugs.gnu.org, > john.b.mastro@gmail.com, cwoodbury@azavea.com > > > No, it need not do any of that. The list is fixed for each redisplay > > cycle of each buffer, so the list can be processed only once into a > > bitmap of flags that tell which face attributes trigger face > > extension. Then all redisplay needs to do is compare the attributes > > of the face loaded into the iterator object at end of each line with > > these flags. > > OK. But with my property list approach a once calculated bitmap would > have simply overridden the face of the iterator object. Your suggestion included a function, which could well return different values on each call. And creating new faces from arbitrary sets of attributes is no fun, either. > Suppose a user wants to use the same background for all spaces at the > ends of all lines of a buffer regardless of "the last face used on the > line". How would she specify that? By putting the proper face property on the newline.