On Wed, 16 Jul 2003 12:52:33 +0200 (CEST) Robert Vazan <[EMAIL PROTECTED]> wrote:
RV> Grand list of configuration entries that hold folder name is usable and RV> I considered it along with other alternatives, but: RV> RV> - Module private configuration fragments it into multiple sublists Yes. RV> - Renaming code is *added* while referencing code *changes* original RV> code. Adding is easy to forget. Right. RV> - I noticed some script with embedded folder names in filters dialog RV> - If Python will ever work, scripts might need identifiers (we are not RV> going to rename in scripts) Agreed. RV> Anything more complicated than list of configuration entries is IMO RV> extra effort and likely bug source. Ok, I think I'm convinced. I even thought of another advantage: we could allow renaming the "system" folders (Inbox/New Mail/...) which is not possible now. RV> > Yes. BTW, in answer to your other message in this thread: plain text RV> > config is not just a by product of using wxConfig, I do like using plain RV> > text for everything as debugging is much simpler with it and I'd like to RV> > keep it. The only problem is that it's so inefficient :-( RV> RV> It's not necessary to use strings at run-time, they are needed only for RV> parsing and saving. Parsing 5KB shouldn't take too long. It's handy to add entries to registry while running the program sometimes (and I regret that you can't do this under Linux). But maybe we could simply have "Reparse config" command in "Debug" menu instead. Actually this is a very good idea -- it's simple and it should make serious difference performance-wise. Definitely something which should be done. RV> Folder tree and other code that uses visible names will need some RV> support code to translate visible name to wxConfig group name. I think all code should use only internal (i.e. wxConfig group) names internally. Am I missing something? RV> As far as group name is identifier, not visible name, most code will RV> stay as is, because most of the time, it actually needs identifier. I'd say always, in fact, except when showing it to the user, no? Thanks for your ideas! VZ ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Mahogany-Developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mahogany-developers