From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/2456 Path: news.gmane.org!not-for-mail From: ascott@sedona.intel.com (Andrew M. Scott) Newsgroups: gmane.emacs.gnus.user Subject: Re: (setq-default browse-url-browser-function 'browse-url-mozilla) Date: Fri, 09 May 2003 14:57:53 -0700 Organization: Intel Corporation Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138668881 15181 80.91.229.2 (31 Jan 2006 00:54:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 00:54:41 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:30:43 2006 Original-Path: quimby.gnus.org!newsfeed1.e.nsc.no!nsc.no!nextra.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed!bigboote.WPI.EDU!news.tufts.edu!uunet!dca.uu.net!news01.intel.com!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-NNTP-Posting-Host: chlx022.ch.intel.com Original-X-Trace: news01.intel.com 1052517475 13371 143.182.225.42 (9 May 2003 21:57:55 GMT) Original-X-Complaints-To: usenet@news01.intel.com Original-NNTP-Posting-Date: Fri, 9 May 2003 21:57:55 +0000 (UTC) User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3.50 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEW9iF0bBwP0uoqJazrO rof11KlfOxn+68WjfMNuAAACc0lEQVR4nEWUzarbMBCFp5ZJ16LgdRDyXkGu1kKRm+1FWHgbI9AD lBv8+j0jx6ngXifz+cyfZkL1OLYd8uSjsNYISzAWa/Hn6jYU0wNZQ5HeAFbZTjVQ9THGU/G2S1mM Z3sk61jwscvBUoxzBuDj2Ak/KyQQ5JwZCAgGfM9LJLcNE9sZGIv3nnHd9z0vwkGyzPNKlgiOSsf2 /ZW92AaD2CsRiU0WGvd2svKukQzQPq0HeCUtbrJODLyTQx/egCUXeJ4zRQ9PcfwASJDjvAPghXCC V86KUO3vnZa7lGbO+QQJ4QcG+Y8cTDgBXKmrk//BJwaiM3jA1Q85UBgPySupVskb/KLOC8u1J74k stvwaK4KUdQxQJN0H7WwTZHvAEFTP+Y1K6WjuopD8SWfvcJ1jgoZ8QcF8JPB8AywoDIGKYYRTeJ0 l2paTg3wM1/fwJpWBYBi8MrXS+UY2dOYjxI0A7xxKSuDhdr3pJIKh/QyAYw5kVobyCnyRSJGh7EI AO1FHbNqF5YA7pWi0tS6IWzvy9T64qaLxNgB5PUvqrJ8yfOefe1vkgfYo02LO4d6RIx+k8QHce64 z8KTNwS4wpMMGdHl/CVMjzRcMWPyPOIYUbLo7BK5ynSFOp/A2j7zcBDyow51CXkCcwCsGZqQdMuD CoPAHcfRHf5591HYbmQAWcDjvh2AV+3JhpH7rsLhSRLvpiu9OlwF3YsqeVUbqNhvdpU09tuVGm8N VFdIMEEMLVw1dr4fYCvRO4MKeQqr8fZxgmeMwhnMShS19No+sBq8DHL6iu2nhVwtndJ2jgCc2vQd 0A6gMsXAwL9B/82Z8tqnqN7gH0y3CanOY+xAAAAAAElFTkSuQmCC Cancel-Lock: sha1:iYgXeIsDe3xJP/KogFXdfa/dSqQ= Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:2596 Original-Lines: 48 X-Gnus-Article-Number: 2596 Tue Jan 17 17:30:43 2006 Xref: news.gmane.org gmane.emacs.gnus.user:2456 Archived-At: >>>>> "Harry" == Harry Putnam 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)