On Sun, Dec 13, 2009 at 6:35 PM, Paulo Tanimoto <[email protected]> wrote:
> Hi Mark,
>
>> Hi everyone,
>> I've been using Conkeror under CentOS for several weeks now and have
>> been enjoying it thuroughly.  I have to work under Windows
>> occasionally, and I am having trouble with my conkerorrc when I do.  I
>> am unable to get conkeror to load my rc file when I'm running under
>> Windows XP.  I've tried all the suggestions on the rc page here:
>> http://conkeror.org/ConkerorRC
>>
>> But I am still unable to get my RC file to load.  I tried both
>> specifying the path to the rc file from via the command line and via
>> 'M-:', and I've also tried moving the file around to different
>> directories to make sure there weren't any issues with the path such
>> as spaces in directory names which causes problems for some apps under
>> Windows.  I am also using the '\\' slash escaping for the directory
>> separators on stated on the page above.
>>
>
> Interesting, I just started using Conkeror and tried to figure this
> out yesterday.  But in my case it did work.  To review, I saved a file
> ".conkerorrc" in directory and typed:
>
>  M-: user_pref('conkeror.rcfile', 'c:\\tmp\\.conkerorrc');
>
> I then double-checked the backslashes in about:config, looking at the
> conkeror.rcfile entry.  They show up as single backslashes.
>
> Not sure if it makes a difference, but I'm using the version from the
> Git repository.
>
>> Has anyone else experienced this issue and/or have a solution?
>> Alternatively, does anyone have any suggestions for debugging the
>> issue?  When running under Linux, if I launch from a shell conkeror
>> spits out information to the shell that I've found useful for
>> debugging issues in my RC file, but under windows I see no such
>> information displayed under a windows shell.
>>
>
> I'd be curious too, for the same reason.  On Linux it was easy to see
> what I was doing wrong when learning to set up my conkerorrc file, but
> on Windows it seems tricky to know what's going on.
>
> Let me know if you want me to test/compare anything else!
>
> Paulo
>
> PS: I joined the list after reading Mark's email, so I'm not sure if
> my email will show up as a reply to his.
> _______________________________________________
> Conkeror mailing list
> [email protected]
> https://www.mozdev.org/mailman/listinfo/conkeror
>

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')

Thanks,
-Mark
_______________________________________________
Conkeror mailing list
[email protected]
https://www.mozdev.org/mailman/listinfo/conkeror

Reply via email to