- Subject: Re: Syntax changes
- From: Jörg Sommer <joerg@xxxxxxxxxxxx>
- Date: Sat, 7 Mar 2009 17:23:40 +0000 (UTC)
Hi Peter,
Peter Krefting <peter@xxxxxxxxxxxxxxxx> wrote:
> I just upgraded from Debian Etch to Debian Lenny, and with it came a new Jed
> package. It apparently disliked one of the Jed slang scripts that I have
> installed, namely one that emulates the Joe editor. If anyone could point me
> towards what I need to change to make it work again, I would appreciate it.
>
> The line of the script that it complains about is marked with ">":
>
>> if((()=dupmark())==0){
First, dupmark() return only one value. If you remove it, you don't have
anything to compare with 0. Your line should read as this:
if (dupmark() == 0) {
> mark_buffer();
> ()=dupmark();
> }
>
> Here is the error message:
>
> /home/peter/skel/jed/joe.sl:766:<top-level>:Syntax Error
But this was not a syntax error. It would be more helpful, if you provide
also five lines before and after this line and the whole output of
jed -batch
Bye, Jörg.
--
“Politics is for the moment, equations are forever”
(Albert Einstein)
--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.
[2009 date index]
[2009 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]