This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-05-31
Channels
- # announcements (6)
- # babashka (40)
- # beginners (6)
- # calva (1)
- # cider (1)
- # clerk (43)
- # clj-kondo (3)
- # clojure (93)
- # clojure-denver (8)
- # clojure-europe (52)
- # clojure-norway (20)
- # clojure-sweden (7)
- # community-development (5)
- # datascript (15)
- # datomic (30)
- # emacs (24)
- # events (15)
- # fulcro (23)
- # graalvm (12)
- # gratitude (1)
- # helix (4)
- # honeysql (4)
- # hoplon (39)
- # hyperfiddle (7)
- # introduce-yourself (1)
- # jobs (1)
- # jobs-discuss (26)
- # lambdaisland (3)
- # lsp (6)
- # matcher-combinators (2)
- # matrix (5)
- # meander (39)
- # nrepl (4)
- # nyc (1)
- # off-topic (5)
- # portal (73)
- # practicalli (1)
- # re-frame (2)
- # reitit (22)
- # releases (1)
- # remote-jobs (4)
- # shadow-cljs (5)
- # sql (17)
- # testing (1)
- # tools-deps (15)
Has anyone else been noticing freezes when inside a (comment ...)
block?
Only on navigation. Spamming C-g
usually fixes it after a few times.
Which I do have set to t
@U058DHAN3UP previous instance of the problem https://clojurians.slack.com/archives/CPABC1H61/p1678470309301829
tl;dr, I wasn't ready to give up the comment block functionality, and it turned out that it was a problem with the hover functionality. To fix it, I do:
;; No hover, it was causing problems on comments block
(after! clojure-mode (setq lsp-eldoc-enable-hover nil))
The after!
macro is from doom-emacs
, adapt the idea to your setupAh the acurse'd eldoc hover
It's basically never what I want, so it's getting the axe
Probably a stupid idea, but why aren’t ANSI/SGR codes used as a “plain-text, but with colors and some styling” format?
toying with ideas to have something like “org mode, but with inline colors”.
what are you talking about, I'm confused? maybe something like ;;; ansi-color.el --- translate ANSI escape sequences into faces
I mean that there’s no mode to see /and edit/ files with embedded ansi color codes. ANSI-color.el is mostly intended for shells and log files - so showing output of other programs.
Is there a package for better re-frame experience, e.g. jump to where event/sub is registered?
Between the files, lsp (I think) handles it. Within a single file, I use imenu with this: excuse the Doom syntax, I'm sure you know how to fix it for vanilla Emacs.
(add-hook! 'clojurescript-mode-hook
(defun add-reframe-regs-to-imenu ()
(add-to-list
'imenu-generic-expression
'("re-frame" "^(*reg-\\(event-db\\|sub\\|sub-raw\\|fx\\|event-fx\\|event-ctx\\|cofx\\)[ \n]+\\([^\t \n]+\\)" 2)
t)))
IIRC one can simply use namespaced keywords and use cider/lsp's "jump to keyword definition" functionality?
(yes, a keyword doesn't have a formal "definition" place, but ::foo
or ::foo/bar
have a natural namespace they refer to, and a first occurrence within that file)
It seems that cider-find-keyword only works when the target buffer is opened, did I run into a bug?
> It seems that cider-find-keyword only works when the target buffer is opened, did I run into a bug? Seems likely, feel free to open an issue