Hi Mark On Sun, Dec 13, 2009 at 5:55 PM, Mark Roddy <[email protected]> wrote: > Paulo, > Thanks for the suggestion on checking about:config. Turns out my rc > was being loaded, but it failed because one of the first lines in my > rc file was: > cwd=make_file('/home/mark/Desktop') > so none of the settings after this line were applied leading me to > think it was never loaded at all (smacks forehead). This solves my > initial issue, but brings me to two other ones: > > 1) How can I show error output of my RC file under Windows? This > would have been much easier to debug had I had this info. > > 2) Is there a way to determine what the platform is within my RC file > so I can set the variable depending on the system? Something like: > if IsWindows: > cwd=make_file('C:\\Documents and Settings\\mark\\Desktop') > else: > cwd=make_file('/home/mark/Desktop') >
Glad to hear it worked! While I don't know the answer to any of your questions, I think I can give you a pointer. Look at the file "spawn-process.js". It has code for checking if the operating system is Windows: const WINDOWS = (get_os() == "WINNT"); const POSIX = !WINDOWS; Unfortunately, I don't know if the function "get_os" can be invoked in the rc file. Paulo _______________________________________________ Conkeror mailing list [email protected] https://www.mozdev.org/mailman/listinfo/conkeror
