From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 KIFsHFttimJ4LwAAbAwnHQ (envelope-from ) for ; Sun, 22 May 2022 19:05:31 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id wMdqHFttimIIcAAAauVa8A (envelope-from ) for ; Sun, 22 May 2022 19:05:31 +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 1B48CD918 for ; Sun, 22 May 2022 19:05:30 +0200 (CEST) Received: from localhost ([::1]:51380 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nsp1F-0000T6-Ri for larch@yhetil.org; Sun, 22 May 2022 13:05:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59858) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nsozu-0000Sg-R4 for emacs-orgmode@gnu.org; Sun, 22 May 2022 13:04:06 -0400 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]:37642) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nsozt-00019z-8j for emacs-orgmode@gnu.org; Sun, 22 May 2022 13:04:06 -0400 Received: by mail-wr1-x429.google.com with SMTP id t6so17947033wra.4 for ; Sun, 22 May 2022 10:04:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=BZNXgKdnbiBL0Xz+teVHFTZnxW6exBxcBvWWpNI2LC8=; b=FvxUgk86MLDDh3Z2ryWY/jmzTEIosVyMGrq+4sz/03ciP0QjRR4E9DyjsfqwJdLEGk IiY9ZDOB40/d4rHhOenUWOF81MQMBM55aU5+nvnfLXShT1l5LaIoJ+kHW2H1nhX3gXJs 1/bNxIcs0VNDq4+3LBUgOKIYUsL0mDW7xkJlaiB2lDJhqM1g7LZL4nAqA5OgmFPknAE9 lgITb15WvhT3Q2YKhN/1gQYxS1g7xzqoiMvI8Nlp7vcdGutt334jkQrkkMEPHC7+1rLv ayeemQpz6vkbpt/Vdvp3Vk9zYR8x2NX1NXQ7DFcPAAJklMS7xACL8gbL0DUX0KgE+4nW fsnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=BZNXgKdnbiBL0Xz+teVHFTZnxW6exBxcBvWWpNI2LC8=; b=JuEpcpi3K6gGLfeV2Zldo0a7Q+e2X4ZH4yC64ydrD8iTjJSQTk85NZ0KWAkL2vTbrq wbxJO6ZTiFH234z4zNthGRuYRy7Qf8tn0EEhYqedNk3qVQWhfEvigAXHK1+rJ9Feyj9a bysYaRGW1efAEnGc/tdYKDi2nctx18PKli5ibnDTdSEoL6zINQQWL2dWocBlQpMVc7J3 w+5grNLSdj1n/Ck7e2MIFbEjQ6zHQ6kNg6Jboow2gOCcDIm6YIjD3eR8RwVlqZM4JW7A dlYPY86p0kS/f/by1BxF0cnquVPZEi//wyFYvrR7S86V6TtWJ1kvjGGsd8rvLNXQ8u0Z E58g== X-Gm-Message-State: AOAM531AR0tzFahZEYNUe3BbjAKKxZzcC1pdPiov3itUUzB69YmSGFWf 1a00ehdJ64LPiXySav+xU4R1PX8jK4o0dA== X-Google-Smtp-Source: ABdhPJz7N4U5r+gIlxbAKy/ugXBj7XOEilEasxtD+2dloHyCDdLrHT5hC7Z2GE+6F4Y4xXvQR4x88g== X-Received: by 2002:adf:e18f:0:b0:20e:6352:211d with SMTP id az15-20020adfe18f000000b0020e6352211dmr15981594wrb.606.1653239043345; Sun, 22 May 2022 10:04:03 -0700 (PDT) Received: from Home-Mac ([94.230.83.63]) by smtp.gmail.com with ESMTPSA id u6-20020adfc646000000b0020d0c48d135sm8093864wrg.15.2022.05.22.10.04.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 May 2022 10:04:02 -0700 (PDT) From: Daniel Fleischer To: Ihor Radchenko Cc: emacs-orgmode@gnu.org Subject: Re: [PATCH] Avoid ignoring LaTeX export output errors when org-latex-pdf-process is a list References: <87k0aep6mx.fsf@localhost> Date: Sun, 22 May 2022 20:03:59 +0300 In-Reply-To: <87k0aep6mx.fsf@localhost> (Ihor Radchenko's message of "Sun, 22 May 2022 11:51:02 +0800") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (darwin) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::429; envelope-from=danflscr@gmail.com; helo=mail-wr1-x429.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_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=1653239131; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=BZNXgKdnbiBL0Xz+teVHFTZnxW6exBxcBvWWpNI2LC8=; b=sUvBd0VKx7FVByni8s02ocxE4KtpcDy20iDi+TWc3yV2G7euThYJ8GXuC1JT9psiE4gl4i nLs385IIMHz11Ach0PIJq7wHUTEkBim9hcZgfDnWPRWjHCoeYGdnODIHY95Wd4nXWfRcCj oECQgOSriCr7BKA8h6HY97Y/6ZSFKqO4qk+zM5mJbv/74OzpqA3zPuueCv9jrGjDu1wPO2 15lKfCL890I7+tHCTMLeKG9eu01Z8bnDkksOMuaWAv3XnCTqLk62ZbawOn7Bt8hD2DgkbZ o9XsIA45BAsN97c/W08XxSojKoiANEkRcmRZH94IfFjm4c8j6WdzauotBGhb0w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1653239131; a=rsa-sha256; cv=none; b=BV7FMKOWb/iizZRwcWRnK23fOsa6emENjrOWTxE8lWpgyipFBYlfZcQzokU4F3swS0xDFg 2d3cXpkBn6ZW8VhA6JIX5hSYStr6RfwwdO7dFFXniejqllSMYTdgZ7WjELdPp0U9l17GLt LIFrNIcOsLETHPC6EH6hpBg4Tw5K/49jsNA6EZ8Cff0jmbMqmmVYo+xQDusmVIzrly/zBJ jxV/iIWWvB02AhBgLElC8tvTqroy/PY8tgKQv0A/r/nqU15QeXQAJHSd4mRFeuuERQnyF1 YV1eKukrfoAza0ypd6BukxzQWDSwBOP4yrK7wdw/53qigvCPlU2/Chg9abff5A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=FvxUgk86; 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: -3.85 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=FvxUgk86; 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: 1B48CD918 X-Spam-Score: -3.85 X-Migadu-Scanner: scn0.migadu.com X-TUID: AvwuQV1AsRsJ Ihor Radchenko [2022-05-22 Sun 11:51] wrote: > 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'. Looks good. So the log buffer is going to be a concatenation of all the logs. Will ox-latex parse the longer log in a meaningful way? Is it just for the user to find issues by herself after a failed compilation? Daniel Fleischer