exec-path-from-shell
compat
exec-path-from-shell | compat | |
---|---|---|
29 | 8 | |
1,366 | 60 | |
- | - | |
6.0 | 7.8 | |
about 1 month ago | 8 days ago | |
Emacs Lisp | Emacs Lisp | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
exec-path-from-shell
-
Thinking about buying a macbook, does Emacs work well?
I'm not a Mac user, but FWIW from what I've seen over time https://github.com/purcell/exec-path-from-shell is a must when using Emacs on a Mac. I don't know why this is, but I'm guessing there's something unusually difficult about setting up the desktop session environment when using OSX, and users end up needing to resort to this. Hopefully that helps if you run into environment issues.
- LSP-Mode doesn't find pylsp even though it's in PATH
- First Time Emacs User on macOS - Need Guidance!
-
WSL issue
Check out the package exec-path-from-shell
-
Magit - SSH-agent
This package may help: https://github.com/purcell/exec-path-from-shell
- Why does emacs exec path variable not just copy the users path variable?
-
Eshell cannot find executable even directory is specified in the $PATH
All my path related problems with emacs were solved with the package: https://github.com/purcell/exec-path-from-shell
-
Minor problems with vterm in emacs on MacOS
For one, do you use the exec-path-from-shell package? That should do the trick for path issues when using Emacs vterm. It's likely when emacs is loading it's not correctly loading in the $PATH values from your system. You can check the path values in emacs by checking the value of exec-path.
-
Help with projectile default action
I would like to use SPC p p RET to switch projects, change working directories to trigger exec-path-from-shell, and open Treemacs with the only active project being the selected one.
-
Issues building Emacs.app for Mac OS from source with native compilation
I suspect the Emacs.app package has some misconfigured paths that are unable to find my libgccjit library, which I've installed via homebrew. I've tried experimenting with exec-path-from-shell to ensure Emacs is aware of my shell paths, but to no avail.
compat
-
Don't make Emacs keymaps -- define them.
With the Compat library you can use define-keymap right away in your packages. See also my post about Compat.
-
Which package manager should I use?
Exactly, I think printing a loud warning is a perfectly acceptable solution. The note should ideally tell the user to ensure that dependencies are met. It makes sense to teach users a little better about the limitations of Straight or Elpaca with respect to dependency handling since I've seen many reports across the ecosystem where people didn't properly update dependencies. I usually bump dependencies when I really need new functionality. In particular with our Compat package, versions are meaningful and should be respected.
-
The Compat Elisp Library: A Package Maintainer’s Best Friend
Compat co-maintainer here. Thank you for writing this post! One minor correction: Compat supports Emacs 24.4 and newer. Please link to the upstream repository at https://github.com/emacs-compat/compat instead of the Straight mirror, since the mirror does not preserve the Git history.
-
Small elisp question
As /u/usaoc said, ensure-list can be used for this purpose - I use it all the time in my packages. I recommend to take advantage of the Compat package from GNU ELPA, such that you can use all new Emacs APIs even in packages targeting older Emacs versions. I am the maintainer of Compat. See also https://www.reddit.com/r/emacs/comments/10iep0o/compat_29130/ for more background.
- compat: Compatibility Library for Emacs Lisp
-
Compat 29.1.3.0
I released version 29.1.3.0 of Compat, the Elisp forwards-compatibility library on GNU ELPA. This library may be interesting for you, if you want to use newer Emacs developments in your packages without breaking backward compatibility with older Emacs versions.
-
compat--inhibit-prefixed error in Org-Roam
I updated some packages which included updating the dependency compat.el to 28.1.2.0
What are some alternatives?
build-emacs-for-macos - Somewhat hacky script to automate building of Emac.app on macOS.
package-lint - A linting library for elisp package metadata
neovim-ide - NeoVim as IDE
smartparens - Minor mode for Emacs that deals with parens pairs and tries to be smart about it.
SLANOMACS - My (Illiterate) Literate Doom Emacs Config
vertico - :dizzy: vertico.el - VERTical Interactive COmpletion
build-emacs-macos - Build script for emacs and macos
straight.el - 🍀 Next-generation, purely functional package manager for the Emacs hacker.
emacs-jupyter - emacs plug-in to run python code inside tex or markdown buffer
corfu - :desert_island: corfu.el - COmpletion in Region FUnction
jupyter - An interface to communicate with Jupyter kernels.
consult - :mag: consult.el - Consulting completing-read