From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#33913: 26.1; Optionally not font-lock newline char when `comment-end' = "" Date: Sun, 30 Dec 2018 20:00:33 +0100 Message-ID: <5C2915D1.7090702@gmx.at> References: <8712bcf4-a44a-4336-b398-e59202165fb6@default> <5C29048F.8050108@gmx.at> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1546196351 18020 195.159.176.226 (30 Dec 2018 18:59:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 30 Dec 2018 18:59:11 +0000 (UTC) To: Drew Adams , 33913@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Dec 30 19:59:07 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gdgIh-0004Tl-NC for geb-bug-gnu-emacs@m.gmane.org; Sun, 30 Dec 2018 19:59:03 +0100 Original-Received: from localhost ([127.0.0.1]:45952 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gdgKo-0005kh-LJ for geb-bug-gnu-emacs@m.gmane.org; Sun, 30 Dec 2018 14:01:14 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:55891) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gdgKg-0005k0-QR for bug-gnu-emacs@gnu.org; Sun, 30 Dec 2018 14:01:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gdgKc-0005bs-O4 for bug-gnu-emacs@gnu.org; Sun, 30 Dec 2018 14:01:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:38622) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gdgKc-0005bF-JQ for bug-gnu-emacs@gnu.org; Sun, 30 Dec 2018 14:01:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gdgKc-0002KY-C7 for bug-gnu-emacs@gnu.org; Sun, 30 Dec 2018 14:01:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 30 Dec 2018 19:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33913 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 33913-submit@debbugs.gnu.org id=B33913.15461964518917 (code B ref 33913); Sun, 30 Dec 2018 19:01:02 +0000 Original-Received: (at 33913) by debbugs.gnu.org; 30 Dec 2018 19:00:51 +0000 Original-Received: from localhost ([127.0.0.1]:42601 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gdgKQ-0002Jj-Lh for submit@debbugs.gnu.org; Sun, 30 Dec 2018 14:00:50 -0500 Original-Received: from mout.gmx.net ([212.227.15.15]:58427) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gdgKM-0002JL-UA for 33913@debbugs.gnu.org; Sun, 30 Dec 2018 14:00:48 -0500 Original-Received: from [192.168.1.101] ([46.125.249.115]) by mail.gmx.com (mrgmx002 [212.227.17.190]) with ESMTPSA (Nemesis) id 0M3AzH-1hW3Up127L-00szkr; Sun, 30 Dec 2018 20:00:36 +0100 In-Reply-To: X-Provags-ID: V03:K1:3Jlx2lkhUPKOEfHuCsOLI1Wjcgkjzg55z1gR6WqKzTKaQxA0NZ2 Z8rpAsUUBfgFbM0jVsdrihkrp5LlQysQhNjjswS8tWUOAp3ro7GeW0/MwITdYgO7aMRqfwp e2VrIi0iiDuQkmZl/0o2YGpgDs8GiZo8INRQDgdmhvNU2tVcZXOeeXYK5Wqs9UdIjuXnD+e ae1XiKCzd5xfgKtYClOyw== X-UI-Out-Filterresults: notjunk:1;V03:K0:ZZatR9H6Du8=:Td9C3MSbJ4SfscA167sezE 1TeMB48MS0bwSav+F7s2Gkbk7qXbDLhKpAOg1fCuvq+0hBCQl/OltSwtwEyjHWHflYXXIOxO4 ZQ+ThZcBQpH6MlSNfAioJlz/FhQQ2s6yqCZb5qYW+ueskP3PilH1vR7O2Z8IMKwjgNirYLE6T LhFvWOgKcv5OBfuKKHyY9ty9x6DiiRaKiYzn5dPjv+jz3qkOFBQWQcJMWU60y1IhCWg8jU0wy ZRc7OuQxSAYnR/gmVHwwbtqlMBvP4WBWDXGXC5CS2XJ411s3cr379YqCYhdcupcnJrwoOFPUA qHADs6mrAT3xc1ztvAsjzJvKsJkcjNooJkBlv6dOi9vemikfi7Sba5mIOPxB5/0+p4FZwb0Db GD6m0fXByBibqKHThyCmI1XUoP37yXa/Chz3ePb4Mh3eG1Mc3X/kWZ6jlvrFq+gvHSYZsbEvf XIqaB61gM5bBSU2DrQKrgLycoHntld6MV2/B1twicc4wWgo5SSiGZ6Y8aWH7MMzlewh0IXODY 94MmlHY3eXtA6WK23c1dKIY/BHcUWUz15wlqm1UGM6RO8w8ZQaaLK3KDA+qF7C25uMkTmd8js LhLDchx+TviWmPQsz7LhiDPV+aruXwO5qV3uKGV1wLvH59Zku1dWbmgj2YPIOVyOMvj4aJvpc zlAwkRN4s29MDuSuZrQNRe/lymhAX35o/cBFXZlphd2UkxdlK0kmHAVT5RY3DQ44aOT6bZOJA 8M86FcrXCMdIhlezCmt5X6NLwnG013487MMaCUzvlz7glzRqDtgrzUUESaMbVh74bu5jGRnj 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:154033 Archived-At: > Maybe you could fix that up to become a > general replacement, to fix this bug (only)? No. It's a hack to use fontification for that purpose. > But I do think a user option might be good, > or even a non-option variable. This problem should be solved with the help of a new :no-extend-to-eol face attribute. Whenever set - typically in 'font-lock-comment-face', 'font-lock-doc-face' and 'font-lock-string-face' - the display engine would show the default background on the rest of the line. The idea sounds deceptively simple but I never got around coding it. > I doubt that such an incompatible change (to > the default) would be accepted immediately. > But a fix for the bug might be. If it's made a face property, users are free to customize it at their will. But I obviously wouldn't oppose an :extend-to-eol attribute. martin