This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-08-29
Channels
- # aleph (5)
- # announcements (2)
- # bangalore-clj (2)
- # beginners (52)
- # cider (10)
- # cljsrn (1)
- # clojure (160)
- # clojure-dev (24)
- # clojure-europe (3)
- # clojure-france (1)
- # clojure-india (1)
- # clojure-italy (3)
- # clojure-nl (6)
- # clojure-spec (13)
- # clojure-uk (51)
- # clojurescript (45)
- # code-reviews (1)
- # core-async (41)
- # cursive (41)
- # datomic (17)
- # emacs (37)
- # fulcro (42)
- # graphql (7)
- # joker (4)
- # music (1)
- # nrepl (2)
- # off-topic (21)
- # pathom (19)
- # pedestal (12)
- # re-frame (48)
- # reitit (6)
- # rewrite-clj (8)
- # shadow-cljs (41)
- # specter (6)
- # sql (21)
- # tools-deps (8)
- # vim (7)
- # xtdb (27)
anyone have a decent CSS workflow? Just trying to get some basic stuff going like looking up documentation
ah okay, css-lookup-symbol
. apropros is quite handy...
on my machine, the clojure-mode is much slower than the emacs-lisp-mode. eventhough cider is not connected
do you have aggressive-indent enabled? I've found that slows it down a lot in large forms because of clojure-use-backtracking-indent
If I hold C-n
, in emacs-lisp-mode it's very smooth, but in clojure-mode, it lags after a few lines
- command-execute 3087 96%
- call-interactively 3085 96%
- funcall-interactively 2535 78%
- next-line 1582 49%
- line-move 1579 49%
- line-move-partial 1273 39%
+ default-line-height 15 0%
+ window-screen-lines 9 0%
window-inside-pixel-edges 1 0%
line-move-visual 143 4%
+ called-interactively-p 2 0%
+ execute-extended-command 621 19%
+ previous-line 323 10%
It's very strange that line-move-partial
cost 39%, but after expand this I can't find where the 39% goneI recently switched from PragmataPro typeface in Emacs because somehow it was causing slow drawing (?), though I don't found anything in profiler report. The other culprit is often the linum mode.
Thanks for the tip! This really does make a difference.
I somehow got used to live without the line numbers, since vim. I know how to go to line N and there's almost always a line number in status line.
Same, but it's a nice to have. I added it to try a few months back and now I quite like it
interesting, I'm using consolas font, didn't see changes after switch to another. also, I don't open line number, no modeline
it's easy to feel the differences in my case, just write about 50 lines of (def x 10)
.
then you move up and down, compare to (setq x 10)
in emacs-lisp-mode.
not sure if relevant: https://emacs.stackexchange.com/questions/28736/emacs-pointcursor-movement-lag
glad i could help 🙂 I wonder why it's turned on by default for you? it isn't on my side, could be a version/distribution thing (emacs-mac 26.2)
super noob question, how does one invoke this key command? \C-cl
aha... Ctrl-C then L, got it