From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Chany Subject: Open link file:///path/index.html with w3m-el Date: Wed, 16 Jun 2010 13:28:22 +0200 Message-ID: <878w6f5i95.fsf@debian-laptop.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=50546 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OOqnS-0000BI-7n for emacs-orgmode@gnu.org; Wed, 16 Jun 2010 07:28:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OOqnQ-000241-Sn for emacs-orgmode@gnu.org; Wed, 16 Jun 2010 07:28:41 -0400 Received: from lo.gmane.org ([80.91.229.12]:51010) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OOqnQ-00023n-N4 for emacs-orgmode@gnu.org; Wed, 16 Jun 2010 07:28:40 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OOqnK-0005FS-IG for emacs-orgmode@gnu.org; Wed, 16 Jun 2010 13:28:34 +0200 Received: from 72-142-85-95.dynamic.stcable.net ([95.85.142.72]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 16 Jun 2010 13:28:34 +0200 Received: from csanyipal by 72-142-85-95.dynamic.stcable.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 16 Jun 2010 13:28:34 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi, I have setup custom-variable 'browse-url-browser-function' to 'w3m-browse-url' but it works only with links 'http://etc./index.html When in an org file have a link 'file:///path/index.html' I want to open it with w3m-browse-url too but don't know how to setup this? I tried setup the customn-variable '(org-file-apps (quote ((auto-mode . emacs) ("\\.x?html?\\'" . w3m-browse-url) ("\\.pdf\\'" . default)))) but this doesn't work. I don't know how to write the Lisp form to this to work? How can I setup org-file-apps to open a html file with w3m-el? Any advices will be appreciated! -- Regards, Paul Chany You can freely correct my English. http://csanyi-pal.info