jed-users mailing list

[2006 Date Index] [2006 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: Question about mailedit.sl docs


Marc Haber <mh+jed-users@xxxxxxxxxxxx> wrote:
>   !if( bol_fsearch("-- ") )
>     {
>        goto_user_mark(mark);
>        throw UsageError, "no Signature found";
>     }
>   del_region();
>   insert_char(10); insert_char(10);
>}
>
>I am not sure whether my error handling is appropriate, and the

UsageError should not be used--- instead something like RunTimeError
would be more appropriate

>insert_char calls to insert two new line charcters look out of place -
>is there a more elegant way to do this?

I would use:

  insert ("\n\n");

Thanks,
--John

--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.


[2006 date index] [2006 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]