emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Gary ." <emacs-orgmode@garydjones.name>
To: emacs-orgmode@gnu.org
Subject: Re: Exporting to HTML opens resulting file
Date: Thu, 8 Apr 2010 16:22:53 +0200	[thread overview]
Message-ID: <q2z5bb689681004080722o55e71b53k6060c68239b1e7c3@mail.gmail.com> (raw)
In-Reply-To: <BF72487B-294F-4A01-96B7-D6A5CA1E4078@gmail.com>

On Thu, Apr 8, 2010 at 3:54 PM, Carsten Dominik wrote:
>
> On Apr 8, 2010, at 3:34 PM, Xin Shi wrote:
>
>> I had a similar request before but never get solved. I support this
>> request.
>
> (setq org-export-kill-product-buffer-when-displayed t)
>
> will do this when the exported file is shown immediately, so
> the buffer will be removed during `C-c C-e b',

Aha!

Err... what exactly does "browse immediately" mean? I am guessing it
uses the browse-url-browser-function to open the produced page in a
browser? In my case that points to Firefox, and indeed I can `C-c C-o'
on a link in a .org file and it opens nicely. Nothing browser-like
happens if I `C-c C-e b', however...

> but not during `C-c C-e h'
>
> I guess we could have a variable that always removes the buffer.....

*choke*

Well, not for me. I mean, I *do* want to export and then look at the
result, hence I don't want the "product buffer" open as well. I just
wasn't aware of this connection between "browse immediately" and
killing the product buffer. It doesn't seem that
org-export-kill-product-buffer-when-displayed exists in the version I
have, however :-(

  reply	other threads:[~2010-04-08 14:22 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-08  8:11 Exporting to HTML opens resulting file Gary .
2010-04-08 13:34 ` Xin Shi
2010-04-08 13:54   ` Carsten Dominik
2010-04-08 14:22     ` Gary . [this message]
2010-04-08 15:44       ` Carsten Dominik
2010-04-09  9:49         ` Gary .
2010-04-09 12:23           ` Carsten Dominik
2010-04-08 18:23     ` Xin Shi
2010-04-08 19:19       ` Livin Stephen Sharma
2010-04-08 20:55       ` Carsten Dominik

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=q2z5bb689681004080722o55e71b53k6060c68239b1e7c3@mail.gmail.com \
    --to=emacs-orgmode@garydjones.name \
    --cc=emacs-orgmode@gnu.org \
    /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).