From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/71814 Path: news.gmane.org!not-for-mail From: Richard Riley Newsgroups: gmane.emacs.gnus.general Subject: Re: how to view links in an external browser Date: Sun, 26 Sep 2010 11:12:35 +0200 Organization: aich tea tea pea dicky riley dot net Message-ID: References: <87iq1tj5g8.fsf@jidanni.org> <8239swj3l0.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1285492409 30703 80.91.229.12 (26 Sep 2010 09:13:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 26 Sep 2010 09:13:29 +0000 (UTC) Cc: ding@gnus.org To: Sivaram Neelakantan Original-X-From: ding-owner+M20187@lists.math.uh.edu Sun Sep 26 11:13:27 2010 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OznIN-0007zW-U6 for ding-account@gmane.org; Sun, 26 Sep 2010 11:13:20 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1OznIF-00052t-Rz; Sun, 26 Sep 2010 04:13:11 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1OznIE-00052f-9Z for ding@lists.math.uh.edu; Sun, 26 Sep 2010 04:13:10 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1OznID-0007gQ-AD for ding@lists.math.uh.edu; Sun, 26 Sep 2010 04:13:10 -0500 Original-Received: from mail-fx0-f44.google.com ([209.85.161.44]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1OznIC-0002a5-00 for ; Sun, 26 Sep 2010 11:13:08 +0200 Original-Received: by fxm6 with SMTP id 6so3514220fxm.17 for ; Sun, 26 Sep 2010 02:12:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject :organization:references:date:in-reply-to:message-id:user-agent :mime-version:content-type; bh=n6b9XiP2jlpV9h6Z11sva3dtYR6blWO9hB815VD/UhM=; b=XJA+VkhVfRveLd6wCO8swM1wYghPFhahB+n7+NN3Y6W21U9SYPgAmQyg6LK7RBlg9S T4WJGJACeWdgtV5ZNv+qsGTC9J76D06UjW1yR45Gs7TbY2eKJZS0JokoZRCsJFCHQKHk xh+NJAbLZdWVSp8mYdeu3norEFw8rYQSqivlA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=from:to:cc:subject:organization:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; b=o9TNmY0vy8VhwZoqcoiKv4r4vqkb9XvOZVFu82qJewLGD624lhB0vM3BpA8BhPtec+ YcWWW6iVbcOBZa6qNs0/OxsevTrU8QZQIsZNpPO8UIxkhKJMEcwzhVye9bqAVkwvd+H7 Yefb8G+8lP4h+ZqmMYP0h8O5XKKnSa7IfcSDI= Original-Received: by 10.223.144.85 with SMTP id y21mr4770640fau.87.1285492357895; Sun, 26 Sep 2010 02:12:37 -0700 (PDT) Original-Received: from localhost ([85.183.18.158]) by mx.google.com with ESMTPS id b9sm1852097faq.7.2010.09.26.02.12.36 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 26 Sep 2010 02:12:37 -0700 (PDT) In-Reply-To: <8239swj3l0.fsf@gmail.com> (Sivaram Neelakantan's message of "Sun, 26 Sep 2010 14:15:15 +0530") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-Spam-Score: -2.0 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:71814 Archived-At: Sivaram Neelakantan writes: >> The most one can usually do with links in gnus is click them to view >> with emacs-w3m. One cannot usually get the menu one can select view in >> external browser from, by either right or left clicking. Same with ffap >> links. emacs-snapshot: Installed: 1:20100916-1 >> >> > > This setting works for me though there is a small bug in that it opens > 2 tabs instead of 1 if the browser is already running. I put the > following in the .gnus file. > > (setq browse-url-firefox-program "C:/Program Files/Mozilla Firefox/firefox.exe") > > (setq browse-url-browser-function 'browse-url-firefox > browse-url-new-window-flag nil > browse-url-firefox-new-window-is-tab t) > > With the above, if I click on a link or hit enter on the url, it opens > the link in Firefox. > > sivaram > -- > Alternatively '(browse-url-browser-function (quote browse-url-generic)) '(browse-url-generic-program "iceweasel") I prefer going to the "generic" route.