all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Titus von der Malsburg <malsburg@posteo.de>
To: Org mailing list <emacs-orgmode@gnu.org>
Subject: Don’t select-frame after Babel export
Date: Mon, 23 Nov 2020 12:50:29 +0100	[thread overview]
Message-ID: <87zh388f7e.fsf@posteo.de> (raw)


When I export an org document to PDF via Babel, the frame is select at the end of the process.  Is there a way to prevent this?

Example:

1. Request exporting the following org file to PDF via `C-e C-p`:

  This is a test:

  #+BEGIN_SRC elisp :eval yes :exports both
  (sit-for 3)
  (print "Done!")
  #+END_SRC

2. Then immediately iconify the Emacs frame.
3. Wait until the end of the 3 seconds.
Result: The Emacs frame will be raised and focused.

Background: I often export computation-heavy org documents and work on something else in the meantime.  I don’t want Emacs to interfere with that other work when it’s done exporting.

  Titus


                 reply	other threads:[~2020-11-23 11:51 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zh388f7e.fsf@posteo.de \
    --to=malsburg@posteo.de \
    --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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.