On Mon, Dec 06, 2010 at 01:07:04PM +0800, zwz wrote: > "John J. Foerch" <[email protected]> writes: > > > On Sun, Dec 05, 2010 at 05:06:48PM +0800, zwz wrote: > >> I am an Emacser and now starting using Conkeror. > >> I really enjoy it! > >> > >> However, in comparison to Emacs, I find Conkeror not-such-extensible > >> 1. On Windows, if I start Conkeror from MSYS/bash which exports $HOME, > >> Conkeror still has no idea about the path "~" and does not load the > >> rc-file. And it is annoying that "/" can not be used as the path > >> separator. > >> 2. "shell-command" is not supported, and I cannot use emacsclient to > >> edit the text field. I just wonder if it is possible to > >> assign a shell-program (variable) to enable shell-command, just like > >> what emacs does. > >> 3. Is it possible to define where the extensions (or the profile) > > should > >> go? On windows, it currently goes to somewhere in "c:\Documents and > >> Settings\admin\Application > >> Data\conkeror.mozdev.org\conkeror\Profiles\". But personally, I would > >> like it to go to some directory in the Conkeror master repository so > >> that I can easily port it to other computers. > >> > >> Since I am not familiar with Xulrunner, I don't whether my request is > >> feasible or not. Just a few thoughts. > >> > >> Btw, does the javascript_debugger-0.9.88.1 (Venkman) work in the > > latest > >> Conkeror? The wiki says that it can be used by "M-x venkman", but I > > find > >> no such command. > >> > >> Best regards, > >> zwz > > > > > > Hi, > > > > 1,2: Glad you like conkeror. Our development on the Windows platform is > > lagging a bit, as I don't have a machine available for Windows > > development > > and testing. :-\ > It is understandable, since Windows is never the best option for > development. :) > > I installed MSYS/MINGW to make my Windows Linux-like, so that in Emacs I > need not care the difference of OS. I achieved this by setting HOME (and > other things) during the start-up of Emacs on Windows (not on Linux). > Therefore the system HOME is not changed for ever but only temporarily > within the Emacs process. This enables Emacs to run in a separate > context. > > I mentioned 1&2&3 for the same reason. However, currently when I start > Conkeror within Emacs (where $HOME is some dir/to/my/.emacs, say, > 'd:/emacs/home/.emacs'), Conkeror still tries to load the rc-file in > 'c:\Documents and Settings\admin\', not "~/.conkerorrc". > > I found two workarounds: > 1. write a shell script by setting the location of my rc-file > #+BEGIN_SRC sh > /xulrunner/xulrunner.exe /xulrunner/apps/conkeror/application.ini -E > 'default_pref("conkeror.rcfile", "d:\\emacs\\home\\.conkerorrc");' "$@" > #+END_SRC > It succeeds the first time I run the script within Emacs. However, the > next time I run it within Emacs, there comes a alert dialog saying "d: > is not a supported protocol". I guess it is a bug. > > So I have to fall back to the second method: > 1. set the location once for ever in Conkeror by M-: user_pref > It is acceptable. > > BUT for "shell-command", it seems not supported at all on Windows, > because the minibuf says "Your OS is not yet supported" when I try to > run some commands (for example, view_source_use_external_editor). > I am really long for the shell-command-support, is it impossible by > assigning a shell-program (variable) to enable shell-command, just like > what emacs does? > > > > > 3: yes. When you make a profile with 'conkeror -ProfileManager' you can > > set the profile directory. I'm not sure it's wise to share profiles > > across different machines though. There could be all kinds of problems > > with that. > > I agree with you. The wiki says Conkeror looks for plugins in dir > "plugin" first, which is really helpful to make Conkeror run in a closed > context. That is why I asked whether it is possible to tell Conkeror to > look for extensions in some dir in the master repository. But there > maybe some differences between plugins and extensions. > > > > > > To get the M-x venkman command, put the following in your rc (or eval it > > with M-:) > > > > require("venkman"); > Thanks. Now it works like a charm. >
I think we will probably resolve the problem you're seeing with $HOME. Since $HOME is not an official environment variable in Windows, Conkeror doesn't look for it, but there seems little harm in adding support for it for people who use conkeror in an environment like you do, where it is set. I summarized the situation on our bug tracker: http://bugs.conkeror.org/issue322 If anybody has any rationale why this change should not be made, please speak now. :) -- John Foerch _______________________________________________ Conkeror mailing list [email protected] https://www.mozdev.org/mailman/listinfo/conkeror
