From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id +LmtNotb92UwiAAAqHPOHw:P1 (envelope-from ) for ; Sun, 17 Mar 2024 22:07:24 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id +LmtNotb92UwiAAAqHPOHw (envelope-from ) for ; Sun, 17 Mar 2024 22:07:24 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=cassou.me header.s=dkim header.b=MIPAzray; dmarc=pass (policy=none) header.from=cassou.me; 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-Seal: i=1; s=key1; d=yhetil.org; t=1710709643; a=rsa-sha256; cv=none; b=X3xARUDsR7bKxRY6Ft5DLtiMdyz+PvA4LevgBJfpiifo/2h8mI0P2qA3K0jf3F2KHVxh+8 SiTnUGzujx5mUq/QN8WbC04KkoPNj29QHrj7Mtzj0S/iqu/vcWfBEboivN09WAprSZLZ9v rNXWrY2nlIm5laIyhYOYMiGxkYfRXTP0SmZu3VLmdrjJ+RkqxoBc9N2WN7EhsAnRaXml/C +x1Etq/fz3vmEioVbaF4TDasQxuLJAWqlhi5reTIwDy0HziW3GdZxb6biqVBlzC4wvsGZZ RHs0o2ydyOiymjneNZiWyLmmHhdR7pnrpANTH/HQYatQI7zF4jQxSZ6tvqUT9A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=cassou.me header.s=dkim header.b=MIPAzray; dmarc=pass (policy=none) header.from=cassou.me; 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=1710709643; 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=n06C+8w7KyliSSmDNC4R5EaWfomaC1TpVzkY9uAmsDI=; b=cu74BewHZ/MN2FCypCCNiwiVj6c57F0hsEggDf5aIYTQMgU3h6TVHPRrlFzyg9yKEnWgQ4 tk2zlSrIPxSCPF5IpK4BcG8zZHnMxJHm0txQI7eZsC15WUQ1jmoPABlwwJIK+PPT8hc9vP iFj1WVbin5hF+zSnFgSujmtPyChAMG3Hi8krSONimdaLs7sGxs6ku/k4dwCgs+tOVzBKLI OGmgbIIgs+YkYJtYiAAFF7aXe4WpFw5YGxVb+uKAgL7Ooiw0fLIB+RwLI2KuvAkRjQSbCP 6qwkOLqJw5bx7F8WYYrdLQ7rLl/jxjj1rdmIYwHFM39m+EAqDY+HHdr8/RLCAQ== 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 9E45DF356 for ; Sun, 17 Mar 2024 22:07:23 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rlxiK-0001nV-Fd; Sun, 17 Mar 2024 17:06:40 -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 1rlxiI-0001nC-0s for emacs-orgmode@gnu.org; Sun, 17 Mar 2024 17:06:38 -0400 Received: from mail.reprendre.net ([2001:910:1410:501::1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rlxiG-000449-7h for emacs-orgmode@gnu.org; Sun, 17 Mar 2024 17:06:37 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 0783F2C9134; Sun, 17 Mar 2024 22:06:31 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cassou.me; s=dkim; t=1710709592; h=from:subject:date:message-id:to:cc:mime-version:content-type: in-reply-to:references; bh=n06C+8w7KyliSSmDNC4R5EaWfomaC1TpVzkY9uAmsDI=; b=MIPAzraysGEUBAyc+6hFO83kxYkpJYnck4v2ueIx9ZrR7g/gCFXoOwWfkYDaSAXDd5MU0V ckYbtkQjtHwbxKhCYDmQ3Qb6e69rdTq5OP152c3/ojT9Ek6XKA570x+/OCKi+ZYsedKeT/ nsE3eUli7mnW0iYDJyPGDNblav+1jsqxgwGyrOJIbI3kkz2xsaugPRX7Am5piH1aYe2f5P TPCUWuyKZjtRj7moxIEjas6iBvNO97VxnJjE3cR3359+aUfQW4FhDU2DJsxp/jhcEyKiHI Y5d1rnZZnwBzYmY53e+LRsnRi6IxNV/35EOjpXXbGEvK/N2p3fcCV7LqfxtdOw== From: Damien Cassou To: Ihor Radchenko Cc: emacs-orgmode@gnu.org Subject: Re: [BUG] [PATCH] ox-odt: Avoid warning when everything is fine [9.6.21 ( @ /nix/store/m6x04fr6nmhxk44qr0m8xsyr8vapppgr-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6.21/)] In-Reply-To: <87edc8y7mq.fsf@localhost> References: <87plvs4pza.fsf@cassou.me> <87edc8y7mq.fsf@localhost> Date: Sun, 17 Mar 2024 22:06:30 +0100 Message-ID: <8734sofu09.fsf@cassou.me> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Last-TLS-Session-Version: TLSv1.3 Received-SPF: pass client-ip=2001:910:1410:501::1; envelope-from=damien@cassou.me; helo=mail.reprendre.net 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, SPF_HELO_PASS=-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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -9.81 X-Spam-Score: -9.81 X-Migadu-Queue-Id: 9E45DF356 X-TUID: hhS2adc8gkXs --=-=-= Content-Type: text/plain Ihor Radchenko writes: > It would be nice to attach the patch :) I'm sorry. Here it is. -- Damien Cassou "Success is the ability to go from one failure to another without losing enthusiasm." --Winston Churchill --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-ox-odt-Avoid-warning-when-everything-is-fine.patch >From 9dd17fcb7c774f148166d999fd1d021dae9fda3b Mon Sep 17 00:00:00 2001 From: Damien Cassou Date: Sun, 17 Mar 2024 20:24:59 +0100 Subject: [PATCH] ox-odt: Avoid warning when everything is fine * lisp/ox-odt.el (org-odt--translate-latex-fragments): When processing-type is already 'verbatim, no need to print any warning. --- lisp/ox-odt.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/ox-odt.el b/lisp/ox-odt.el index 666d5da1a..3f1f1a5a8 100644 --- a/lisp/ox-odt.el +++ b/lisp/ox-odt.el @@ -3728,6 +3728,7 @@ (defun org-odt--translate-latex-fragments (tree _backend info) (if (eq processing-type 'dvipng) "dvipng" "convert") "" t)) (setq warning "`org-odt-with-latex': LaTeX to PNG converter not available. Falling back to verbatim.") (setq processing-type 'verbatim))) + (verbatim) ;; nothing to do (otherwise (setq warning "`org-odt-with-latex': Unknown LaTeX option. Forcing verbatim.") (setq processing-type 'verbatim))) -- 2.43.2 --=-=-=--