From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Pedro Insua Newsgroups: gmane.emacs.help Subject: Re: How to setup w3m-el as a default browser on GNU system? Date: Thu, 17 Jun 2010 23:28:40 +0200 Message-ID: <20100617212840.GB4799@Zsdrums> References: <87k4pxkbjd.fsf@debian-laptop.localdomain> <20100617170705.GA4799@Zsdrums> <87ljad4bty.fsf@debian-laptop.localdomain> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1276810089 24964 80.91.229.12 (17 Jun 2010 21:28:09 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 17 Jun 2010 21:28:09 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jun 17 23:28:08 2010 connect(): No such file or directory Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OPMcW-0004W2-KT for geh-help-gnu-emacs@m.gmane.org; Thu, 17 Jun 2010 23:28:07 +0200 Original-Received: from localhost ([127.0.0.1]:56209 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OPMc4-0007d3-Fn for geh-help-gnu-emacs@m.gmane.org; Thu, 17 Jun 2010 17:27:04 -0400 Original-Received: from [140.186.70.92] (port=57470 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OPMbf-0007aP-2z for help-gnu-emacs@gnu.org; Thu, 17 Jun 2010 17:26:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OPMbc-0001ZA-SO for help-gnu-emacs@gnu.org; Thu, 17 Jun 2010 17:26:38 -0400 Original-Received: from mail-ww0-f41.google.com ([74.125.82.41]:63447) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OPMbc-0001Z2-NZ for help-gnu-emacs@gnu.org; Thu, 17 Jun 2010 17:26:36 -0400 Original-Received: by wwb34 with SMTP id 34so382636wwb.0 for ; Thu, 17 Jun 2010 14:26:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:mail-followup-to:references:mime-version:content-type :content-disposition:content-transfer-encoding:in-reply-to:universe :user-agent; bh=wl4xLwl/bmR+6othXtWrUA8s+rlcLfaJWujYg5gpCk0=; b=gxA33fm3NNfyuHx/ecOOAtWC5vRTkBYBVgyWIxVMe/nXNHamt1b3IYKloVeOgcMSTS SJOlQ6WY3zleXnN02jdwc4RQm4GWFfXltnuZJPwiB3NlVrHEgrwPod6gLIyHD+G8KVGQ p6SjZVyWLS9luCFl9kqma5U3fvrOhEZplSBqk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition :content-transfer-encoding:in-reply-to:universe:user-agent; b=X27p7ataKVnjYaZ8ThvD5JU4FIQw0TcMY/jd8TXU0h0p5r91UKPz//99hLc2kADvsx sAcSur2NcBA7M05s2AdUuzBV1rbMZnosMxzZ9lkflhvkXtS8LI9TlT6woN36MvqR1gtX A8nSGjsttRss2VLvhpn/oPUUXhl+fxOc3HmJ8= Original-Received: by 10.227.152.204 with SMTP id h12mr109669wbw.108.1276809995934; Thu, 17 Jun 2010 14:26:35 -0700 (PDT) Original-Received: from localhost (207.88.165.83.dynamic.mundo-r.com [83.165.88.207]) by mx.google.com with ESMTPS id y31sm67045945wby.22.2010.06.17.14.26.34 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 17 Jun 2010 14:26:35 -0700 (PDT) Mail-Followup-To: help-gnu-emacs@gnu.org Content-Disposition: inline In-Reply-To: <87ljad4bty.fsf@debian-laptop.localdomain> Universe: www.gnu.org User-Agent: Mutt/1.5.20 (2009-06-14) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:73917 Archived-At: On Thu, Jun 17, 2010 at 10:56:57PM +0200, Paul Chany wrote: > Pedro Insua writes: > > > On Thu, Jun 17, 2010 at 03:56:38PM +0200, Paul Chany wrote: > >> I need this setup because when in org-mode and want follow a link to a > >> file://path/some.html then an xterm being started and on it w3m as a > >> default browser. I try to setup Emacs and org-mode to open this file in > >> Emacs buffer in w3m-el but without any success. What am I missing here? > > > > Take a look at: > > > > http://www.emacswiki.org/emacs/BrowseUrl > > Thanks! I follow advices red here and setup variables: > ‘browse-url-browser-function’ > ‘browse-url-generic-program’ > > > Or put in your .emacs file something like: > > > > '(browse-url-browser-function (quote w3m)) > > I have now in my .emacs file: > '(browse-url-browser-function (quote w3m-browse-url)) > '(browse-url-generic-program "w3m-browse-url") > > and still when I C-c C-o on a file://path/some.html link, an xterm > appeare and on it w3m with the opened file! :( > > What am I missing here? > mmm, I'm Debian user too.. do you have w3m-el package installed? I've have some problems with jde and w3m to see Java classes documentation, but with org-mode with the above '.emacs' lines none. -- Porqué loitar e matar, se podes amar e sonhar /"\ \ / CAMPANHA DA FITA ASCII - CONTRA MAIL HTML X ASCII RIBBON CAMPAIGN - AGAINST HTML MAIL / \