From: Eduardo O. <edu...@gm...> - 2024-10-16 15:53:42
|
I used this luatreedir : pathname_directory(load_pathname); load (concat(luatreedir, "luatree.lisp")); in my luatree.mac - here: http://angg.twu.net/luatree/luatree.mac.html http://angg.twu.net/luatree/luatree.mac to load the file luatree.lisp, that is in the same directory of luatree.mac... Does that trick work for all versions of Maxima? Cheers, Eduardo Ochs On Wed, 16 Oct 2024 at 12:20, Leo Butler <Leo...@um...> wrote: > This is a good idea. > Leo > > On Tue, Oct 15 2024, Robert Dodier <rob...@gm...> wrote: > > > Something that has come up in the recent discussions about the qm > > package is that at present, load("the/path/to/my-file.mac") doesn't > > know anything about "the/path/to" and in particular, if my-file.mac > > says anything like load("my-other-file.mac") or load("my-file.lisp") > > then those operations fail. > > > > I've bumped into this before -- I am thinking it would be a good idea > > if load and batch would temporarily put the/path/to onto > > file_search_maxima and file_search_lisp, so that any further > > load/batch operations can succeed. > > > > What does anyone think of that? I think it would be pretty easy, and > > would be a substantial benefit at no cost that I can see. > > > > best > > > > Robert > > > > > > _______________________________________________ > > Maxima-discuss mailing list > > Max...@li... > > https://lists.sourceforge.net/lists/listinfo/maxima-discuss > > _______________________________________________ > Maxima-discuss mailing list > Max...@li... > https://lists.sourceforge.net/lists/listinfo/maxima-discuss > |