On Thu, Sep 16, 2010 at 02:21:31PM -0400, Joe Python wrote:
> I have a  windows shortcut to conkeror in C:\conkeror\conkeror.lnk.
> If I click the shortcut directly from windows Desktop, I am able to open
> conkeror without issues.
> 
> However in order to invoke conkeror from emacs, in my dot emacs file, I tried
> the following config (as per documentation) and it wont work:
> 
> 
> (setq browse-url-browser-function 'browse-url-generic
>       browse-url-generic-program  "C:/conkeror/conkeror")
> 
> will give me a output
> Searching for program: no such file or directory, C:/conkeror/conkeror
> 
> If I use the following configuration instead:
> 
> (setq browse-url-browser-function 'browse-url-generic
>       browse-url-generic-program  "C:/conkeror/conkeror.lnk")
> 
> 
> Searching for program: permission denied, C:/conkeror/conkeror.lnk
> 
> Is there is a way to get around this? (other than changing the OS ;))
> 


My Windows skills are a bit rusty but there are a couple different things
to try:

  (setq browse-url-browser-function 'browse-url-generic
        browse-url-generic-program  "C:/path/to/xulrunner.exe"
        browse-url-generic-args     '("c:\\conkeror\\application.ini"))

Or:

  (setq browse-url-browser-function 'browse-url-generic
        browse-url-generic-program  "start"
        browse-url-generic-args     '("c:\\conkeror\\conkeror.lnk"))

Or:

  Create a batch file that launches Conkeror.


I would be curious which, if any, of these work.

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

Reply via email to