Replies: 3 comments 6 replies
-
|
I pushed a version of SYS-START.REB (and fix) that reflects this suggested change. Apologies for some of the refactoring, mostly done as an exercise to understand the workflow... (note: I have my clone of the Rebol 3 repo on GitLab only because, as I understand it, I can't host more than one clone of (see also: #707) |
Beta Was this translation helpful? Give feedback.
-
|
Ok... here is code based on your proposal: 669b390 |
Beta Was this translation helpful? Give feedback.
-
|
Another possible source of confusion may be, that |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
In looking in these lines in %sys-start.reb, I wonder if it might be better separating the ideas of HOME and REBOL_HOME.
HOME should be, where appropriate, the home folder of the user.
REBOL_HOME should be where to find modules and other script-related things.
I think that it's fine that REBOL_HOME defaults to HOME + .rebol, however I don't know that it's useful inferring HOME based on a REBOL_HOME value—rather REBOL_HOME should only override the HOME + .rebol part. A few issues with this—1) I'm not sure it's a good thing pretending a user has a home folder when they don't, 2) wherever REBOL_HOME points to requires an additional .rebol folder which can get messy, and 3) it creates confusion over where user.reb should be (and becomes a visible file in the user's home folder if that's where the path resolves to).
I'd propose these changes:
This workflow creates clear distinctions between HOME, REBOL_HOME and where to put modules and user.reb
Beta Was this translation helpful? Give feedback.
All reactions