From: Nick Dokos <nick@dokosmarshall.org>
To: Eric S Fraga <e.fraga@ucl.ac.uk>
Cc: skip <scp0801@gmail.com>, nicholas.dokos@hp.com, emacs-orgmode@gnu.org
Subject: Re: Re: view in browser
Date: Mon, 28 Feb 2011 18:02:15 -0500 [thread overview]
Message-ID: <29135.1298934135@alphaville.dokosmarshall.org> (raw)
In-Reply-To: Message from Eric S Fraga <e.fraga@ucl.ac.uk> of "Mon, 28 Feb 2011 20:34:57 GMT." <87mxlfvqxa.fsf@ucl.ac.uk>
Eric S Fraga <e.fraga@ucl.ac.uk> wrote:
> skip <scp0801@gmail.com> writes:
>
> > I used to be able to do C-x C-e b to view the org file in a browser.
> > Now it just generates the file but not
> > open the browser. Same with PDF. Don't know what changed, but how do I
> > get back the functionality? Thanks.
>
> Assuming you meant =C-c C-e b=, this does not work for me either;
> however, =C-c C-e d= does work and opens the PDF in docview. For
> symmetry, I would have liked =b= to open my html in emacs w3m, I guess?
>
As I mentioned, C-c C-e b works fine for me: Org-mode version 7.4
(release_7.4.530.g3c69).
The precise way it works however depends on whether you are
on a GNU system (default: use mailcap), MacOSX (use specific applications or
default "open") or Windows (use w32-shell-execute open). All cases are
funnelled through the org-open-file function though, so tracing that
should tell you what's broken. The relevant variables are org-file-apps
and org-file-apps-defaults-{gnu,macosx,windowsnt}.
In my case (Ubuntu 10.10), I get a default "mailcap" map which takes
"text/html" to the entry in the system /etc/mailcap:
"/usr/bin/sensible-browser", a shell script which eventually opens the
file in firefox.
As for opening it in emacs w3m, I don't know how to do that.
Nick
next prev parent reply other threads:[~2011-02-28 23:02 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-26 21:01 view in browser skip
2011-02-28 18:06 ` skip
2011-02-28 20:34 ` Eric S Fraga
2011-02-28 21:42 ` Sébastien Vauban
2011-02-28 23:02 ` Nick Dokos [this message]
2011-03-01 9:01 ` Eric S Fraga
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=29135.1298934135@alphaville.dokosmarshall.org \
--to=nick@dokosmarshall.org \
--cc=e.fraga@ucl.ac.uk \
--cc=emacs-orgmode@gnu.org \
--cc=nicholas.dokos@hp.com \
--cc=scp0801@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).