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 ms5.migadu.com with LMTPS id SEPFGPUw5mKFawAAbAwnHQ (envelope-from ) for ; Sun, 31 Jul 2022 09:36:21 +0200 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 6NvDGPUw5mLCVAAA9RJhRA (envelope-from ) for ; Sun, 31 Jul 2022 09:36:21 +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 0207018E55 for ; Sun, 31 Jul 2022 09:36:20 +0200 (CEST) Received: from localhost ([::1]:57286 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oI3Up-0007K3-T1 for larch@yhetil.org; Sun, 31 Jul 2022 03:36:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59458) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oI3Tq-0007Jl-EO for emacs-orgmode@gnu.org; Sun, 31 Jul 2022 03:35:19 -0400 Received: from mail-pj1-x102a.google.com ([2607:f8b0:4864:20::102a]:40812) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oI3Tn-0000LW-ND for emacs-orgmode@gnu.org; Sun, 31 Jul 2022 03:35:18 -0400 Received: by mail-pj1-x102a.google.com with SMTP id s5-20020a17090a13c500b001f4da9ffe5fso2094862pjf.5 for ; Sun, 31 Jul 2022 00:35:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:in-reply-to:references:date:message-id:mime-version; bh=MsCNcr/RfpIuXvtBCdD5yVM250jfEbuUkUXDBM0iUDA=; b=o3iF1ak05QXp0NZCvy/lLja6eMzMIrB+P3UhpG/cLuq+LxbSUjtTfoz7b/NdHixIvc ZL8edS2gDbj32CQRhtE4f8MNR4Eo6jd2cZs0P7AALWU7kDn+eZmoWV/aN+Bz2Mn1/h+Y 25SDxeBklTITVvO0+bMkCS3Ohu8lGiBB8izvO2jFnmdYFiIwAwskZmxWm5ytYBZAH7Yo iQGZ90ncSqI1rt6VMKT4nTcqO287OI2LInLT3hW7fcKrw9zccqAnXs2DEkeT0oCAIJaN PYrxQCzhNSsE+xOGb2OHatFFlDUwNpVrvzrhoT+2vqrU7/37PrdRteU8OzKJAltTgNzf NjYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version; bh=MsCNcr/RfpIuXvtBCdD5yVM250jfEbuUkUXDBM0iUDA=; b=1pEhYKUOs7TB7T0PSFytOc7P2xzUSrx1cyA5OSFBM17TcNjHsKrR/R3B/15nq6Lj8h v18hMzZUQg1C/vsPQKW1SyKLxD0zMyGeqc6M7gBAJ+WfGzQOHiHSHVScUm2GFtuwK8PY RNXpGEoDUUGZnpORPIhLJZR2rKLZvX3Dt6RoTJVG6OLNXlO8xE/JL0+CUXM78lsDBHJu wClWJQvm4r2eD9SiEcg5jdjkdOJb/S0Zhd5XWwJcznDBwnDSVHgvfzTROcKhaqRtyYTZ DVLqsMrK0DlxFWXNV2Ey6ckJjwVxmUb4BIAbhiaMgklgQVjuJSJWqm8+cQtyvY8pQIKN cwsA== X-Gm-Message-State: ACgBeo03VJHd6kAYhcWqhFza/FYV5D7HP0vIIMkCQN2fUNljItommgVn yloAwce4sokQWPzF9e/Oi1Oz0UaZYuzg+KVn X-Google-Smtp-Source: AA6agR45qLOM7BiooEJZTUx4QVSghbi+1dUNtHrLZeqmsY8SAN0npo5ExVgL+68Nf9sGNA6kopE6xg== X-Received: by 2002:a17:902:ec8f:b0:16e:d8d8:c2ef with SMTP id x15-20020a170902ec8f00b0016ed8d8c2efmr3850941plg.62.1659252913800; Sun, 31 Jul 2022 00:35:13 -0700 (PDT) Received: from localhost ([1.83.155.1]) by smtp.gmail.com with ESMTPSA id a15-20020a170902710f00b0016d2540c098sm6788367pll.231.2022.07.31.00.35.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 31 Jul 2022 00:35:13 -0700 (PDT) From: Ihor Radchenko To: emacs-orgmode@gnu.org Subject: Re: [PATCH] Avoid ignoring LaTeX export output errors when org-latex-pdf-process is a list In-Reply-To: <87k0aep6mx.fsf@localhost> References: <87k0aep6mx.fsf@localhost> Date: Sun, 31 Jul 2022 15:36:09 +0800 Message-ID: <875yjdn386.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::102a; envelope-from=yantar92@gmail.com; helo=mail-pj1-x102a.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1659252981; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=MsCNcr/RfpIuXvtBCdD5yVM250jfEbuUkUXDBM0iUDA=; b=t/faVKDslANVkfHbgEtOC6+wusXEJ2s3x0vX9iWjPVSimuFz1pKiuqjEGlF2APcM467DU1 yA5DyVutLW6TAeIqSZeApJsU2z2KAg0vLGLH24D1BcbhuKjw7FFWssvmEm9rGYVVA6INEs iNRUArSMI0H9fbEuDU/zsN/NPiT/nA8Z6OHVjp+rvKbxHU5ml/RR+0C0Eqq0VY66WYGl89 KRiWCGrNrTE8/tIFT2yXWOuwobQRl0zSffCJUjQLtzY/aryU2s83qeBEdH/5hPt8ga4NeU Cxc5z4pfkFxs0GhDI0wK8JmB+t4rqRzqvOfV3XcgyeKb6P9xurU8GI+5ZH3//g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659252981; a=rsa-sha256; cv=none; b=tndBhjSSg1yL2OjAhJzCccmTsCHRgkMm4pJb7BWFNjhtJ6iYQNKQ/0U3ATFcll736nb8cJ DQzv8bFscf0f+0uUSnTKhDA5gjay80J3Pk97a95tJ0G/N8ICIyjBrNrIWlw3lJMk4iLAt2 LmTKoaf1CBripQQiwlEknD6afJhzg98lcR4neiFFK5uMHjQLZ8nbq3WzvZUzzLwHJvYcSz oQ1SvchqUwjm7L9KXRCTHDdLULoMrxuAQJWpzFx9rvRbHWAebMSKHwmpeYYeITthCVvZPT /+NdjRFJ6ACAYaAeeIa/BywYvkonuqRz5QTO6AwwttrizzeFeywp+sXY9KnY9g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=o3iF1ak0; dmarc=pass (policy=none) header.from=gmail.com; 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: -5.42 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=o3iF1ak0; dmarc=pass (policy=none) header.from=gmail.com; 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: 0207018E55 X-Spam-Score: -5.42 X-Migadu-Scanner: scn0.migadu.com X-TUID: O2/kuzi8wFnK Ihor Radchenko writes: > The attached patch is fixing a rather annoying problem when > org-latex-pdf-process is set to a list. Currently, only output of the > last command in the list is preserved in *Org PDF LaTeX output* buffer, > which sometimes prevents ox-latex from detecting compilation warnings. > > ox-latex relies on *Org PDF LaTeX output* to contain the output of latex > compiler. However, unless the last command in the org-latex-pdf-process > is something like pdflatex, the compiler errors are erased by > `shell-command' called by `org-compile-file'. Applied onto main via 4d0295b31. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=4d0295b315b86d4cc1d85565b3e83ded494a1e67 Best, Ihor