GNU bug report logs -
#68850
emacs: rgrep does not work over tramp
Previous Next
Full log
Message #11 received at 68850 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hello,
Simon Streit <simon <at> netpanic.org> writes:
> Is there maybe an easy way around this? I tried:
>
> (connection-local-set-profile-variables
> 'remote-system
> '((tramp-remote-path . ("/bin" "/usr/bin" "/sbin" "/usr/sbin" "/usr/local/bin" "/usr/local/sbin" "/local/bin"))))
> (connection-local-set-profiles
> '(:application tramp :machine "host.example.com")
> 'remote-system)
>
> The connection will set the remote-path. But rgrep will still invoke
> find from a path in /gnu/store.
Customizing `find-program' to just "find" and restarting Emacs does the
trick. So just sticking
(setopt find-program "find")
into `init.el' should work.
I played with it around for a bit but did not figure out how to
customize it in already running Emacs. I am sure it is possible, but I
hit the self-imposed time limit before figuring it out.
Have a nice day,
Tomas
--
There are only two hard things in Computer Science:
cache invalidation, naming things and off-by-one errors.
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 283 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.