jed-users mailing list

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

Re: wbf -- window/buffer/file functions


Dave Kuhlman wrote:
...
> Oh.  Maybe their *order* is wrong.
>
> OK.  So, then I'm going to suggest to Klaus that reverse the order
> of concatenating directory and file name (use "d+b" instead of
> "b+d").  Here is the change:
>
>     --- ffx_old.sl  2003-08-07 08:33:50.000000000 -0700
>     +++ ffx.sl  2003-08-07 13:42:46.000000000 -0700
>     @@ -391,7 +391,7 @@
>              (b,d,,)= getbuf_info( whatbuf());
>              if ( b != "")
>                {
>     -             ()= write_buffer( b+d);
>     +             ()= write_buffer(d + b);
>                   return;
>                }
>              w= "write_buffer";

Argh! I looked at it and did not see it!
Sorry and thanks. All other occurances of
getbuf_info seem to be ok.
The current upload is already corrected.

> That works.  But, I don't know why this was not a problem for
> Klaus.

Seems mysterious -- but I remember a discussion about automatic
corrections, something like a/b//c/d -->  /c/d .  Maybe this is related to
this?

For sure I have:
  ()= write_buffer( "testC:\\ks\\")
==
  ()= write_buffer( "C:\\ks\\test")

-- Klaus


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


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