Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation bug #172

Open
ndokos opened this issue Mar 24, 2021 · 0 comments
Open

Documentation bug #172

ndokos opened this issue Mar 24, 2021 · 0 comments

Comments

@ndokos
Copy link

ndokos commented Mar 24, 2021

Thanks for reporting a bug/feature request! Make sure you include:

On my machine, the output of ag --version is: nothing - I do not have ag installed.

My Emacs version is: 28.0.50

I'm using: Fedora 33.

The Configuration doc contains a function to set the Emacs exec-path from the shell PATH. That function tries to invoke the shell using

(shell-command-to-string "$SHELL --login -i -c 'echo $PATH'")

The -i is wrong: it causes the plumbing of the output to fail with

"bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shel
... path follows ...

confusing the subsequent parsing and screwing up both the env PATH and the exec-path. Without the -i, everything works as it should.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant