wishlist - alpha sort and logical grouping in configed

Brian K. White brian at aljex.com
Fri Nov 11 10:20:16 PST 2005


configed: button to alphabetize the file (by variable name) and group common 
items that wouldn't group automatically by alphabetizing.

Examples, printers would seem to group well enough just by alphabetizing, 
but if you had a miscelanious variable like printer1addr it would get mixed 
in with the "real" printer variables, which might not be so bad but the 
point of grouping the printers would be to see at a glance whethere or not 
say 4 is already used, and to spot gaps in the sequential numbering above 9. 
So really nothing but actual fp printer variables should be included in the 
cluster.
The color variables wouldn't group at all just by alpha.

For backwards compatibility with current copies of configed that insist on 
moving two color variables to the end of the file, and to provide a 
consistent place for the printers rather than in the middle of the p's, the 
resulting file should be: colors at the bottom, above that the printers, and 
the rest of the file alphabetized above that. When such a file is opened and 
saved by an old configed, it won't screw up the colors group.

Not sure if any other significant logical groups exist, at least not without 
intruding on differing personal preferences for how to group them. Possibly 
the toksizes. Otherwise you get into something like the way the help files 
group the variables into the sections like path, display, debugging, etc... 
some of which I wouldn't group exactly that way for example.

Maybe that could be an option of the button, to organize the whole file to 
match the help file with any unrecognized variables together in their own 
section. It could probably just read the help file to do it too so it'd be 
self maintaining. I think I'd preffer my original simpler format myself 
though.

Brian K. White  --  brian at aljex.com  --  http://www.aljex.com/bkw/
+++++[>+++[>+++++>+++++++<<-]<-]>>+.>.+++++.+++++++.-.[>+<---]>++.
filePro  BBx    Linux  SCO  FreeBSD    #callahans  Satriani  Filk!




More information about the Filepro-list mailing list