* VC via tramp without vcdiff
@ 2009-08-22 18:27 Yary Hluchan
2009-08-23 12:51 ` Michael Albinus
0 siblings, 1 reply; 2+ messages in thread
From: Yary Hluchan @ 2009-08-22 18:27 UTC (permalink / raw)
To: help-gnu-emacs
I'm editing files under revision control (plain SCCS) on a remote
host, using tramp. The remote host doesn't have an implementation of
vcdiff, nor does it have any c-compiler with which I can build an open-
source vcdiff implementation. Emacs wants to run vcdiff with every
check-in and when that fails, VC fails.
Can I tell Emacs/tramp to use "sccs diffs" instead of "vcdiff" for
sccs (or even for everything)?
Even if I could find a perl vcdiff or a pre-compiled vcdiff, I'm not
sure I have permission to put it in a place where emacs could find it
on that system, or how to tell tramp to add to its $PATH.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: VC via tramp without vcdiff
2009-08-22 18:27 VC via tramp without vcdiff Yary Hluchan
@ 2009-08-23 12:51 ` Michael Albinus
0 siblings, 0 replies; 2+ messages in thread
From: Michael Albinus @ 2009-08-23 12:51 UTC (permalink / raw)
To: Yary Hluchan; +Cc: help-gnu-emacs
Yary Hluchan <yary.hluchan@gmail.com> writes:
> I'm editing files under revision control (plain SCCS) on a remote
> host, using tramp. The remote host doesn't have an implementation of
> vcdiff, nor does it have any c-compiler with which I can build an open-
> source vcdiff implementation. Emacs wants to run vcdiff with every
> check-in and when that fails, VC fails.
vcdiff is a shell script, which comes with Emacs. So you can copy your
local version to the remote host, let's say into your home
directory. Don't forget to set executable permissions.
> Can I tell Emacs/tramp to use "sccs diffs" instead of "vcdiff" for
> sccs (or even for everything)?
The call of vcdiff is hard-coded in `vc-sccs-workfile-unchanged-p' and
`vc-sccs-diff'. I wouldn't change that.
> Even if I could find a perl vcdiff or a pre-compiled vcdiff, I'm not
> sure I have permission to put it in a place where emacs could find it
> on that system, or how to tell tramp to add to its $PATH.
Assumed you run Tramp 2.1 (part of Emacs 23.1), you can extend the
remote $PATH to look in your home directory:
(add-to-list 'tramp-remote-path "/my/home/directory")
Best regards, Michael.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-08-23 12:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-22 18:27 VC via tramp without vcdiff Yary Hluchan
2009-08-23 12:51 ` Michael Albinus
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.