From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#33913: 26.1; Optionally not font-lock newline char when `comment-end' = "" Date: 30 Dec 2018 12:33:13 -0000 Organization: muc.de e.V. Message-ID: <20181230123313.60751.qmail@mail.muc.de> References: <8712bcf4-a44a-4336-b398-e59202165fb6@default> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1546173129 14801 195.159.176.226 (30 Dec 2018 12:32:09 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 30 Dec 2018 12:32:09 +0000 (UTC) User-Agent: tin/2.4.2-20171224 ("Lochhead") (UNIX) (FreeBSD/11.2-RELEASE-p4 (amd64)) Cc: 33913@debbugs.gnu.org To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Dec 30 13:32:04 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 1gdaGC-0003ld-I4 for geb-bug-gnu-emacs@m.gmane.org; Sun, 30 Dec 2018 13:32:04 +0100 Original-Received: from localhost ([127.0.0.1]:44117 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gdaIJ-00004u-5t for geb-bug-gnu-emacs@m.gmane.org; Sun, 30 Dec 2018 07:34:15 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:59422) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gdaIB-0008WD-8E for bug-gnu-emacs@gnu.org; Sun, 30 Dec 2018 07:34:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gdaI6-0005UA-Ra for bug-gnu-emacs@gnu.org; Sun, 30 Dec 2018 07:34:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:33583) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gdaI6-0005TE-O6 for bug-gnu-emacs@gnu.org; Sun, 30 Dec 2018 07:34:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gdaI6-0000w1-Gz for bug-gnu-emacs@gnu.org; Sun, 30 Dec 2018 07:34:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 30 Dec 2018 12:34: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.15461731963535 (code B ref 33913); Sun, 30 Dec 2018 12:34:02 +0000 Original-Received: (at 33913) by debbugs.gnu.org; 30 Dec 2018 12:33:16 +0000 Original-Received: from localhost ([127.0.0.1]:41899 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gdaHM-0000ux-AL for submit@debbugs.gnu.org; Sun, 30 Dec 2018 07:33:16 -0500 Original-Received: from colin.muc.de ([193.149.48.1]:36990 helo=mail.muc.de) by debbugs.gnu.org with smtp (Exim 4.84_2) (envelope-from ) id 1gdaHL-0000uo-9t for 33913@debbugs.gnu.org; Sun, 30 Dec 2018 07:33:15 -0500 Original-Received: (qmail 60752 invoked by uid 3782); 30 Dec 2018 12:33:13 -0000 In-Reply-To: X-Newsgroups: gnu.emacs.bug 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:154018 Archived-At: Hello, Drew. In article you wrote: > In article you wrote: >> See https://emacs.stackexchange.com/q/46808/105. >> Please consider letting users easily (e.g. user option) not highlight a >> newline character when it ends a comment, such as in Lisp. > OK, let's consider it. The comment delimiters in Emacs are considered > part of the comment, and fontified with it. In fact, I believe they get > font-lock-comment-delimiter-face. Apologies, I was wrong, here. When the terminator is \n, comment-end is "", not "\n", and things get confused. comment-end is NOT and NEVER WAS the comment terminator. It's merely what gets inserted when you type M-;. I don't think there is a variable which holds the comment terminator; there is merely an entry in the mode's syntax table. The rest of my post was largely speculation, and was also wrong. Please ignore it. [ .... ] >> In GNU Emacs 26.1 (build 1, x86_64-w64-mingw32) >> of 2018-05-30 >> Repository revision: 07f8f9bc5a51f5aa94eb099f3e15fbe0c20ea1ea >> Windowing system distributor `Microsoft Corp.', version 10.0.16299 >> Configured using: >> `configure --without-dbus --host=x86_64-w64-mingw32 >> --without-compress-install 'CFLAGS=-O2 -static -g3'' -- Alan Mackenzie (Nuremberg, Germany).