Web lists-archives.com

Re: Unable to use Cygwin RCS commands in Windows Emacs




On Freitag, 22. September 2017 04:26:47 CEST David Standish wrote:
> I managed to get windows emacs to work with cygwin rcs.
> 
> Apart from rcs.exe, the other rcs commands are shell scripts that
> invoke rcs.exe.
> 
> Create a modified version of vc-rcs.el
> replacing the various vc-do-command's with alternate ones that use
> rcs.exe directly,
> For example:
> 
>       (apply 'vc-do-command "*vc*" 0 "ci" file
> 
> becomes
>       (apply 'vc-do-command "*vc*" 0 "rcs" file "ci"

Thanks, David, that works great!

My earlier attempt
     (apply 'vc-do-command "*vc*" 0 "rcs" "ci " file 
failed, but I should have done a "Describe-function: vc-do-command" first...

Thanks again,
   Heinz

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple