Fork me on GitHub
#emacs
<
2019-07-25
>
yuhan01:07:53

Yeah, I thought the current implementation didn't make sense, with a variable clojure-comment-regexp treating #_ and comment in the same manner

yuhan01:07:55

To me at least they're semantically very different, I often have "rich comment forms" that extend longer than a page height and it can be easy to lose track of whether some point in the buffer is within a comment.

yuhan01:07:29

With the line-prefix font locking in the picture it makes it so much clearer at a glance! I've been using it for a few weeks now and it very quickly became an indenspensable feature

yuhan01:07:37

.. though I realise this might just be a personal preference, which is why I'm asking around first 🙂

bozhidar06:07:17

> Yeah, I thought the current implementation didn’t make sense, with a variable clojure-comment-regexp treating #_ and comment in the same manner

bozhidar06:07:10

I think it was just the easiest thing to do. For a while there wasn’t any special support for #_ and comment, but a lot of people insisted on such being added and I obliged.

bozhidar06:07:17

I do agree that they are very different and I definitely think they can be handled better (especially #_ which now doesn’t support the stacked version of itself).