clojure-emacs / clojure-emacs/clojure-mode
Making ns-qualified keywords not have font-lock-type-face
- Vorherrschende Sprache
- Emacs Lisp
- Sterne
- 1k
- Forks
- 249
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
Given a ns-qualified keyword such as:
`::kws.grid/column-settings`
I'd like only `clojure-keyword-face` to be applied to it. But also `font-lock-type-face` is partially applied to it:
**How it looks like**

**How it is parsed**
```
#("::kws.grid/column-settings" 0 6 (fontified t face (clojure-keyword-face)) 6 10 (fontified t face (font-lock-type-face clojure-keyword-face)) 10 11 (fontified t face (default clojure-keyword-face)) 11 25 (fontified t face (clojure-keyword-face)) 25 26 (fontified t font-lock-multiline t face (clojure-keyword-face)))
```
The problematic bit seems to be `(font-lock-type-face clojure-keyword-face)`.
I'm not sure if this is a feature. To me it looks buggy, because only `grid` gets the grey coloring. But in the example `grid` does not have a special meaning.
---
Using clojure-mode latest/pristine, no fork
Beitragsleitfaden
Rechercherichtung
Reproduziere die Fontifizierung von `::kws.grid/column-settings` mit dem neuesten/unveränderten clojure-mode und vergleiche dessen geparste Faces mit dem Beispiel. Verfolge die Verarbeitung von Namespace-qualifizierten Keywords und verifiziere, dass das abgeschlossene Verhalten nur `clojure-keyword-face` anwendet, ohne das partielle `font-lock-type-face`.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- emacs-lisp
- Bereich
- tooling
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 42/100