info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: probs with firefox and gnus


From: Robert D. Crawford
Subject: Re: probs with firefox and gnus
Date: 26 Jul 2004 17:33:55 -0500
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

Xning Lee <address@hidden> writes:

Long text of problem snipped...

> my code: ( update-alternatives --config mozilla ==> firefox )

I am not sure that I understand this line.  I went under the emacs
customize area and changed the browse-url-mozilla-program to firefox.
Now this line is in my .emacs:

 '(browse-url-mozilla-program "firefox")

With the line above, and the code below in my .gnus, it no longer starts
a new process instead of using the existing one, but it takes the page
that is loaded in the active tab and replaces it with the url that is
clicked on (well, fed by RET) in the article buffer.

Is there something I missed or misunderstood?

> ==================================================================
> (defun my-browser (url &optional new-window)
>   "Open URL in a new tab in Mozilla."
>   (interactive (browse-url-interactive-arg "URL: "))
>   (when
>       (string-match ".*No running window found\.$" 
>                     (shell-command-to-string 
>                      (concat "mozilla -remote 'openurl(" url ",new-tab)'")))
>     (message "Starting Mozilla...")
>     (start-process (concat "mozilla " url) nil
>                    "/bin/sh" "-c" (concat "mozilla " url "|| true"))
>     (message "Starting Mozilla...done")))




-- 
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Robert D. Crawford                                      address@hidden

Every why hath a wherefore.
                -- William Shakespeare, "A Comedy of Errors"
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::


reply via email to

[Prev in Thread] Current Thread [Next in Thread]