This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-05-01
Channels
- # announcements (14)
- # aws (1)
- # babashka (22)
- # beginners (105)
- # biff (12)
- # calva (1)
- # cider (7)
- # cljsrn (1)
- # clojure (33)
- # clojure-europe (22)
- # clojure-germany (1)
- # clojure-uk (3)
- # clojurescript (28)
- # component (15)
- # copenhagen-clojurians (1)
- # core-typed (29)
- # cursive (8)
- # data-science (2)
- # datomic (2)
- # emacs (16)
- # gratitude (3)
- # humbleui (3)
- # introduce-yourself (4)
- # lsp (1)
- # other-languages (3)
- # rdf (3)
- # sci (6)
- # shadow-cljs (9)
- # spacemacs (12)
- # tools-build (1)
- # tools-deps (5)
- # vim (3)
- # vscode (1)
My emacs mini buffer function hints are broken. It seems like a couple thinks are competing to use it and what ends up winning in just the displaying the symbol name my cursor is on. Any ideas how i can debug this? Like if i hover over clojure.core/spit i get "spit" in the minibuffer.
describe-mode
tells you which minor modes are active in the current buffer. If you disable them all and re-enable them one by one you'll find out which one is causing it.
I've had a similar issue with highlight-symbol-mode (but I'd get the number of occurrences instead of the symbol name). I solved it by overriding a function.
I have the same problem. Sometimes... I suspected lsp but now I suspect iedit. Will be investigating soon.
@U0DJ4T5U1 have you figured out what was the reason? I failed 😕 It's so undeterministic in my case.
I didn't.
I'll check if it's still an issue...
ok, looks like it's lsp-mode, @UKFSJSM38 seems that eldoc and highlighting (multiple) interfere together, still not 100% sure about that. I'll try to record some examples soon.
I know of a conflict of lsp and cider, that's why I have cider-eldoc-display-for-symbol-at-point
as nil on my config
BTW doom-emacs is https://github.com/doomemacs/doomemacs/blob/master/modules/lang/clojure/config.el#L85
(map |) ;; nothing in minibuffer, lens shows [invalid arity]
(map| ) ;; the same
(map |) ;; minibuffer displays doc
(map identity|) ;; minibuffer shows doc for identity
(map identity |) ;; the same
(map identity [|]) ;; the same (identity)
(map identity [1 2]|) ;; the same
() ;; minibuffer shows `map` docs (sic!)
that's a clojure-lsp issue, regarding using outdated analysis, not sure there is a easy fix for that, but a issue makes sense on clojure-lsp