bug-gnulib
[Top][All Lists]
Advanced

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

Doubled word check annoying in languages without statement separators


From: Reuben Thomas
Subject: Doubled word check annoying in languages without statement separators
Date: Mon, 2 May 2011 23:36:30 +0100

It's all over my Lua. Really, it should only be checking the comments.
Since most programs that know (roughly) what comments are seem to be
either compilers, code line counters or syntax colorers, I'm not sure
what accurate-ish tool one could use for this, but it seems a pity
either to turn off this check by default, or on the other hand to emit
false positives for Python, Lua &c. programs.

I could imagine getting Emacs to provide only comments by loading a
file and then scanning its text properties (at least for modes that
use a standard face, like comment-face). I'm not sure whether that's
ingenious or heinous.

-- 
http://rrt.sc3d.org



reply via email to

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