Bug#418529: marked as forwarded (jed: evalfile() no longer supporting ~ in path name)

G. Milde milde at users.berlios.de
Fri Apr 13 10:00:46 UTC 2007


On 13.04.07, Rafael Laboissiere wrote:
> * John E. Davis <davis at space.mit.edu> [2007-04-12 15:15]:

> > 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"$);

> Should we close this bug report?

IMO, it is a documentation issue. This change should be documented in the
changelog. I did not find it in the Jed Version: 0.99.18 (Debian package
jed 0.99.18-6)

John, could you add this change to the changes.txt? Something like

  evalfile() no longer expands its `path' argument. You can use
  evalfile(expand_filename(path)) to get the old behaviour.
  
After this the bug can be closed.

Günter




More information about the Pkg-jed-devel mailing list