I'm on OS X 10.6.8. I've replicated the following errors with Emacs for OS X (http://emacsformacosx.com/) and with Aquamacs (current versions of both).
I discovered the problem by attempting to enter version control mode (CTRL-X v v
) while editing a file in a Subversion Repo. I get the following error:
"Searching for program: No such file or directory, svn"
In OS X, svn is in /usr/bin.
C-h v exec-path
shows this:
exec-path is a variable defined in `C source code'.
Its value is
("mesg" " ttyname" " Inappropriate ioctl for device/usr/bin" "/bin" "/usr/sbin" "/sbin" "/usr/local/bin" "/usr/X11/bin" "/usr/local/git/bin" "/Users/schof/py/scripts" "/usr/texbin" "/Users/schof/py/scripts")
Note how "Inappropriate ioctl for device" is mashed up with "/usr/bin." I'm pretty sure this is why Emacs isn't finding svn in /usr/bin.
Any ideas for how I can fix this? Or further troubleshooting suggestions?