clojure-emacs / clojure-emacs/clojure-mode

Syntax highlighting for #_ forms comments out next form

Aperta
#404 2 commenti 1 reazione 0 assegnatari Vedi su GitHub
bug
Lingua principale
Emacs Lisp
Stelle
1k
Fork
249
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

## Expected behavior

When using the `#_` reader macro, you can chain several together. This lets you comment out more than one form at a time. However the Cider syntax highlighting uses the first `#_` to comment out the second one. For example:

In Cursive:

screenshot of intellij idea 12-08-16 8-08-51 am
## Actual behavior

In emacs:

screenshot of emacs 12-08-16 8-05-56 am
## Steps to reproduce the problem

``` clj
#_ #_ :a :b
```
## Environment & Version information
### clojure-mode version information

```
clojure-mode (version 5.5.2)
```
### Emacs version

`25.1.50.1`
### Operating system

OS X 10.11.6

Carried over from https://github.com/clojure-emacs/cider/issues/1822

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start by reproducing the issue in clojure-mode with `#_ #_ :a :b` and inspect the syntax-highlighting behavior described in the report. Done means chained `#_` forms are highlighted independently, so the first reader macro does not incorrectly consume the second one.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
clojure, emacs-lisp
Ambito
tooling
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.