>>>>> "Jim" == Jim Smith <[EMAIL PROTECTED]> writes:
Jim>
Jim> I would like to use emacs/ediff as an external diff program with
Jim> tortoise CVS on the windows platform. Basically, this means I need to
Jim> invoke emacs from the command line with two file arguments and have
Jim> emacs open an ediff session on those two files.
Here's an excerpt from my edif shell script. Note that since I don't want a
new emacs all the time, I use "gnuclient -batch" instead of emacs:
if [ -n "$3" ]
then
gnuclient -batch -eval "(ediff-files3 \"$1\" \"$2\" \"$3\")"
else
gnuclient -batch -eval "(ediff-files \"$1\" \"$2\")"
fi
HTH
Klaus
--
------------------------------------------
| Klaus Zeitler Lucent Technologies |
------------------------------------------
---
Ich bin dafuer, die Dinge soweit wie moeglich zu vereinfachen.
Aber nicht weiter. -- Albert Einstein
_______________________________________________
Help-gnu-emacs mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs