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 of code, so the disabled form has grayed color and is strikedthrough-ed. JW On Tuesday, September 3, 2013 9:03:07 PM UTC+2, Phil Hagelberg wrote: > > 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 the goal of syntax > highlighting. > > I don't think there's one right answer here. Using semicolons for > comments is clearer since those are free-form comments which ignore > structure, but both #_ and (comment ...) take structure into account, and > thus need to be at least syntactically valid forms. For instance, (comment > ...) is usually used for example code in which case you want it to be > highlighted like normal code. If there were a way to indicate commentedness > without sacrificing this it might make sense, but I'm not sure what that > would look like. > > -Phil > -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.