From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#23574: 24.5; Overzealous underlining in emacs-nox Date: Mon, 06 Jun 2016 18:54:38 +0200 Message-ID: <5755AACE.8030303@gmx.at> 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> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1465232504 8435 80.91.229.3 (6 Jun 2016 17:01:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 6 Jun 2016 17:01:44 +0000 (UTC) Cc: 23574@debbugs.gnu.org, john.b.mastro@gmail.com, cwoodbury@azavea.com To: Eli Zaretskii , Noam Postavsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jun 06 19:01:32 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 1b9xu7-0006JB-GU for geb-bug-gnu-emacs@m.gmane.org; Mon, 06 Jun 2016 19:01:31 +0200 Original-Received: from localhost ([::1]:43923 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b9xu6-0001LB-Li for geb-bug-gnu-emacs@m.gmane.org; Mon, 06 Jun 2016 13:01:30 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53518) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b9xos-0005MA-0Z for bug-gnu-emacs@gnu.org; Mon, 06 Jun 2016 12:56:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b9xoo-0008Gm-RK for bug-gnu-emacs@gnu.org; Mon, 06 Jun 2016 12:56:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:44631) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b9xoo-0008Gb-OW for bug-gnu-emacs@gnu.org; Mon, 06 Jun 2016 12:56:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1b9xoo-0002g9-AX for bug-gnu-emacs@gnu.org; Mon, 06 Jun 2016 12:56:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 06 Jun 2016 16:56: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.146523211210240 (code B ref 23574); Mon, 06 Jun 2016 16:56:02 +0000 Original-Received: (at 23574) by debbugs.gnu.org; 6 Jun 2016 16:55:12 +0000 Original-Received: from localhost ([127.0.0.1]:56968 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b9xnz-0002f6-RC for submit@debbugs.gnu.org; Mon, 06 Jun 2016 12:55:12 -0400 Original-Received: from mout.gmx.net ([212.227.15.19]:65289) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b9xny-0002es-OQ for 23574@debbugs.gnu.org; Mon, 06 Jun 2016 12:55:11 -0400 Original-Received: from [192.168.1.100] ([212.95.7.21]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0MDymt-1bFiQp3xQV-00HPO6; Mon, 06 Jun 2016 18:54:49 +0200 In-Reply-To: <83h9d6tl3j.fsf@gnu.org> X-Provags-ID: V03:K0:AvxGRgta28484ynJfZKp03uRHh9+60K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There: 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:119163 Archived-At: > Going back to the bug report, there's still one issue to consider: > should we add underline (and then also overline and strikethrough) to > the list of face attributes that cause face extension on GUI frames. > The logic behind the current code seems to be to extend attributes > that are related to background of the text. The above 3 seem to be a > kind-of background, so maybe we should add them. It would make my life much easier if face extension were, in general, customizable. I would immediately turn it off everywhere. My motivation is that I have font-lock distinguish things like comments and strings mainly by their background face. Since these look awful when extending to the end of a window, I have to provide my own =E2=80=98font-lock-fontify-syntactically-region=E2=80=99 function which a= ssures that newline characters within strings and comments never get the corresponding face. This consumes resources and, for example, disallows using text properties to skip the rest of a comment or a string. It goes without saying, that my version of this function is never in synch with the one of the repository. I also use separate background colors for editable fields, buttons, links and the like which also look awful when spanning two or more lines. No font-locking can help me here. martin