Quote:
Originally Posted by BetterRed
I assumed the <SIGIL_DEFAULT_TEMP_HOME> was an oblique reference to an Environment Variable. I discovered it wasn't after some experimentation with an environment variable editor; took me a while to fathom it is probably an oblique reference to a #define in the code.
|
Nope. It's a placeholder. Nothing more. It's an easy way to tell if the default setting has been changed. It's apropos of nothing.
Quote:
Originally Posted by BetterRed
The Open With <whatever> will open selected file in the Sigil-xxxxx directory Sigil creates in the <SIGIL_DEFAULT_TEMP_HOME> directory.
Here's me editing one of the xhtml files in an epub using Notepad++ that I initiated via Sigil's Open With feature.
|
And?
Quote:
Originally Posted by BetterRed
Does that explain why it's not an environment variable, i have had Mac users tell me, disdainfully, that Macs don't have environment variables because they (envars) are another 'crappy' Windows 'thing' Ψ³
|
Anyone who tells you that environment variables are another crappy Windows thing is an idiot.
Quote:
Originally Posted by BetterRed
OT and FWIW: The environment variable SIGIL_PREFS_DIR can be used to relocate the location of Sigil's Preferences directory - even on a MacOS system.
BR
|
That's because environment variables exist/work in MacOS. Contrary to what anyone has disdainfully told you about them. I can't imagine why any
knowledgeable Mac user would tell you Macs "don't have them."
But no. <SIGIL_DEFAULT_TEMP_HOME> is not an environment variable because it's not an environment variable. I don't know how else to explain it. It's an unspecified default value, or it's a file path manually selected by the user.