Comments (2)
OK so I figured out that it is because of this line in my config:
(use-package consult
:ensure-system-package (rg . ripgrep)
This line checks whether the rg
binary exists, and I think the brew services does this in sudo mode and therefore requires me to enter my password (hence the "Error reading from stdin"). However, I have no clue how to solve this (i.e. to make brew services work with the above elisp code).
from homebrew-emacs-plus.
I don't think it's because of sudo (why and how would it run it as sudo?), but rather because launchctl runs Emacs in a different environment (ie login vs interactive). A bit of explanation can be found in a blog post where I explain why the PATH is injected.
Also I am curious, what exactly :ensure-system-package
does. Also, do you use exec-path-from-shell
?
In general, I'd say Emacs+ needs some love to make service more usable.
from homebrew-emacs-plus.
Related Issues (20)
- Install --with-xwidgets fails HOT 5
- Opening Tramp produces error in @30 HOT 5
- update emacs-29.1.90
- Frame refocusing behavior is broken/inconsistent HOT 1
- Installation fails with recent brew update HOT 7
- First time attempt, issues on ignored args, odd colors HOT 1
- Add an option to open a new instance of emacs by control+click on the emacs icon.
- native-comp is enabled by default in emacs 30, Please add option --with-native-compilation=no
- Another Big Sur style icon
- Could not install emacs@30 HOT 20
- installing packages in emacs-plus@30 gives "Wrong type argument: package-desc" error HOT 5
- Make it possible for sqlite to be compiled so it can load extensions HOT 3
- Formula descriptions don't seem to work
- Could not install emacs@30 in macos M1 HOT 4
- [General]: Stuck on git clone with emacs@30 HOT 2
- [General]: Emacs.app alias file at /Applications folder
- [General]: On M3 with --with-x11, no Emacs.app is built HOT 1
- [Build Failure]: The include files (AppKit/AppKit.h etc) that are required for a Nextstep build are missing or cannot be compiled. HOT 6
- [General]: --without-cocoa requires xorgproto libxau libxdmcp libxcb libx11 libxext libxrender pixman cairo gdk-pixbuf fribidi harfbuzz pango librsvg HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebrew-emacs-plus.