bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#24767: jgraph comments not recognized any more


From: Alan Mackenzie
Subject: bug#24767: jgraph comments not recognized any more
Date: Sun, 23 Oct 2016 15:34:09 +0000
User-agent: Mutt/1.5.24 (2015-08-30)

Hello, Eli.

On Sun, Oct 23, 2016 at 09:17:19AM +0300, Eli Zaretskii wrote:
> > From: Stefan Monnier <monnier@iro.umontreal.ca>
> > Date: Sat, 22 Oct 2016 17:24:01 -0400
> > 
> >     % 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.

> I suspect 9dcf599.  Alan, could you please take a look?

Yes, 9dcf599 is indeed where the bug was introduced.  I'll be looking at
it.

> Stefan, I think it would be good to have a test for this in the test
> suite, even if for now it will fail.

> Thanks.

-- 
Alan Mackenzie (Nuremberg, Germany).





reply via email to

[Prev in Thread] Current Thread [Next in Thread]