You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rg fails when running emacs as a daemon on Mac despite the rg binary being in the environment PATH. I think there might be an issue with 'rg-find-executable' because it returns nil, but rg works fine in eshell launched from a daemon:
Welcome to the Emacs shell
~/.emacs.d/etc/scratch $ which rg
/opt/homebrew/bin/rg
Problem
Rg fails when running emacs as a daemon on Mac despite the rg binary being in the environment PATH. I think there might be an issue with 'rg-find-executable' because it returns nil, but rg works fine in eshell launched from a daemon:
Config Solution
Configuring the executable path directly works
Environment Dumps
Successful Run Environment Dump
--------- RG environment ---------
emacs-version: GNU Emacs 30.0.93 (build 2, aarch64-apple-darwin24.2.0, NS appkit-2575.30 Version 15.2 (Build 24C101))
system: darwin
ripgrep-version: ripgrep 14.1.1
compilation-filter-hook: nil
compilation-filter-advised: nil
rg-header-max-search-string-length: nil
rg-use-transient-menu: t
rg-show-columns: nil
rg-group-result: t
rg-show-header: t
rg-hide-command: t
rg-align-position-numbers: t
rg-align-line-number-field-length: 4
rg-align-column-number-field-length: 3
rg-align-line-column-separator: " "
rg-align-position-content-separator: " "
rg-custom-type-aliases: nil
rg-prioritized-type-aliases: nil
rg-executable: "/opt/homebrew/bin/rg"
rg-executable-per-connection: t
rg-command-line-flags: nil
rg-ignore-case: case-fold-search
rg-keymap-prefix: "�s"
rg-default-alias-fallback: "everything"
rg-buffer-name: "rg"
rg-ignore-ripgreprc: t
rg-w32-unicode: nil
rg-w32-ripgrep-proxy: "/Users/jsperger/.emacs.d/rg-w32-ripgrep-proxy.bat"
------------------ END ------------------
Failure Dump
Disabling my fix yielded
The text was updated successfully, but these errors were encountered: