emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Don’t select-frame after Babel export
@ 2020-11-23 11:50 Titus von der Malsburg
  0 siblings, 0 replies; only message in thread
From: Titus von der Malsburg @ 2020-11-23 11:50 UTC (permalink / raw)
  To: Org mailing list


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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-11-23 11:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-23 11:50 Don’t select-frame after Babel export Titus von der Malsburg

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).