This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-04-04
Channels
- # announcements (1)
- # babashka (7)
- # beginners (25)
- # calva (38)
- # cider (2)
- # clerk (54)
- # clojure (21)
- # clojure-austin (1)
- # clojure-europe (11)
- # clojure-nl (1)
- # clojure-norway (5)
- # clojure-uk (2)
- # clr (16)
- # conjure (2)
- # cursive (15)
- # datalevin (1)
- # datomic (2)
- # emacs (3)
- # fulcro (1)
- # hoplon (14)
- # humbleui (9)
- # hyperfiddle (31)
- # improve-getting-started (12)
- # jobs (7)
- # off-topic (15)
- # reitit (3)
- # releases (1)
- # spacemacs (22)
- # squint (16)
- # tools-deps (8)
- # vim (50)
- # xtdb (33)
Hi, I had to reinstall emacs/spacemacs/practicalli's config for spacemacs.
I am having trouble with magit. When I do SPC g s
, it goes to the magit buffer, but does not show anything in the Unstaged
section (its empty).
This is the message line in the Messages
buffer - apply: Searching for program: No such file or directory, delta
Any ideas what is going on ?
Sounds like it can't find git binary on the Emacs PATH
I think SPC f e e
opens spacemacs.env file that contains the Emacs PATH details
I assume a git binary is installed on the operating system
Ah no. I know what the problem is. I started using git-delta to make the diff much nicer.
Either install git delta https://github.com/dandavison/delta/releases
Or comment the git delta variable in the magit layer variables in the Spacemacs config , SPC f e d
git-enable-magit-delta-plugin t
Set to nil, comment or remove this variableI pushed a change that comments this variable in the magit layer and added a comment that the delta tool should be installed before enabling. Thanks for letting me know and helping me improve the config.
My suggestion - instead of commenting it out, you could include the installation of git delta in the instructions on your site. Are there any other optional tools, that have to be enabled / installed ? I just use your config out of the box.
https://practical.li/spacemacs/install-spacemacs/pre-install/#command-line-tools has the recommended tools. Although looking again I realise I haven't included Git either. I will add git and suggest git delta as an optional extra. Delta isn't essential though and depending on theme used can be useful or get in the way, so I will keep it comment and provide info for a person to make the choice Thanks for the feedback
I've release a relatively minor change to the Practicalli Spacemacs config - most importantly making Git delta in magit a feature that has to be uncommented to use (as issues arise in magit status if the delta
binary is not present
https://clojurians.slack.com/archives/C015AL9QYH1/p1680604293606299
After new install of spacemacs, I get these warnings on emacs startup-
Auto-evilification could not remap these functions in map 'archive-mode-map':
- 'archive-chgrp-entry' originally mapped on 'G'
Auto-evilification could not remap these functions in map 'cider-docview-mode-map':
- 'cider-docview-clojuredocs-web' originally mapped on 'G'
I've had similar warnings to these for a while, they don't seem to affect anything
Also this one -
Package 'all-the-icons' isn't installed
While I did install the all-the-icons-install-fonts
I also get this warning but seems to work regardless
One issue I always face in the magit buffer is that the screen freezes for a few secs, this happens frequently when I am looking at diffs etc. Any reason this happens ? This used to happen in the previous installation too. I just reinstalled everything emacs, spacemacs etc - but the issue continues.
Ill check to see if this happens to me too.
Hi, when I installed the first time the spacemacs config the terminal layer wasn't working, the reason is that by default it looks for the bin under /bin/zsh
but that depends on the type of mac itself:
> To set zsh as your default shell, execute the following assuming a default install of Homebrew
> â—¦ Recent macOS versions:
> ▪︎ For m1 macs:
> • chsh -s /opt/homebrew/bin/zsh
> ▪︎ For intel macs:
> • chsh -s /usr/local/bin/zsh
> â—¦ macOS High Sierra and older:
> ▪︎ chsh -s /bin/zsh
>
Source: https://github.com/ohmyzsh/ohmyzsh/wiki/Installing-ZSH#how-to-install-zsh-on-many-platforms . Maybe add a comment? or, is there a way to keep it compatible regardless machine/OS?
The Spacemacs docs state terminal-here is used to detect the default shell. There are variables that can be set for each OS, but I didn't see anything for the different variations of MacOSX
https://develop.spacemacs.org/layers/+tools/shell/README.html#external-terminal-emulator
I never noticed an issue when I used a Mac last year. I use vterm as the launched shell that seemed to work just fine with the zsh I was using.
Personally I would add a symbolic link on the operating system file system so the MacOSX laptops all had the same /bin/zsh
or what ever default location is preferred
Unfortunately I don't have access to the various versions of MacOSX to test any other ideas. I am surprised it's installed in different places on MacOSX, I wonder why that is
between intel vs arm the reason seems to be https://github.com/Homebrew/brew/issues/9177: > In #9117, we switched to a new prefix of /opt/homebrew for installations on Apple Silicon. This was written and shipped with heroic speed to help prevent strange issues with bleeding edge users on the first consumer Apple Silicon Macs. > —Misty De Méo - Homebrew Maintainer