GNU bug report logs -
#49077
26.3; conf-mode for Java properties files uses incorrect comment syntax
Previous Next
Reported by: Spencer Nelson <swnelson <at> uw.edu>
Date: Thu, 17 Jun 2021 19:44:01 UTC
Severity: normal
Tags: moreinfo
Found in version 26.3
Fixed in version 29.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #11 received at 49077 <at> debbugs.gnu.org (full text, mbox):
Spencer Nelson <swnelson <at> uw.edu> writes:
> The documenting comment for conf-javaprop-mode says this:
>
> "Conf Mode starter for Java properties files.
> Comments start with `#' but are also recognized with `//' or
> between `/*' and `*/'.
> For details see `conf-mode'. Example:
>
> # Conf mode font-locks this right with \\[conf-javaprop-mode] (Java properties)
> // another kind of comment
> /* yet another */
>
> But // and /* don't start comments in Java properties files. Java
> properties files just have single-line comments starting with #.
> Somewhat obscurely, comments can also start with !.
I thought this should be easy to fix, but I'm not at all sure where the
font-locking of // and /* */ is coming from. I feel like I've looked at
all the font-lock-* variables, but I can't find anything.
Anybody?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 2 years and 275 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.