Feature Requests item #1762776, was opened at 2007-07-29 01:34
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=352439&aid=1762776&group_id=2439

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Priority: 5
Private: No
Submitted By: mpheath (mpheath)
Assigned to: Nobody/Anonymous (nobody)
Summary: Ignore %UserProfile% on removable drive

Initial Comment:
Hello,

I am currently rewriting some tools (other rewrites will follow) in 
SciTE4AutoIt3 (SciTE). The main reason for the rewrite is to be more compatible 
with WinNT permissions, removable drive detection and %SciTE_Home% detection, 
so paths for settings and updating of properties files and paths are 
conditionally set suitable for WinNT and to follow with SciTE's conditions 
concerning paths.

A summary of functions and sequenced order of conditional logic to assign paths 
below is what I have used in my changes to tools.

###################################
_SciteDefaultHome ( )
Scite_Home = As Set by User
Removable Drive = SciteDefaultHome
Registry = As Set in Registry
@ScriptDir = Relative (locate SciteGlobal.properties)
                
_SciteUserHome ( )
Scite_Home = As Set by User
Removable Drive = SciteDefaultHome
UserProfile = UserProfile
@ScriptDir = Relative check (locate Scite.exe)
                
_SciteDataHome ( folder )
Scite_Home = As Set by User
Removable Drive = SciteDefaultHome
Win_32 = SciteDefaultHome
Win32_NT = AppData\*\AutoIt3
###################################

If SciTE_Home is not set (as SciTE checks with detection) and if the tool 
detects that it resides on a removable drive, then it will use the removable 
drive (SciteDefaultHome)as the path.

I was considering removing the removable detection as SciTE stills uses 
UserProfile on WinNT whether it resides on a removable drive or not. My reason 
to debate change is that if you have SciTE installed and you also have SciTE on 
a removable drive, then the last thing that others(?) or myself prefer is for 
SciTE on the removable drive to read or write to the properties files in 
UserProfile of WinNT.

The change for SciTE to ignore UserProfile if on removable drive would AFAIK 
not affect Win9x or GTK. I do not have enough knowledge on GTK conditions to 
know for sure of it's effects are a benefit or disadvantage  though you may 
know.

Yes, I have considered to set SciTE_Home to use SciteDefaultHome path to start 
SciTE (I actually do on my own removable drive), but it does not safe guard 
other users to consider to set it if the tools follow removable drive 
conditions and set SciteDefaultHome. If SciTE_Home is not set then a split of 
logic starts between SciTE and the tools changes considered for SciTE4AutoIt3.

I believe my logic is beneficial enough for change in SciTE's detection of 
setting paths at startup to be considered reasonable for everyone.

Thanks for reading this and sorry I had to describe so much to show my concern 
for change.

Michael Heath

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=352439&aid=1762776&group_id=2439
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to