From mboxrd@z Thu Jan 1 00:00:00 1970 From: jdavidboyd@adboyd.com (J. David Boyd) Subject: Re: open in browser after html export? Date: Thu, 10 Apr 2014 13:13:31 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57287) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WYIXw-0007kZ-LX for emacs-orgmode@gnu.org; Thu, 10 Apr 2014 13:14:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WYIXp-00078u-6K for emacs-orgmode@gnu.org; Thu, 10 Apr 2014 13:13:52 -0400 Received: from plane.gmane.org ([80.91.229.3]:52298) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WYIXo-00078V-VF for emacs-orgmode@gnu.org; Thu, 10 Apr 2014 13:13:45 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WYIXo-0006l4-7U for emacs-orgmode@gnu.org; Thu, 10 Apr 2014 19:13:44 +0200 Received: from www1.g9.pair.com ([66.39.4.53]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 10 Apr 2014 19:13:44 +0200 Received: from jdavidboyd by www1.g9.pair.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 10 Apr 2014 19:13:44 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Matt Price writes: > As I understand the manual, when I export to HTMl with C-c C-e h o, > the .html file thus created should open up in my default browser, > right? Instead, it get is being opened in a new window inside Emacs, > and does not appear in a browser. i imagine I have some variable set > to a bad value somewhere -- but what variable should it be? I have > checked that browse-url and browse-url-firefox both work well on > in-text url's. Anyone know how org decides how to open an html file? > You need to start with the org variable org-file-apps. There you can define the programs that are used to open various files. In your case, you probably just need to modify the x?html? entry to point to your browser. This is not on windows, correct? just do an Meta-x customize-apropos RET org-file-apps RET modify it accordingly, and you should be in business. I'm running org-mode on emacs under Cygwin under Windows 7, and I can open html files in Chrome, and pdf files in Adobe Reader with no problems, once I set this variable correctly. Dave