Re: Emacs Clojure mode : No syntax highlighting for #_

2013-09-03 Thread Cedric Greevey
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

Re: Emacs Clojure mode : No syntax highlighting for #_

2013-09-03 Thread Jozef Wagner
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

Re: Emacs Clojure mode : No syntax highlighting for #_

2013-09-03 Thread Phil Hagelberg
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

Re: Emacs Clojure mode : No syntax highlighting for #_

2013-08-29 Thread Joel Holdbrooks
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

Re: Emacs Clojure mode : No syntax highlighting for #_

2013-08-29 Thread Laurent PETIT
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

Re: Emacs Clojure mode : No syntax highlighting for #_

2013-08-28 Thread 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 and returns nil) or the *;

Re: Emacs Clojure mode : No syntax highlighting for #_

2013-08-28 Thread John Gabriele
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