From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#33913: 26.1; Optionally not font-lock newline char when `comment-end' = "" Date: Sun, 30 Dec 2018 10:23:06 -0800 (PST) Message-ID: 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 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1546194128 14769 195.159.176.226 (30 Dec 2018 18:22:08 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 30 Dec 2018 18:22:08 +0000 (UTC) To: martin rudalics , 33913@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Dec 30 19:22:03 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from listsout.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gdfis-0003hp-P2 for geb-bug-gnu-emacs@m.gmane.org; Sun, 30 Dec 2018 19:22:02 +0100 Original-Received: from localhost ([127.0.0.1]:45849 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gdfkz-0008G5-Ay for geb-bug-gnu-emacs@m.gmane.org; Sun, 30 Dec 2018 13:24:13 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:47640) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gdfks-0008Fj-Q3 for bug-gnu-emacs@gnu.org; Sun, 30 Dec 2018 13:24:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gdfko-0007kT-Rc for bug-gnu-emacs@gnu.org; Sun, 30 Dec 2018 13:24:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34967) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gdfko-0007ju-Mu for bug-gnu-emacs@gnu.org; Sun, 30 Dec 2018 13:24:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gdfko-0001Fi-El for bug-gnu-emacs@gnu.org; Sun, 30 Dec 2018 13:24:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 30 Dec 2018 18:24: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.15461941954758 (code B ref 33913); Sun, 30 Dec 2018 18:24:02 +0000 Original-Received: (at 33913) by debbugs.gnu.org; 30 Dec 2018 18:23:15 +0000 Original-Received: from localhost ([127.0.0.1]:42580 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gdfk3-0001Ef-Kg for submit@debbugs.gnu.org; Sun, 30 Dec 2018 13:23:15 -0500 Original-Received: from userp2130.oracle.com ([156.151.31.86]:43004) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gdfk2-0001EQ-7u for 33913@debbugs.gnu.org; Sun, 30 Dec 2018 13:23:14 -0500 Original-Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id wBUIK1N7015711; Sun, 30 Dec 2018 18:23:08 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2018-07-02; bh=OjsVuGS3jVEDtEWFoqDFdgTlI64ZbZlce/d0DFIo4ng=; b=WWKsoH3pQEE/nM1iZi3HzNoM8KC4BZUjrD36B1lRPA7GcM9EzPzQ/dt4XqlfNMeLs4aY ZgAViaRkgz3Op/pKQNLkC5+bcdoD20UqBb6NWBHUg2IZnflfPbCEqX0OSx8c3muO59Er 2eIxlYwGuRduS7nCdLl9FU6nMWBGWji/nEbfSGq+Np+msrAJ82gYWyq6G1UZ0pWvXWmC ddjdNmZHpfovbBADVQxEEDcwNOduGix9vLe6vft3lJPBgfqjUnkAqavwZSgAJ43ivsv5 2rDflQwFChO+olagIiMbxO7l8ZohL8z5L+zzwk4l7+JpdyifR8b8xlY+8OXjMXrSez1R wg== Original-Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by userp2130.oracle.com with ESMTP id 2pp0btjs09-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 30 Dec 2018 18:23:08 +0000 Original-Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id wBUIN7i9008902 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 30 Dec 2018 18:23:07 GMT Original-Received: from abhmp0008.oracle.com (abhmp0008.oracle.com [141.146.116.14]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id wBUIN6dV021009; Sun, 30 Dec 2018 18:23:06 GMT In-Reply-To: <5C29048F.8050108@gmx.at> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4783.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9122 signatures=668680 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=591 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1812300168 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:154029 Archived-At: > > Please consider letting users easily (e.g. user option) not highlight = a > > newline character when it ends a comment, such as in Lisp. > > > > The effect should be to highlight only the chars of the line, starting > > with `comment-start', up to but not including the newline char. >=20 > For my private solution to this problem look at the attached file. Maybe you could fix that up to become a general replacement, to fix this bug (only)? But I do think a user option might be good, or even a non-option variable. > > (I never would have noticed how annoying the default behavior is if > > I hadn't tried putting a background color on comments, as the OP > > did. I don't even think it should be the default behavior to > > highlight the newline char.) >=20 > Fully agreed. I doubt that such an incompatible change (to the default) would be accepted immediately. But a fix for the bug might be.