jed-users mailing list

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

Re: Bug#418529: jed: evalfile() no longer supporting ~ in path name


Jörg Sommer <joerg@xxxxxxxxxxxx> wrote:
>@John: Can you explain, why the handling of ~ in path names changed
>between 0.99.16 and now? Is this intended or a bug?

It was intended.  evalfile is slang's lowest level file loading
function, and as such it should not tamper with the name passed to it.
For example, under Unix ~ is a perfectly valid directory name and it
should be possible to load a file in that directory.  For filename
expansion, use the expand_filename function.  While not as convenient,
you can also use evalfile("$HOME/foo.sl"$);

--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>.


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