From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Regarding Emacs, js.el, template-strings and syntax-tables Date: Thu, 24 Aug 2017 10:22:39 -0400 Message-ID: References: <1503557767.41308.1083341824.4A2103C1@webmail.messagingengine.com> 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 1503584587 28657 195.159.176.226 (24 Aug 2017 14:23:07 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 24 Aug 2017 14:23:07 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: emacs-devel To: Anders Lindgren Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 24 16:23:00 2017 Return-path: Envelope-to: ged-emacs-devel@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 1dkt1x-0006V5-0R for ged-emacs-devel@m.gmane.org; Thu, 24 Aug 2017 16:22:45 +0200 Original-Received: from localhost ([::1]:48832 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dkt23-0000X4-MS for ged-emacs-devel@m.gmane.org; Thu, 24 Aug 2017 10:22:51 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54693) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dkt1v-0000Wy-T5 for emacs-devel@gnu.org; Thu, 24 Aug 2017 10:22:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dkt1s-00070X-Kd for emacs-devel@gnu.org; Thu, 24 Aug 2017 10:22:43 -0400 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:45028) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dkt1s-00070M-Ew for emacs-devel@gnu.org; Thu, 24 Aug 2017 10:22:40 -0400 Original-Received: from lechazo.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id v7OEMdqH019093; Thu, 24 Aug 2017 10:22:39 -0400 Original-Received: by lechazo.home (Postfix, from userid 20848) id 53C5563E90; Thu, 24 Aug 2017 10:22:39 -0400 (EDT) In-Reply-To: (Anders Lindgren's message of "Thu, 24 Aug 2017 14:31:22 +0200") X-NAI-Spam-Flag: NO X-NAI-Spam-Level: X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0.1 X-NAI-Spam-Rules: 3 Rules triggered TRK_NCM1=0.1, EDT_SA_DN_PASS=0, RV6101=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6101> : inlines <6037> : streams <1759987> : uri <2489068> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.22 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:217765 Archived-At: > A side note: I've started to make an inventory of syntax highlighting in > various modes in Emacs, as part of a font-lock regression test suite I've > accumulated over the years. The suite and the inventory is far from > complete, but it might be worth looking into: > https://github.com/Lindydancer/font-lock-regression-suite/blob/master/doc= /CommentsOnMajorModes.org > One mode that stands out in this respect is "bat" mode, it handles "%alph= a" > but not "%alpha_beta", and doesn't support the construct in strings at al= l. Which version of bat-mode did you test? Same question for some of the comments in the above web-page. E.g. you say "Strings containing =E2=80=9C<<=E2=80=9D are treated as heredoc comment= s", but AFAIK this should only happen in fairly old versions of Emacs. I also see a reference to "bell_206.ps" but I can't find this file. Stefan