[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Starting emacs in ediff mode.
From: |
DaLoverhino |
Subject: |
Re: Starting emacs in ediff mode. |
Date: |
Fri, 25 Jan 2008 12:51:34 -0800 (PST) |
User-agent: |
G2/1.0 |
On Jan 24, 1:50 pm, Rob Wolfe <r...@smsnet.pl> wrote:
> DaLoverhino <DaLoveRh...@hotmail.com> writes:
>
> [...]
>
>
>
> > Thanks. It works from the command line, but when I put it in a shell,
> > it doesn't seem to work. Do you know what is going on?
>
> > #!/bin/bash
>
> > fileA=$1
> > fileB=$2
>
> > if [[ -z "$fileA" && -z "$fileB" ]]
> > then
> > echo "Need two files to ediff."
> > exit 1
> > fi
>
> > evalArg="'(ediff-files \"$fileA\" \"$fileB\" )'"
>
> > echo emacs --geometry 150x80 --eval $evalArg
>
> > emacs --geometry 150x80 --eval $evalArg
>
> > exit 0
>
> Try this:
> emacs --geometry 150x80 --eval "(ediff-files \"$fileA\" \"$fileB\")"
>
> HTH,
> Rob
That did work. Thanks!!
And thanks everyone for helping me out.
Message not available
Re: Starting emacs in ediff mode., Kevin Rodgers, 2008/01/24