I vote for (comment ...) being highlighted like normal, except with some
modification, such as italicized, smaller font, tinged towards gray or
tinted some other way, or something, so you can immediately see that it's
not the same as a nearby defn.
On Tue, Sep 3, 2013 at 3:17 PM, Jozef Wagner w
This is the convention I would like to see in an ideal clojure highlighter
theme:
;; comments are highlighted so that they stand out. Comments are meant to
be read, not forgotten.
(comment ) form is for example code, so it is highlighted as a normal
clojure code
#_ is used for disabling parts
On Wednesday, August 28, 2013 7:06:45 PM UTC-7, Joel Holdbrooks wrote:
> It might be a bit involved to have *#_* and the subsequent form appear
commented
> through clojure-mode's syntax highlighting. However, it would also
incorrectly express
> the semantics of *#_* which, arguably, is counter to
Definitely. I would agree a choice would be nice or even another font-lock
group. There have been times where I forgot about a #_ somewhere in my code
and spent a moment in confusion. Highlighting definitely would have been
valuable. It would be cool if code following #_ were semi-transparent or
so
2013/8/29 Joel Holdbrooks :
> I would imagine it is intended since #_ is a reader macro. #_ is not
> intended for commenting. Rather, it instructs the Clojure Reader to ignore
> entirely the subsequent form. This is much different from the comment macro
> (which simply takes any number of arguments
I would imagine it is intended since *#_* is a reader macro. *#_* is not
intended for commenting. Rather, it instructs the Clojure Reader to ignore
entirely the subsequent form. This is much different from the *comment*macro
(which simply takes any number of arguments and returns nil) or the
*;
On Wednesday, August 28, 2013 6:09:11 PM UTC-4, JvJ wrote:
>
> Although semicolons cause the text color to change in order to look
> "commented-out", the #_ reader macro doesn't cause any such change. Is
> this intended, or is it a bug?
>
I see this as well with the version of clojure-mode I've