From: Stern, M. (NIH/NIA/I. [E] <st...@ma...> - 2019-06-13 03:29:43
|
Macsyma 2.4 wrapped it up with CLIMAX in a single Windows XP executable so I never got to see these complications before. BTW, for those who didn’t see my previous reply, Robert Dodier’s suggestion worked well when loaded in the maxima-init in Windows 7 and Windows 10. From: Elias Mårtenson <lo...@gm...> Sent: Wednesday, June 12, 2019 11:23 PM To: Robert Dodier <rob...@gm...> Cc: Stern, Michael (NIH/NIA/IRP) [E] <st...@ma...>; max...@li... Subject: Re: [Maxima-discuss] "Save" location Some background in case anyone is interested: This is a consequence of Common Lisp's attempt to create a platform-independent pathname representation. At the time CL was designed, there were a very wide variety of filesystems in use, each having wildly different semantics. Many of them didn't even have a concept of "current directory". This abstraction was, unfortunately, overdesigned and sort of bolts-on a different system on top of whatever the underlying operating system uses. *DEFAULT-PATHNAME-DEFAULTS* is one of these systems. This is why forcing a change of current directory (i.e. by using SB-POSIX:CHDIR) doesn't really work most of the time, and even when it does, it's not reliable across implementations. Regards, Elias On Thu, 13 Jun 2019 at 08:17, Robert Dodier <rob...@gm...<mailto:rob...@gm...>> wrote: Another idea to try. How about this: :lisp (setq *default-pathname-defaults* #p"/something/something/") which is supposed to be pasted onto a file name when a directory isn't otherwise specified. I find that after setting *DEFAULT-PATHNAME-DEFAULTS*, 'save' puts its output file into that directory. hope this helps, Robert Dodier _______________________________________________ Maxima-discuss mailing list Max...@li...<mailto:Max...@li...> https://lists.sourceforge.net/lists/listinfo/maxima-discuss |