From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id ECgeNv3h7WHH8wAAgWs5BA (envelope-from ) for ; Mon, 24 Jan 2022 00:17:17 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id mA9hM/3h7WEKHgAA9RJhRA (envelope-from ) for ; Mon, 24 Jan 2022 00:17:17 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 70EA824979 for ; Mon, 24 Jan 2022 00:17:17 +0100 (CET) Received: from localhost ([::1]:45356 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nBm6m-0000Hb-KS for larch@yhetil.org; Sun, 23 Jan 2022 18:17:16 -0500 Received: from eggs.gnu.org ([209.51.188.92]:56322) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nBm6N-0000HE-CM for emacs-orgmode@gnu.org; Sun, 23 Jan 2022 18:16:51 -0500 Received: from out0.migadu.com ([94.23.1.103]:34056) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nBm6L-00034J-14 for emacs-orgmode@gnu.org; Sun, 23 Jan 2022 18:16:50 -0500 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tmplt.dev; s=default; t=1642979797; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=kWKkvudFG+JGZmqY5Gc3w6HYWmarQYue4G8QnoluJOg=; b=Tzja0evlBpOuECI5ztjcpqT6Gp1RaFNunGYvU7PXvjASZWY0JZiAE1p0yPhBxShd4USkd3 Uc4Owi8lYXssuxOK57LE4TpnGOBTDYT74FCnr19FFilmCLTYFsd8KxOqmVZmQL5q3s49O3 cI9ipEGPLOxRIydMt6E2XBUSdKfSnUc= From: Viktor Sonesten To: emacs-orgmode@gnu.org Subject: org-export-async-start: overwriting start-process NAME Date: Mon, 24 Jan 2022 00:05:03 +0100 Message-ID: <87ee4yf3fx.fsf@tmplt.dev> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=94.23.1.103; envelope-from=v@tmplt.dev; helo=out0.migadu.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1642979837; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=kWKkvudFG+JGZmqY5Gc3w6HYWmarQYue4G8QnoluJOg=; b=K4oZSPZu96TS5iLdKwWomHXJPI7fRwmBZFhNm+kgw8xkH6UIZEG9pU3XAY7V7R9WroK9Yd AjeqjVZ7G32kGvzfcTBBGalurUb+VjK1FAArOh65pUO9YVWQOy+SlkVrM5fb6K6wWGhHcV 6eyAr3r+K9d9D+PCwD+y0giF0kfbs+FzmoalCPeD89zfKD5BJQ+05VDP6Wtyqb09cdo+I2 6checbto4OgUgx+S1uqBASAtKtzWVRizggIIKUpah7sNnNXLxCiPRNHwOTZln8MMbbbOsK otl5XOtlU5xnZCHroSm+DYu1FLvGOmmu9A7qPnSwaW9GkhnIzGoudRezFLhw5g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1642979837; a=rsa-sha256; cv=none; b=fBpwW/DrSX2lWkgTWl+Jx8Pc3kvNEFvjcg9oIjnzQDGJ+w06nsnhxUO5CIIi2LT0gIzm4n VFXrm+4Wu22wuWPKgEwkkjq7qaBvzchh1oGhYm0P0plWo0c7CTXZd5r+wHmnvKfuO1ch8m jdb0YFstShlgkWydu9vFG3TuQAf7lQqxJAD+nz7/GGAaRl7ozXfBK0eHlRLRqbNMP9LfkO eaWuXoLdl5aZ+c4kfXU3z92Ae6G03SXGO/G4FEQlg2u/a1avU1uRzrCIkjTH6MTrLeXX+v Gjor2tfdHHC4DhxPOYBshp9TcJsIjKhpiZ6pVUhh9Au958otOgZ5L7b1trRqoQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=tmplt.dev header.s=default header.b=Tzja0evl; dmarc=pass (policy=none) header.from=tmplt.dev; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.43 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=tmplt.dev header.s=default header.b=Tzja0evl; dmarc=pass (policy=none) header.from=tmplt.dev; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 70EA824979 X-Spam-Score: -4.43 X-Migadu-Scanner: scn1.migadu.com X-TUID: jfEGFu1gAOsC 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.