From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id QFAqCSt7TmSClwAASxT56A (envelope-from ) for ; Sun, 30 Apr 2023 16:28:59 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 4DwbCSt7TmSxeAEAauVa8A (envelope-from ) for ; Sun, 30 Apr 2023 16:28:59 +0200 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 9CAED162FC for ; Sun, 30 Apr 2023 16:28:57 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pt827-00049e-WC; Sun, 30 Apr 2023 10:28:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pt824-00049G-T6 for emacs-orgmode@gnu.org; Sun, 30 Apr 2023 10:28:09 -0400 Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pt822-00019w-3x for emacs-orgmode@gnu.org; Sun, 30 Apr 2023 10:28:08 -0400 Received: by mail-wm1-x32c.google.com with SMTP id 5b1f17b1804b1-3f1958d3a53so15682825e9.0 for ; Sun, 30 Apr 2023 07:28:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=andrew.cmu.edu; s=google-2021; t=1682864880; x=1685456880; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=wMozIB1T4OMeudAxaOhafiw2k+XD0papxe2h0/iWXb4=; b=TUDRYWLGzs8DthlMgh2Q1vpOFQMHKsaAhZ81BstPQlZ3xBrQapVTWofqu1GMdCIzhk odwUKL+dm5CzTSbX39dnL56ZgXMoDPZyaKsR1YExHMB1c/ylzGCCwn6rDwzSKJKrMk4H IjKzS9wDCOCt1UfVPw9fL+rrSw+c/LZI8ufbkM/S3KcOtiMkf+EDm1tiWygii7ec8hfs j2tCt1FSJ9tsEEqSp5t+Y6hODcRv5ogvRJ+9ZTC1rSYLSIfV4oa1Q+029fGgGN09mg2e q1yF3QsgF6Lf39rflviCgQsvSUQB9pc8jDARuBuGnYHipiV5TRRblrOYjdNuiMaIUnN4 GzlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682864880; x=1685456880; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=wMozIB1T4OMeudAxaOhafiw2k+XD0papxe2h0/iWXb4=; b=MbTkIjAuLUICFBF41/X7+qOEtpkSLC/VwtpmnNG0EcpVgxaVZr3Zp52lKIn+/MlpFo nlPxf4TjzaP0KkfyZJVnBE51lDaMnCoM7vHwRtTxaUQ0WJIFfGov/dvYCnOuggMJDmQy yVEaVga8WZk44uz6fn7Tot8NyVfpnZ5JQOI9FJCvmH744+jFQTeluB69RF55dkETzxTf dY9NNLHUxOQs7oltKR9ZgYQEzyvH3FpUaxvp45CcU/omkkugAz/4SzEAXMSC7avNEzoL 32jUx61rgE+s1w+vKTJyjbuEO76+2AJPA3MNldLY2Pa7lFE3jWHNhZl9r49C0nInbUB4 PLFw== X-Gm-Message-State: AC+VfDxe0T5coxR9af/XfIiwXcgoepIMLVxd3xybyQZfkGPvnykSQATM YeKIlAa68/Mqwolcj91/8rcaqHheNTQW6lbzjNQ8OLFXVZIkdrfOB5Q= X-Google-Smtp-Source: ACHHUZ73aa0BCJp9ecgom21QRUhF699BaKFe+3fXPIC/kZFjqbJnFLjzNnnC4A2LbPdT8yWDsUpby5b6ykSirKqFl2c= X-Received: by 2002:adf:e38b:0:b0:2e4:bfa0:8c30 with SMTP id e11-20020adfe38b000000b002e4bfa08c30mr8024937wrm.47.1682864879960; Sun, 30 Apr 2023 07:27:59 -0700 (PDT) MIME-Version: 1.0 From: John Kitchin Date: Sun, 30 Apr 2023 10:27:49 -0400 Message-ID: Subject: org-latex-pdf-process as a lisp function? To: Emacs Orgmode Content-Type: multipart/alternative; boundary="00000000000060184e05fa8e83d2" Received-SPF: pass client-ip=2a00:1450:4864:20::32c; envelope-from=jkitchin@andrew.cmu.edu; helo=mail-wm1-x32c.google.com X-Spam_score_int: 0 X-Spam_score: -0.0 X-Spam_bar: / X-Spam_report: (-0.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URI_DOTEDU=1.999 autolearn=no 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1682864938; a=rsa-sha256; cv=none; b=q3FoD6fvCChNQCJekjIe+PLfIaWUH5Ac9TeaMdQexy7A1HZM93PBgAI1jAvQfgHB4scX3l WnphBdXHItyQRyHDHfIPSfeZ136f15Q3TjjE0BovSdcNQnD91wv/OxPOtG0FYdHmb/+iNO I5kwD9tZOnAwXbIjArQA1R1jLlk5/OgRCGm7hImd33rZ/e/OXjJ3R3F5pVOxEK8bbs5bFZ nVkJoofwBKPoa0B7Hoh3I5+5OWJczuavJFT3UAyrQPYp+1B+TzJyu1u8NlaVEK8aAR8+wH 6bfIiYPHkKrtQHW0wItXzmbHY4Ch6FSwCX6nN2Jh39jSooVMyjlh1qrSDY3upQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=andrew.cmu.edu header.s=google-2021 header.b=TUDRYWLG; dmarc=pass (policy=none) header.from=andrew.cmu.edu; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1682864938; 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=wMozIB1T4OMeudAxaOhafiw2k+XD0papxe2h0/iWXb4=; b=WihyC0UvOFraGNwA1B2I/uy9bDW+EpyVAED9edld88ELfG9bnyaef4VvMfCGvan5hYH5AP ya2+GzXMd+0taMZjDfEZjRWYaSgPaAR4mv2o+XEDRH80LUcg1BhmBnASuAy2+C/sOBkfr7 O9oBctFOBx2T6BLEU/1lO3nLs4E5Fd8f4hhPK3srd37Oek7iktSrO1rUiiDV1ks5l2eK7m Jm5QiUv3sIStD8l3rGXseyhAgd4QHC4Fh9OiCNUbCemSUhIfh+sy/aNNGH70S0uSA3oaDR GjmkJffwijFo2bhBX2bTdwksVhAp4cbixkoaPedrtS4h9EU+RzXpuPpeF3ye5A== X-Migadu-Spam-Score: -3.98 X-Spam-Score: -3.98 X-Migadu-Queue-Id: 9CAED162FC X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=andrew.cmu.edu header.s=google-2021 header.b=TUDRYWLG; dmarc=pass (policy=none) header.from=andrew.cmu.edu; 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-TUID: dI5gD7o3Bx1g --00000000000060184e05fa8e83d2 Content-Type: text/plain; charset="UTF-8" The documentation for org-latex-pdf-process says that it can be a list of strings, or a lisp function. I have used a function for a long time, but recently it seems to have broken. Now I get an error in org-compile-file. The issue comes in the first line where (commands (org-compile-file-commands source process ext spec err-msg) binds my function to commands, and later that is expected to be a list, but it is a function now. I think this probably occurred in https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/lisp/org-macs.el?id=b29f77241681abd6fb12de3b7e26c009cb28c63d In org-compile-file-commands, I think this line ((pred functionp) process) should instead be ((pred functionp) (list process)) that seems to make it work for me. Org mode version 9.7-pre (release_9.6.4-337-geaf274 -- John ----------------------------------- Professor John Kitchin (he/his) Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 https://kitchingroup.cheme.cmu.edu https://pointbreezepubs.gumroad.com/ pycse bookstore --00000000000060184e05fa8e83d2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
The documentation for=C2=A0org-latex-pdf-process says that= it can be a list of strings, or a lisp function.

I have= used a function for a long time, but recently it seems to have broken. Now= I get an error in=C2=A0org-compile-file. The issue comes in the first line= where=C2=A0(commands (org-compile-file-commands source process ext spec er= r-msg) binds my function to commands, and later that is expected to be a li= st, but it is a function now. I think this probably occurred in=C2=A0https://git.savannah.= gnu.org/cgit/emacs/org-mode.git/commit/lisp/org-macs.el?id=3Db29f77241681ab= d6fb12de3b7e26c009cb28c63d

In=C2=A0org-compile= -file-commands, I think this line

=C2=A0((pred fun= ctionp) process)

should instead be
=
((pred functionp) (list process))

that seems to make it work for me.

Org mode ver= sion 9.7-pre (release_9.6.4-337-geaf274

--
John

-= ----------------------------------
Professor John Kitchin (he/his)
Do= herty Hall A207F
Department of Chemical Engineering
Carnegie Mellon U= niversity
Pittsburgh, PA 15213
412-268-7803
https://kitchingroup.cheme.cmu.= edu
https://pointbreezepubs.gumroad.com/=C2=A0pycse bookstore
<= /div>
--00000000000060184e05fa8e83d2--