From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: [PATCH] make export dispatcher go away promptly Date: Fri, 04 Feb 2011 20:03:23 +0100 Message-ID: <87vd0zbp1g.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=57539 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PlQwE-0001Ha-Lb for emacs-orgmode@gnu.org; Fri, 04 Feb 2011 14:03:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PlQwD-000183-Nj for emacs-orgmode@gnu.org; Fri, 04 Feb 2011 14:03:22 -0500 Received: from mail-ww0-f49.google.com ([74.125.82.49]:61934) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PlQwD-00017l-Ha for emacs-orgmode@gnu.org; Fri, 04 Feb 2011 14:03:21 -0500 Received: by wwb17 with SMTP id 17so2639329wwb.30 for ; Fri, 04 Feb 2011 11:03:20 -0800 (PST) In-Reply-To: (Dan Davison's message of "Fri, 04 Feb 2011 15:05:35 +0000") 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: Dan Davison Cc: emacs-orgmode@gnu.org Dan Davison writes: > Following on from Stephen's recent post, a > thing-that-slightly-bothers-me is the way the export dispatcher window > doesn't go away until export is complete. I've briefly looked at the > code twice now and it wasn't obvious to me why the save-window-excursion > (line 941 org-exp.el) wasn't already doing what I wanted. However, the > change below seems to have the effect I wanted. While this particular > solution may be a hack, I wonder whether people would prefer its > behaviour? E.g. try exporting this: > > #+title: title > > #+begin_src sh :exports results > sleep 5 && echo hello > #+end_src > > export can often take several seconds and it's nice to be able to zone > out looking at your org document rather than the dispatcher window. I applied this patch, thanks! -- Bastien