From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#24767: jgraph comments not recognized any more Date: Sat, 22 Oct 2016 17:24:01 -0400 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1477172690 29457 195.159.176.226 (22 Oct 2016 21:44:50 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 22 Oct 2016 21:44:50 +0000 (UTC) To: 24767@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Oct 22 23:44:46 2016 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 1by45k-000602-2A for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 Oct 2016 23:44:36 +0200 Original-Received: from localhost ([::1]:38878 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1by45m-0003eE-6o for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 Oct 2016 17:44:38 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42562) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1by3mr-0004JI-GD for bug-gnu-emacs@gnu.org; Sat, 22 Oct 2016 17:25:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1by3mo-0006fv-B9 for bug-gnu-emacs@gnu.org; Sat, 22 Oct 2016 17:25:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:59473) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1by3mo-0006fp-7b for bug-gnu-emacs@gnu.org; Sat, 22 Oct 2016 17:25:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1by3mn-0002Ag-VS for bug-gnu-emacs@gnu.org; Sat, 22 Oct 2016 17:25:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 22 Oct 2016 21:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 24767 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.14771714588286 (code B ref -1); Sat, 22 Oct 2016 21:25:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 22 Oct 2016 21:24:18 +0000 Original-Received: from localhost ([127.0.0.1]:46639 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1by3m5-00029Z-Q3 for submit@debbugs.gnu.org; Sat, 22 Oct 2016 17:24:18 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51482) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1by3m3-00029J-PR for submit@debbugs.gnu.org; Sat, 22 Oct 2016 17:24:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1by3ly-0006AQ-19 for submit@debbugs.gnu.org; Sat, 22 Oct 2016 17:24:10 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:54553) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1by3lx-0006AK-Tx for submit@debbugs.gnu.org; Sat, 22 Oct 2016 17:24:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42453) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1by3lw-0003Wm-TV for bug-gnu-emacs@gnu.org; Sat, 22 Oct 2016 17:24:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1by3lt-00068J-PB for bug-gnu-emacs@gnu.org; Sat, 22 Oct 2016 17:24:08 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:57819) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1by3lt-00067p-LJ for bug-gnu-emacs@gnu.org; Sat, 22 Oct 2016 17:24:05 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0DGBAALW9BX/1DcbkFdHAESAQUBgxsBAQEBAR6BDINBpA4BkTeCAxSGAgSBbTkUAQIBAQEBAQEBXieFPl8TIQEcDRiIaaBPnDeQCYUQBZlZkRWHeIYLkEseNoIZAQuCRyCGCgEBAQ X-IPAS-Result: A0DGBAALW9BX/1DcbkFdHAESAQUBgxsBAQEBAR6BDINBpA4BkTeCAxSGAgSBbTkUAQIBAQEBAQEBXieFPl8TIQEcDRiIaaBPnDeQCYUQBZlZkRWHeIYLkEseNoIZAQuCRyCGCgEBAQ X-IronPort-AV: E=Sophos;i="5.30,296,1470715200"; d="scan'208";a="276790117" Original-Received: from 65-110-220-80.cpe.pppoe.ca (HELO pastel.home) ([65.110.220.80]) by smtp.teksavvy.com with ESMTP; 22 Oct 2016 17:24:01 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id BA3DD615BE; Sat, 22 Oct 2016 17:24:01 -0400 (EDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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:124858 Archived-At: Package: Emacs Try the following: % emacs -Q -l .../elpa/packages/jgraph-mode/jgraph-mode.el ~/foo.jgr (* hello *) The string "(* hello *)" should be highlighted as a comment, and is indeed correctly highlighted this way in Emacs-25 (and Emacs-24), but not in "master". The particularity of jgraph-mode's handling of (*...*) is that ?(, ?), and ?* are given "symbol" syntax, so I guess that src/syntax.c was modified in a way which makes it skip the whole (* as being a symbol. Stefan