Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: ascott@sedona.intel.com (Andrew M. Scott)
Subject: Re: (setq-default browse-url-browser-function 'browse-url-mozilla)
Date: Fri, 09 May 2003 14:57:53 -0700	[thread overview]
Message-ID: <gfbfznnbx5q.fsf@chlx022.ch.intel.com> (raw)
In-Reply-To: <m2llxgk53r.fsf@sbcglobal.net>



    >>>>> "Harry" == Harry Putnam <hgp@sbcglobal.net> writes:
    Harry> Maybe a mozilla problem rather than emacs but maybe someone
    Harry> here knows what is necessary:

    Harry> This has only started happening since I switched from
    Harry> netscape to mozilla. With this in .emacs
    Harry>  (setq-default browse-url-browser-function
    Harry>  'browse-url-mozilla)

    Harry> If I have a mozilla browser running and click on a http url
    Harry> inside a gnus message the link is followed by opening a
    Harry> whole new browser frame. Previously (when set to netscape)
    Harry> it would follow the link in the same browser window.

    Harry> Is there a setting in mozilla that controls this? Looking
    Harry> thru the options under preferenecs I don't see a likely
    Harry> candidate.

Harry,

Perhaps this code from my ~/.emacs will be helpful. The test for
mozilla's existence on the current platform is of course optional.
Andy Scott


;; Use mozilla as the preferred browser if available. I also prefer
;; that new browser tabs are opened rather than new browser windows.
;; This requires a version of mozilla that supports tabs (1.2+ do)

(if (locate-library "mozilla" t exec-path)
    (progn

      (if (boundp 'browse-url-mozilla-new-window-is-tab)
           (setq 
                 browse-url-browser-function 'browse-url-mozilla
                 browse-url-new-window-flag t
                 browse-url-mozilla-new-window-is-tab t)
;;               browse-url-mozilla-program "mozilla"
                 browse-url-mozilla-arguments '("-raise"))
          ))

-- 
The opinions expressed herein are mine, *not* Intel's.
Andrew M. Scott, Intel Corporation - WCCG-DA Strategic Capabilities
Intel Corporation, M/S CH6-210 Voice: 480-554-9615 RIM PIN: 16545823
ascott@sedona.intel.com (e-mail with "PAGE" in subj to forward to RIM)


       reply	other threads:[~2003-05-09 21:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <m2llxgk53r.fsf@sbcglobal.net>
2003-05-09 21:57 ` Andrew M. Scott [this message]
     [not found] ` <87r877zvth.fsf@desktop.xx.yy>
2003-05-10  1:10   ` Harry Putnam
     [not found]   ` <m2r877ipqj.fsf@sbcglobal.net>
2003-05-10  1:34     ` Hugh Lawson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gfbfznnbx5q.fsf@chlx022.ch.intel.com \
    --to=ascott@sedona.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).