From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Chany Newsgroups: gmane.emacs.help Subject: Open in org-mode link 'file://path/file.html' with w3m-el Date: Wed, 16 Jun 2010 22:41:40 +0200 Message-ID: <87wrty4smz.fsf@debian-laptop.localdomain> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1276722462 27903 80.91.229.12 (16 Jun 2010 21:07:42 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 16 Jun 2010 21:07:42 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jun 16 23:07:40 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 1OOzpg-0006uy-Tx for geh-help-gnu-emacs@m.gmane.org; Wed, 16 Jun 2010 23:07:37 +0200 Original-Received: from localhost ([127.0.0.1]:47688 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OOzWD-0000Fx-CQ for geh-help-gnu-emacs@m.gmane.org; Wed, 16 Jun 2010 16:47:29 -0400 Original-Received: from [140.186.70.92] (port=56385 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OOzVe-0004mN-CB for help-gnu-emacs@gnu.org; Wed, 16 Jun 2010 16:46:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OOzQm-0002zd-Ho for help-gnu-emacs@gnu.org; Wed, 16 Jun 2010 16:41:53 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:49663) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OOzQm-0002zW-CR for help-gnu-emacs@gnu.org; Wed, 16 Jun 2010 16:41:52 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OOzQk-0002p9-Gh for help-gnu-emacs@gnu.org; Wed, 16 Jun 2010 22:41:50 +0200 Original-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 22:41:50 +0200 Original-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 22:41:50 +0200 X-Injected-Via-Gmane: http://gmane.org/ connect(): No such file or directory Original-Lines: 24 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 72-142-85-95.dynamic.stcable.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:+Is5NSp6X4RiQAcNz+b81k9eu+w= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:73905 Archived-At: 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