From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 oItoBxGr52IAaAEAbAwnHQ (envelope-from ) for ; Mon, 01 Aug 2022 12:29:37 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id kFGABxGr52IjzQAA9RJhRA (envelope-from ) for ; Mon, 01 Aug 2022 12:29:37 +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 8E3A716913 for ; Mon, 1 Aug 2022 12:29:36 +0200 (CEST) Received: from localhost ([::1]:47400 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oISg3-0003RN-MU for larch@yhetil.org; Mon, 01 Aug 2022 06:29:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51576) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oISey-0003Qg-V3 for emacs-orgmode@gnu.org; Mon, 01 Aug 2022 06:28:29 -0400 Received: from mail-ed1-x533.google.com ([2a00:1450:4864:20::533]:33299) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oISex-00046Z-Dn for emacs-orgmode@gnu.org; Mon, 01 Aug 2022 06:28:28 -0400 Received: by mail-ed1-x533.google.com with SMTP id b96so2819277edf.0 for ; Mon, 01 Aug 2022 03:28:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc; bh=pEpFkNlSogc+EvMo5K86mq0SDrRhBacJssj7U+YeJUc=; b=aT3IGxD7DkCF2mkNCN38qtWrapErv/fzdgkqu/H0Ka+6Vhyo+i9se83txTOwby7JpG XOjX1cnJJQLQ0WxbiRqwkQURcovsszkctSaEbVJmNBWlbbLnQZkKlqp5clhnzuHc4TVe vFcBOL7smmlc2ya34AUwkgC6wNa75LBgi95AsnXX/IiT7Q8xtLAes0T8h8Sj0cKInxZT QZtccyfksPX93y0KDX+l9xTvo5vWiwWGiMjORKe0OCEfz5CcRdAmPIO4NaWC+X5aIx9t L5zrP6EV0VSnBgapbR2djhGj8dUBiKKf2Yb3HTZNg8QAtH9XHOTQsuv3XjMxDmcBibv0 gzIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc; bh=pEpFkNlSogc+EvMo5K86mq0SDrRhBacJssj7U+YeJUc=; b=5IbhvEOzrXbtJYuDSArhOpiovIWvNzGfrmTIxYXlQ/LaMdlg9fYx+76l3mKEXLHXTt Fc99oTeUTrZDhgBMXG4Eqkl6s+DK1h/V2HJHhunywCGYv/EaiPv+o4mDyAUp69jaomKh 1fuJyzD0JuutPoVJGpVCJ+qJK0DHhilFtEhdaNhHZtj6hRrV6b4tec/u+LmF22pD4dk4 0X0wy+dM/uzbNThecQUuj6oTn+1kEcpzOsc+PvgzkxRqxCNo9dbyNj2ISit6fWpwp/ct xWGsdPAKK2Uz+5jmbxGjyTzPCF24/qILia/3+9O4+FOPx/E+maNP2YQtnp95HiF1WQpb 3dcg== X-Gm-Message-State: AJIora+Mba5qt487rtsN7VC2Oy3c+FZkDZ0rRviObblutZ3Op8N1RomU VuKeRwHy987DOQYyjwZpLvFDLbTaZyrcaw== X-Google-Smtp-Source: AGRyM1uZtbZBJJA/qwouF64pxu1gC46skPiUTLA7weToGQIptvTCMgrVXUmRte8ocK7yh/aBDeZGHw== X-Received: by 2002:a05:6402:5ca:b0:43b:6e01:482c with SMTP id n10-20020a05640205ca00b0043b6e01482cmr15421592edx.189.1659349705884; Mon, 01 Aug 2022 03:28:25 -0700 (PDT) Received: from Home-Mac ([141.226.170.221]) by smtp.gmail.com with ESMTPSA id n23-20020a05640204d700b0043cbb64a05asm6543639edw.67.2022.08.01.03.28.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Aug 2022 03:28:25 -0700 (PDT) From: Daniel Fleischer To: emacs--- via "General discussions about Org-mode." Cc: Max Nikulin , emacs@vergauwen.me Subject: Re: [PATCH]: ox-latex: omit empty date In-Reply-To: (emacs's message of "Mon, 1 Aug 2022 12:09:53 +0200 (CEST)") References: <87wnbuje62.fsf@localhost> <95786e25-53c4-93dd-b77f-0e64fc793b83@gmail.com> <87h72yj9bj.fsf@localhost> Date: Mon, 01 Aug 2022 13:28:23 +0300 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::533; envelope-from=danflscr@gmail.com; helo=mail-ed1-x533.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=1659349776; 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=pEpFkNlSogc+EvMo5K86mq0SDrRhBacJssj7U+YeJUc=; b=phmLwj2jDLQSIRUFY6ZtY3NSNRxNvBOlgBziyi1unFEpvGneI2zKHnmAh000K45vaEOVRU 7cq2nsnvQbU2CyVOkiFUMiuY1lFQjUJYFVE1M58DkFpu+ncHue0pkuwq162EauSvyluJh/ McGND/JHdRxayXi9mk55+BksFOWigTEMn6zXbSveNghFCyCcoo3MqD9YQCmez7zjkTPae3 3T+jhi9MHCTtGUBovK/CUhzfGXnkKGz/SZYcB1K5eD0uj2YIQccMwEw1OycHOxLktTyBV2 C48UmmJpIkLbZmDXWaL7NHb6XOIa1ZFp6rV4kx/kCPuM8dmI39QyNEA7uQ92Cg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659349776; a=rsa-sha256; cv=none; b=o9MmZfUqJAKIRBicp5Yb5nzSU3CN4xX4p3wLo7SjhAiB8HW/8aGFXwGw3akfb6evNu59mB gphMUnv9Qn6gLvzDozcX2WlitXKrBq4zna1DiFK+bXQsyv4IenjGcR9KbcPTyR4NX43EaU QTQlAXL9mz9jysIOXt70zvc8xf7V5TVfJgHBnJc8atLF30ipNE4T7TpOijJSAJI6Hoaky4 Xy0UtWnTxw2wHSMe9MQHyr1TR74pxkABHUDlUdZEwUjZ3CsadDRCSxovAv3C1Cd65/BNho dgzXq61iglBpSNQYzVNDvmBzPfIJlk8R8NNeaq4XkDdL2ea96Q6k3/pzOtPHQg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=aT3IGxD7; 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: -7.72 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=aT3IGxD7; 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: 8E3A716913 X-Spam-Score: -7.72 X-Migadu-Scanner: scn0.migadu.com X-TUID: gqWoxRoq74xj emacs--- via "General discussions about Org-mode." writes: > My use case is very niche and be solved by changing my custom latex date > command by renaming it as for example \mydate. > > Adding extra options like with_date:nil seems overkill for this small issue. I agree; I think we shouldn't change basic behavior for more advanced usages unless it's something many people are interested in and we keep a backward compatibility. > A second option would be is to analyze the data format in the org file. > If for example the date is specified as > #+date: {day}{something} The thing is \date is a macro with one parameter, a string. That's way \date{} doesn't do anything and \date{\today} prints today's date where \today return today's date as a string. Starting to introduce new kinds of inputs - e.g. {y}{m}{d} - to the \date macro would just confuse people, I think. Daniel