On Tue, Feb 05, 2013 at 08:57:57PM -0500, John J. Foerch wrote:
> On Tue, Feb 05, 2013 at 05:06:45PM -0800, Silvio Levy wrote:
> > 
> > > The javascript code to clear the startup-cache is as follows:
> > 
> > Ran it and then ran reinit.  No change.  Value of webjumps.foo still empty.
> > 
> > Finally I had the idea of moving /home/levy/.c to /home/levy/.cc and
> > redefining conkeror.rcfile accordingly. This fixed everything. Moved
> > it back to /home/levy/.c -- everything still working normally. That
> > is, changes in jumps.js become active upon reinit, as it used to be.
> > Caching doesn't seem to be getting in the way (but I'm saving the code
> > you sent in any case!)
> 
> I can't explain it..
> 
> > 
> > Just one loose end left to tie up: How can I load a specific file by
> > hand (say one of the files in conkeror.rcfile)?
> > 
> > Thanks a lot for your help.
> > 
> > Silvio
> 
> 
> The procedure 'load': http://conkeror.org/Modules
> 
> Personally, I generally have a MozRepl session open, and eval things as
> needed through that, instead of with conkeror's 'reinit' or 'load'.
> 

By the way, for a single file, pass an nsIFile object to 'load', not a
string.  String arguments are resolved against load_paths, which is not
what you want.  Make nsIFile objects with 'make_file':
load(make_file("~/.c/foo.js"))

-- 
John Foerch
_______________________________________________
Conkeror mailing list
[email protected]
https://www.mozdev.org/mailman/listinfo/conkeror

Reply via email to