From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id ON8pN7As5mIQXQAAbAwnHQ (envelope-from ) for ; Sun, 31 Jul 2022 09:18:09 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 8G4aNrAs5mJDJAEAG6o9tA (envelope-from ) for ; Sun, 31 Jul 2022 09:18:08 +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 2ABCBD0D2 for ; Sun, 31 Jul 2022 09:18:08 +0200 (CEST) Received: from localhost ([::1]:43016 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oI3DD-0005KN-BF for larch@yhetil.org; Sun, 31 Jul 2022 03:18:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57538) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oI3AS-0005KE-Pb for emacs-orgmode@gnu.org; Sun, 31 Jul 2022 03:15:16 -0400 Received: from mail-ej1-x62f.google.com ([2a00:1450:4864:20::62f]:40667) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oI3AR-0005oE-A0 for emacs-orgmode@gnu.org; Sun, 31 Jul 2022 03:15:16 -0400 Received: by mail-ej1-x62f.google.com with SMTP id tk8so15100412ejc.7 for ; Sun, 31 Jul 2022 00:15:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=BuALAkwerCa3aAxiRuBrVzxg/iVJ7Sevg2Bp35ZrxCo=; b=EKlwya4Hw5WDKNgMH/b0ani7TNVuOoSU4XCuMaAXROh0BYF6zuhZ4mPbgMX+f+z8lM elUx88YOHqbKO82vSHCtzoBTlmM3hEmnQYHUAJl2sErtOfLx005fy3/Jc95D5Jrfy242 v4QjvBOei8kPqAUscqzw8BulOcYTJeY0+ldLdOsRfuURDeimmH5hM25VUawUZQ8mC444 pMn7iHmg7fhfP7ty9xYb9ujxaCd7EvyOj6HXJ2eqQs5B50anji/uG9/G88AhJxAynFZO Dujw9aASIeLaZ2ReYPMd+Wdlr33cPpvYyKv+HrbB3qmG6wrZnsmDd8MIoxF0fe2qlRY0 Oskw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:message-id:date:mime-version:user-agent :subject:content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=BuALAkwerCa3aAxiRuBrVzxg/iVJ7Sevg2Bp35ZrxCo=; b=moHEq/N3D3KgeCgR2qm9YdKwSICFl+pBMJ2GPnQ99si9w9vo+P3/GOvH1bvd9AJpg4 7O1JOduhyGt8q/a3FVM8BENW2PTOGVLBwiQEV9FYzcQSvc1hcrjgsxBuAKngjr66gIXR x2WMvn8xwHqf4/uQnGSGowTJ5t/MuUJ5e0PM4365+tx0DgE03VpxoeO/RsRS6rqBO161 /yMR5RdWl0DRHnk/MIa0eZN5TgOKh0ib6YqSP+WhUxJogplmLo0CRM+/m7a5bMGJ+u8y kPWvHckDxcalIChgSSj0jmySLdDrQAjGLtk/h5/HuPDckZfSk1/dVwLBOORaNEAFqkKp 7tYQ== X-Gm-Message-State: AJIora/2KkcWIijlSf0WwDLg3wpiPFwSHbP5P5EStqSqImeUWfO2ABoW JCPYNdagdhqgYfrZVicEnmeJqOfOo32ekg== X-Google-Smtp-Source: AGRyM1vepBi7s2i0cyp0sDKNEgEsqosMrtbne6F6kW4ZzEOMcDoE6r/TFo/BrUW3cGxT9jBbSo//3w== X-Received: by 2002:ac2:4f0a:0:b0:48a:839c:2fe with SMTP id k10-20020ac24f0a000000b0048a839c02femr3665134lfr.40.1659251702725; Sun, 31 Jul 2022 00:15:02 -0700 (PDT) Received: from [192.168.0.101] (nat-0-0.nsk.sibset.net. [5.44.169.188]) by smtp.googlemail.com with ESMTPSA id dt22-20020a0565122a9600b0048a8b8eae54sm1234598lfb.55.2022.07.31.00.14.59 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 31 Jul 2022 00:15:00 -0700 (PDT) Message-ID: Date: Sun, 31 Jul 2022 14:14:58 +0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH]: ox-latex: omit empty date Content-Language: en-US To: Daniel Fleischer Cc: emacs-orgmode@gnu.org, emacs@vergauwen.me References: <87wnbuje62.fsf@localhost> <95786e25-53c4-93dd-b77f-0e64fc793b83@gmail.com> <87h72yj9bj.fsf@localhost> From: Max Nikulin In-Reply-To: <87h72yj9bj.fsf@localhost> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2a00:1450:4864:20::62f; envelope-from=manikulin@gmail.com; helo=mail-ej1-x62f.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, NICE_REPLY_A=-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=1659251888; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=BuALAkwerCa3aAxiRuBrVzxg/iVJ7Sevg2Bp35ZrxCo=; b=hfMoCIInl1LPWBjggF63LY+Bs+7IM5/zi6iooiLPBazajxVdctWtksUWHU/wAa1iKuoeMg cfIEAEjrDSLwqi56d3vSEGB8TTqTf/tT+DSoeer8/wdtn4ryci9mW1liQRKUgZoH3XP4RR +b93MZP9P5hHYIF08RbcmiJthuSLsTs78gyCuBUmojMPDxavLTjey20zsR70VKbjhoBBOj ywx/LWHoyhR/D7ubUY1XKLYHA5S07M8clqSvlVnzjx8fyL4rTholnhgcaXBZEBp5nyX/VF rrUcLkCOqlpAfQ/UGMvQtFYzbuCFxcJU8UZ1mhLUMcw2J20kBhoaCtv5OKbCgA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659251888; a=rsa-sha256; cv=none; b=qkuWqieQLW/S5xW40kOhviGj8oPiMgZ071tgY5IYCnEZRz0jQLxrBM482BskScpqxpJvU4 qPbCYM8iMh2dApdW/8bAtyU5J4DOWf6L40UQXjhcGA5u5NNjY/fa4hjc/6MJ3RRqDkfFyy FoWeQ/z6w3ZAlD1cVXeWCfXiJsd1Ptz1Dumd2VCvXo3VAKhLZkzDXgfWRe8+2+bWs9xVPp iQ0vd7CF8NBP1Oabr/+72xvCPHqbXX090XJ2ETvisFYme9AlLIp30jnlh2iMXj05OiSqcl K2H6e6sBgL4yP3ev2NmeuBEVA3wVRW1W8KTu1x0tFk7Wl25IqzVQUVmw3CEu3A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=EKlwya4H; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: 7.78 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=EKlwya4H; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: 2ABCBD0D2 X-Spam-Score: 7.78 X-Migadu-Scanner: scn1.migadu.com X-TUID: 1AV2WJ28OC9K On 31/07/2022 09:38, Ihor Radchenko wrote: > Max Nikulin writes: > >>> All the above makes sense. Do I miss something? >> >> To be precise, \date is not exported to LaTeX file, but current date >> appears in PDF. That is why I consider the change as a breaking one. >> >> Try to export to PDF the following document. >> >> ---- >8 ---- >> #+options: title:t >> # #+options: date:nil >> # #+date: >> #+title: Title >> test >> ---- 8< ---- >> >> PDF file is produced with current date. Before the patch it was possible >> to suppress date in PDF file by removing comment for either "#+options: >> date:nil" or for "#+date:". With current main branch HEAD some other >> workaround is required. I think, it is not what is expected from the >> description of the #+options: keyword: > > Agree. I did not know about this LaTeX default. > > Bob, do you have any ideas? I am inclined to revert the patch. We may ask the maintainer of ox-latex Daniel Fleischer if a better way to handle \date exists. Bob, could you, please, provide more detail concerning your use case and the purpose of the patch?