This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-03-31
Channels
- # announcements (5)
- # babashka (5)
- # beginners (24)
- # calva (21)
- # cherry (1)
- # clerk (20)
- # clj-kondo (3)
- # clj-otel (12)
- # clojure (50)
- # clojure-austin (2)
- # clojure-conj (3)
- # clojure-europe (40)
- # clojure-nl (1)
- # clojure-norway (203)
- # clojure-spec (3)
- # clojure-uk (6)
- # clojurescript (8)
- # conjure (1)
- # datomic (1)
- # deps-new (1)
- # emacs (5)
- # graphql (8)
- # gratitude (5)
- # holy-lambda (16)
- # honeysql (18)
- # hyperfiddle (12)
- # java (1)
- # jobs (1)
- # lsp (24)
- # membrane (8)
- # nbb (1)
- # off-topic (19)
- # portal (28)
- # proletarian (11)
- # rdf (63)
- # re-frame (38)
- # reagent (8)
- # reitit (1)
- # releases (6)
- # remote-jobs (1)
- # scittle (4)
- # shadow-cljs (20)
- # spacemacs (4)
- # sql (7)
- # transit (1)
so if you like code folds as much as i do, you will want to try turning on reveal mode, so that if you jump into a fold (say using lsp) it auto unfolds and doesn't drop you at the top of the function.
thx for pointing out reveal-mode. I've got that going with hs-minor-mode now and like it
I also kinda want a flashlight mode that progressively hides expressions as they travel farther from the cursor. so "focus mode" kinda does this on a per function basis.
UPDATE: Solved. Weirdly, setq
doesn't work, and set-custom-variable
does.
Hello.
How to force loading everything in the right order?
With this configuration, immediately after starting emacs, the function dired-jump
is from the dired.el
file.
Then, when I open dired, it's from dired+.el
.
I know this by doing C-h f
. There are hooks or autoloads in the code, but I just want everything to be loaded at startup.
(use-package dired+
:straight t
:demand t
:after (dired dired-x) ; otherwise dired-omit-files isn't set somehow
:config
(add-hook 'dired-mode-hook 'dired-omit-mode)
(setq dired-omit-files (rx (or
(seq bol "." eol)
(seq bol "." (not (any "."))) )))