On Fri, Dec 10, 2010 at 01:34:24PM +0800, zwz wrote: > "John J. Foerch" <[email protected]> writes: > > > On Fri, Dec 10, 2010 at 12:00:09PM +0800, zwz wrote: > >> "John J. Foerch" <[email protected]> writes: > >> > >> > On Thu, Dec 09, 2010 at 01:34:37PM +0800, zwz wrote: > >> >> "John J. Foerch" <[email protected]> writes: > >> >> > >> >> > On Thu, Dec 09, 2010 at 12:09:17PM +0800, zwz wrote: > >> >> >> > >> >> >> I tried in the same dos cmd again by "set HOME=d:/emacs/home", > >> >> >> Conkeror still does not show up. > >> >> >> > >> >> >> I checked your patch, and I think it should have solved the > >> > problem. > >> >> >> > >> >> >> Is there any tools and procedures to debug the start-up of > >> > Conkeror? > >> >> >> > >> >> >> Best regards, > >> >> >> zwz > >> >> > > >> >> > > >> >> > With these kinds of problems, I typically resort to putting > > dumpln' > >> >> > calls > >> >> > into the source. But I'm not sure if dumpln works normally on > >> > Windows or > >> >> > whether additional steps are necessary, like passing -console on > > the > >> >> > command line. Try it if you like. > >> >> > > >> >> > I hope some other Windows users can step up and help figure out > >> > what's > >> >> > going on. I don't like it when Conkeror is in an "in between" > > state > >> > like > >> >> > this. > >> >> > >> >> Yes, I can use dumpln by passing -console on the cmdline, dumping > >> >> messages on a new console which closes immediately when errors come > >> > up. > >> >> Is there any functions to make the console wait for a key press > >> >> (like getchar() in C) or sleep for some time? > >> >> > >> >> Anyway, I finally figure out the root of the problem. > >> >> #+BEGIN_SRC js > >> >> home=home.replace("/", "\\"); > >> >> #+END_SRC > >> >> should be replaced by > >> >> #+BEGIN_SRC js > >> >> "home = home.replace(/\//g, "\\");" > >> >> #+END_SRC > >> >> which replace all the occurrences of "/" with "\". > >> >> > >> >> > >> >> Please apply the patch. > >> >> > >> >> Here is another bug I think: > >> >> The wiki says Conkeror loads the ~/.conkerorrc by default. > >> >> Now I clear the property "conkeror.rcfile", and find that > >> >> "~/.conkerorrc" is not loaded by default (load_rc is not called). > >> >> > >> > > >> > > >> > Okay, thank you. Please try it now. I don't think that conkeror has > > a > >> > bug concerning failing to load the default rc. That's a well-tested > >> > feature. There must be some other reason it failed for you, perhaps > >> > because of the error we've been debugging. > >> > >> I did not see the patch applied in the repository. > >> Is it located on http://repo.or.cz/w/conkeror.git? :) > >> > > > > > > Oops. Now it is. > > OK. > > Now I am long for the support of shell command. > In my rc-file, I set > editor_shell_command = "emacsclient -c"; > view_source_use_external_editor = true; > > Whenever I use it, the minibuf says: > Error: shell_command: Your OS is not yet supported. > > I don't know whether this feature is inherent in Xulrunner or not. > If it is not, I think it should be added with some effort, like > > 1. the user can set what is the shell ("bash", "cmd", etc.) > 2. all the xxx_shell_command can be expanded to full path by looking in > env-var PATH > 3. run the xxx_shell_command in the shell >
Unlike the comparatively simple problem we just worked through, there is absolutely no way I can do this one without a windows machine to develop it on. -- John Foerch _______________________________________________ Conkeror mailing list [email protected] https://www.mozdev.org/mailman/listinfo/conkeror
