[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-idutils] eid bug
From: |
Claudio Fontana |
Subject: |
Re: [bug-idutils] eid bug |
Date: |
Tue, 9 May 2006 03:03:06 -0700 (PDT) |
Hello Bruno,
sorry for the late response: I still do not have an
own permanent inet access in my new home.
--- Bruno Haible <address@hidden> wrote:
> Hi,
>
> I have the EDITOR variable set:
> $ echo "$EDITOR"
> emacs -nw
same (well, similar) here.
> and now when I use the "eid" command on a clisp
> source tree, I get
>
> $ eid lispbibl
> lispbibl build/genclisph.c utils/txt2c.c
> doc/extend.txt
> edit? [y1-9^S/nq] y
> y
> lid: can't exec `emacs -nw': Datei oder Verzeichnis
> nicht gefunden
> [...]
>
> The "eid" command should support EDITOR="emacs -nw"
> as well.
I agree. I was surprised to see this was not already
supported.
What I have in my setup is EDITOR="e"
and e is a shell script that invokes emacs -nw $*
That's why I did not see this problem before; you
could use this as a workaround before the thing is
fixed in idutils.
> There are two possible implementations:
> - parse the value of $EDITOR, like a shell would
> do, and use the exec()
> system call,
This is how I would proceed.
However, I am still not really active yet, so you
might have to wait for a little while.
> - construct a shell command line from $EDITOR and
> the file names (using
> proper quoting for spaces, backslashes or quotes
> in the file names),
> and execute it using system().
> Bruno
>
Bye,
Claudio
Chiacchiera con i tuoi amici in tempo reale!
http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com