emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Viktor Sonesten <v@tmplt.dev>
To: emacs-orgmode@gnu.org
Subject: org-export-async-start: overwriting start-process NAME
Date: Mon, 24 Jan 2022 00:05:03 +0100	[thread overview]
Message-ID: <87ee4yf3fx.fsf@tmplt.dev> (raw)

I'm trying to export a PDF asynchronously, but get a void-function on
the first use-package in my init.el. I believe this is because my emacs
installation is wrapped in Nix and by default an emacs that doesn't know
about use-package is used, so I want to override the NAME given applied
on start-process in org-export-async-start.

I'm looking at the below in ox.el

      (let* ((process-connection-type nil)
             (proc-buffer (generate-new-buffer-name "*Org Export Process*"))
             (process
	      (apply
	       #'start-process
	       (append
		(list "org-export-process"
		      proc-buffer
		      (expand-file-name invocation-name invocation-directory)
		      "--batch")
		(if org-export-async-init-file
		    (list "-Q" "-l" org-export-async-init-file)
		  (list "-l" user-init-file))
		(list "-l" temp-file))) ; ...

and it seems that "org-export-process" is NAME here, but that's not
something I have in PATH.


             reply	other threads:[~2022-01-23 23:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-23 23:05 Viktor Sonesten [this message]
2022-01-24  0:25 ` org-export-async-start: overwriting start-process NAME Viktor Sonesten

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=87ee4yf3fx.fsf@tmplt.dev \
    --to=v@tmplt.dev \
    --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).