From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id mO6ZIOsGj2KNeAEAbAwnHQ (envelope-from ) for ; Thu, 26 May 2022 06:49:47 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id +N+KH+sGj2J2EgEAG6o9tA (envelope-from ) for ; Thu, 26 May 2022 06:49:47 +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 1FB60114EB for ; Thu, 26 May 2022 06:49:47 +0200 (CEST) Received: from localhost ([::1]:41780 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nu5RS-0000pv-84 for larch@yhetil.org; Thu, 26 May 2022 00:49:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35628) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nu5Qz-0000pL-3w for emacs-orgmode@gnu.org; Thu, 26 May 2022 00:49:17 -0400 Received: from mail-pl1-x62c.google.com ([2607:f8b0:4864:20::62c]:44947) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nu5Qx-0004io-KW for emacs-orgmode@gnu.org; Thu, 26 May 2022 00:49:16 -0400 Received: by mail-pl1-x62c.google.com with SMTP id q4so501086plr.11 for ; Wed, 25 May 2022 21:49:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=+a+JFh4a+7+EWaBMtTtlOnZTsnbugbNLYB0N139LMrg=; b=Cf7M8GcrvlhetaDme+bl7hWKtc5uSKz8hZsMaz4uZTRtCQECxvXf6L4o8qUXddQRhO XWzkoYrbGV4CxVFXg3AS4aGVTfuqa/XpREjoOwP59sM6J9e0jA3Vv2NMFkFQWtHGPtTW /0QzOVDnBQEbQyTkGhy4Kv+0I5Kgm+vAemHYoMNK8p5WR+6kmiPi/XQSKmr563Gy4EiD gNGfVAPYYec0WIyHNC3PcsUeLVQTGmlFkKieKR2khCQXRcBYkr86nfK5ioN9ie1MOg97 0PbbkSN+rVqZEmzgnBsMnxeaptA4p3++VWqAAWOmWVLlgWm0SnlKRI5Helk41+7Q65ci QYKw== 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:in-reply-to:references:date :message-id:mime-version; bh=+a+JFh4a+7+EWaBMtTtlOnZTsnbugbNLYB0N139LMrg=; b=Wl0N2vrXalRXLVGgprxggocbot5u3R5juYsT1gBQUqB2UOks6fUHApRjmeFhwNPGJQ aUWHVfXpkXBy+PaFOU5D1weOIoQcOt0V7/kP7vCDZ+Ud2V+dtD0QK/WsWXMMUL03XBhe 5Fv5vNdHS7wSrT6zrSUaQcQQtXNAylSm0NPgaLfAFxUQUJrja84LH+aYeJOq9pJTU9xT z69JJyUPopatIcKBj01amNcbEfHjX3YLe8ISLB2EMSwltQbaJ7x2idoyn7fe1Q4v9NXQ aBNe3ymM1DGrlsSGoyAICcEGAWo2Wt4dwF/RNq+/uIlIwGeJTDnj4BabfFV8cb/q00YG Hyhg== X-Gm-Message-State: AOAM531qnnH4UEBSRDFhivxwc7q7tpwCGCvpZ1GD9jApxI/mOtKMlcHa oiSUoYf71nk93YtgpDv4xZg= X-Google-Smtp-Source: ABdhPJxtjjgchRhQ+KqNFD8ezHWbn7ysCxoBHSfbVnEdhzr5gHjql/I4B2j/o0IOKnY03NZlW867eg== X-Received: by 2002:a17:90b:4d11:b0:1dc:ec4f:a19c with SMTP id mw17-20020a17090b4d1100b001dcec4fa19cmr639519pjb.117.1653540554199; Wed, 25 May 2022 21:49:14 -0700 (PDT) Received: from localhost ([74.222.20.18]) by smtp.gmail.com with ESMTPSA id bj10-20020a170902850a00b00161d8153d56sm313005plb.148.2022.05.25.21.49.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 May 2022 21:49:13 -0700 (PDT) From: Ihor Radchenko To: Max Nikulin Cc: emacs-orgmode@gnu.org Subject: Re: [PATCH] Avoid ignoring LaTeX export output errors when org-latex-pdf-process is a list In-Reply-To: References: <87k0aep6mx.fsf@localhost> Date: Thu, 26 May 2022 12:49:55 +0800 Message-ID: <87leuo6gp8.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::62c; envelope-from=yantar92@gmail.com; helo=mail-pl1-x62c.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=1653540587; 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=+a+JFh4a+7+EWaBMtTtlOnZTsnbugbNLYB0N139LMrg=; b=PqEqJ/FwK5k9nKTOH4S7ficabfprdF5Lm7wa0/MCRnp9nZj1OdLzLEhFfX8tVJ/NutABZa Iq5ISb4EHcgCjK7FO/y3cDeMM3zUw5IYPM6yVqU9L+Jhp5Eabg04iJUpeHCOY7daj+ahg+ BPihJp5raXKpralLmLfxx1SfQG7NNlJvmWFSxhDQF4eKU5pxhgSt0vzD3MUEfAeOGy1SXB dOIxK+FRmnhtB/Taac+AkFe+V6mfpPW3LPM7nqoXsYHStcf5FqP/plW9+l9QNLbe8NmENf kpfHhhNi0Cnt1rKJhXUAeDOahZKr+d/NCwDMIMMmNnw/yOdJiRRX0x2/q86TKg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1653540587; a=rsa-sha256; cv=none; b=n6H/odsPEpH13wnGz0yaBMghX4XEg9YU4yd/Z3T4WSBZb4/8DjuM8pnDPn4dgMDXc7E5FW gqlenXqB89VXieTiLBA/MFN2K3MEwcXtqb9VJ6MVPdloe6TSOzCb05lOpfRDV+JC7OweG1 Tyd/geg2AC/aPbfhScMOr4X1o+UCZf8Cag/3lUq/7GWyRk+Z4ZhNjMolPmIWmHmxdn23bG 8+T/48gVqCMznG0+Bgd/ZezE+4iUGWrkAJFgtiHlFVQHmTFK+IeUzfQJ7pQsfF2I6yvnOB L0MvnqHIpT0D697YsKpEKX9uCMR6f2yZqJhaOzqbJMUvSNlyezjXYLsmSjipSQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Cf7M8Gcr; 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.54 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Cf7M8Gcr; 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: 1FB60114EB X-Spam-Score: -3.54 X-Migadu-Scanner: scn1.migadu.com X-TUID: B9ne67NdWdqo Max Nikulin writes: > On 22/05/2022 10:51, Ihor Radchenko 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. > > I may be wrong, but I believed that some code might check buffer content > for specific messages to determine if additional pass is required to > resolve or adjust cross-reference links. If it is done by external tools > working with log files than there is no problem, otherwise lisp code > analyzing whole buffer may be confusing by first pass messages when > there was no e.g. .aux file. There is no such code. Otherwise, org-latex-pdf-process would be a lot more constrained. Best, Ihor