unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* Trouble fontifying /** ... */
@ 2009-01-25  9:01 Davin Pearson
  0 siblings, 0 replies; only message in thread
From: Davin Pearson @ 2009-01-25  9:01 UTC (permalink / raw)
  To: bug-gnu-emacs

I sent the following email to gnu.emacs.help but received no helpful
reply.

I have invented a new (free GPL) programming language called SJS,
short for Simplified Java Syntax which provides a stepping stone for
learning Java, which makes it easier to learn Java than by learning
Java from scratch.  While writing the major mode sjs-mode, I ran into
a problem highlighting /** ... */ in font-lock-doc-face.

Click below for my Elisp code:

http://h1.ripway.com/davin/sjs.el

To get the desired fontification online, I considered inheriting sjs-
mode from java-mode, but when you uncomment the line that says (java-
mode) it does fontify /** ... */ in font-lock-doc-face but it also
erroneously fontifies the "end" keyword in font-lock-type-face.  This
behaviour is erroneous and I don't want for this to happen.  I read
the documentation for font-lock-add-keywords but nothing I tried
eliminated the fontification of "end".


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-01-25  9:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-25  9:01 Trouble fontifying /** ... */ Davin Pearson

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).