John J. Foerch wrote:

> On Mon, May 30, 2011 at 04:20:04PM -0400, Joe Fineman wrote:

> > I am running an antique Conkeror (from 2008) under Windows XP.  It
> > interfaces satisfactorily with my Emacs 22.3.1 running with
> > Cygwin.
> > 
> > With the help of a friend, I have been trying to upgrade it.  He
> > succeeded in downloading Conkeror 0.9.3 and Xulrunner 1.9 and
> > getting them to run.  However:

> XULRunner 1.9 is very old.  I recommend using a newer version.

That was a mistake.  It is actually 2.0.

> > 1.  He did not succeed in getting Emacs to communicate with it.  My
> >     present code for that purpose, in my ~/.emacs, is
> >     -----------------------------------------------------------------
> >     (setq 
> >      browse-url-browser-function 'browse-url-generic
> >       browse-url-generic-program "c:/conkeror/conkeror.exe")
> > 
> >       (setq gnus-button-url 'browse-url-generic
> >           browse-url-generic-program "c:/conkeror/conkeror.exe"
> >              browse-url-browser-function gnus-button-url)
> >     -----------------------------------------------------------------
> >     Adding ".lnk" to the filename does not do the job, and neither
> >     does any of several strenuous workarounds that my friend
> >     tried.  Either nothing happens, or permission is refused.
> >     Changing the permission in Cygwin makes the new Conkeror
> >     accessible from the Cygwin shell and from Windows, but not
> >     from Emacs.

> How is Cygwin involved with Conkeror?  Conkeror is Windows compatible.
> The normal way to launch Conkeror is to do:

>   /path/to/xulrunner /path/to/conkeror/application.ini

> You could put this in a batch file or a shortcut file.

With the help of this hint, my friend (who is a programmer but not an
expert at Emacs or Conkeror) managed to bring it around (using a batch
file; a shortcut file did not work).  For the record, the code in
~/.emacs had to be changed to

----------------------------------------------------------------------
(setq 
 browse-url-browser-function 'browse-url-generic
 browse-url-generic-program "c:/conkeror/conkeror.bat")

(setq gnus-button-url 'browse-url-generic
 browse-url-generic-program "c:/conkeror/conkeror.bat"
       browse-url-browser-function gnus-button-url)
----------------------------------------------------------------------

and c:/conkeror/conkeror.bat had to be

----------------------------------------------------------------------
"c:\XULRunner 2.0\xulrunner\xulrunner.exe" c:\conkeror\application.ini %1
----------------------------------------------------------------------

It is important to use backslashes to please Bill Gates.  There was
also an environment variable to be set, I forget where.

> > 2.  The scroll wheel on my trackball does not work.  It works
> >     everywhere else, including the old Conkeror.

> Would have to ask other Windows users about this.  Haven't had this
> sort of problem myself.

Miraculously, that problem disappeared as well.

Thanks very much for your help & patience.
-- 
---  Joe Fineman    [email protected]

||:  Affection and attention, how allied!          :||
||:  What thin partitions love from grace divide!  :||
_______________________________________________
Conkeror mailing list
[email protected]
https://www.mozdev.org/mailman/listinfo/conkeror

Reply via email to