This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-01-07
Channels
- # announcements (2)
- # beginners (30)
- # calva (7)
- # cherry (15)
- # clerk (21)
- # clojure (1)
- # clojure-losangeles (12)
- # clojure-norway (1)
- # clojure-spec (3)
- # clojurescript (31)
- # conjure (2)
- # cursive (44)
- # datomic (13)
- # emacs (13)
- # honeysql (15)
- # hyperfiddle (7)
- # malli (2)
- # off-topic (17)
- # overtone (6)
- # reitit (7)
- # ring (58)
- # shadow-cljs (12)
- # squint (14)
- # tools-deps (14)
- # web-security (1)
- # xtdb (29)
How to have Magit fully expand these sections by default? (untracked, staged, unstaged)
It looked like (setq magit-section-initial-visibility-alist '((stashes . hide) (staged . show) (untracked . show) (unstaged . show)))
would do the trick but I see no difference even after a restart - maybe it's an unrelated variable?
I have that set to ((stashes . hide))
and it works ... I'd try clearing the compiled files :woman-shrugging:!
Would you generously try it out for staged? Will check .elc in the meantime (Update: no luck)
Changing it did work, but I had to visit a different project every time, as magit would remember the previous config. The variable indeed says "initial visibility"
I take back the remembering claim. All it took for a correct update was quitting the magit buffer and reopening (vs just reinvoking it)
Yes, it works for stashes
I'm guessing that it staged
works in that it displays the list of files, but it doesn't show the diff for each given file?