From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 GNG1EDeubGM6FQAAbAwnHQ (envelope-from ) for ; Thu, 10 Nov 2022 08:54:31 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id sC+wEDeubGOLSAEAauVa8A (envelope-from ) for ; Thu, 10 Nov 2022 08:54:31 +0100 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 0B5FC1468F for ; Thu, 10 Nov 2022 08:54:26 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ot2NI-0004Wo-1l; Thu, 10 Nov 2022 02:53:24 -0500 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 1ot2NF-0004WN-9q for emacs-orgmode@gnu.org; Thu, 10 Nov 2022 02:53:21 -0500 Received: from smtpout02-ext4.partage.renater.fr ([194.254.241.31]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ot2ND-0004fh-EC for emacs-orgmode@gnu.org; Thu, 10 Nov 2022 02:53:21 -0500 Received: from zmtaauth04.partage.renater.fr (zmtaauth04.partage.renater.fr [194.254.241.26]) by smtpout20.partage.renater.fr (Postfix) with ESMTP id 9BB31BFB2B; Thu, 10 Nov 2022 08:53:07 +0100 (CET) Received: from zmtaauth04.partage.renater.fr (localhost [127.0.0.1]) by zmtaauth04.partage.renater.fr (Postfix) with ESMTPS id 90F761C0082; Thu, 10 Nov 2022 08:53:07 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by zmtaauth04.partage.renater.fr (Postfix) with ESMTP id 7E4531C0109; Thu, 10 Nov 2022 08:53:07 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.10.3 zmtaauth04.partage.renater.fr 7E4531C0109 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=unistra.fr; s=CF279DD4-6F58-4C59-BB33-73FDC6DFC1E3; t=1668066787; bh=ucN/CmBemK11iSmIItYGt0VCco09WTYiZDnuqSSziZs=; h=MIME-Version:Message-ID:Date:From:To; b=eA9mV5pIErzi7qukjYcAJR22B716WqoN6PuVcDlBPQ6RWkkSi9kAoQG7VkLK9koSK gEFcitbbmSQ9O9hJ2L0Gz342nXflKS/1bflPZFnocoCeZb/aiRhGgLLNl6hfQicZ1O f7RB8GnASbs5iyy42NM/o8UU0obtkrFJb1cJ5aZ3Kkozog7r9PY2n8vpko7EDxpsyn GOmVc5FV5j8X7TJCTxeaPe4hDFweGmu6hwJ/Otalihoq7e/LRZ1cRC3hckyxM1vhbL vVzZeDKERmbfm26T0atdjuNyrXIRc+oLvh+1FxLtSVRpwTtfz8lnQJ28h6S0H6bz/a cULp4dW/iR03Q== Received: from zmtaauth04.partage.renater.fr ([127.0.0.1]) by localhost (zmtaauth04.partage.renater.fr [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Ts7jJQhuDMrI; Thu, 10 Nov 2022 08:53:07 +0100 (CET) Received: from 90.33.254.224 (unknown [194.254.241.251]) by zmtaauth04.partage.renater.fr (Postfix) with ESMTPA id 1D5411C0082; Thu, 10 Nov 2022 08:53:07 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Message-ID: <25452.44514.642615.212883@gargle.gargle.HOWL> Date: Thu, 10 Nov 2022 08:53:06 +0100 From: Alain.Cochard@unistra.fr To: Ihor Radchenko Cc: Alain.Cochard@unistra.fr, Ihor Radchenko , emacs-orgmode@gnu.org Subject: Re: [FR] Allow TITLE to be used as default export file name (was: [BUG] EXPORT_FILE_NAME keyword is used by `org-export-output-file-name' before macro expansion/INCLUDEs/removing COMMENTed trees (was: Confused about what the COMMENT keyword means)) In-Reply-To: <87y1sjk1lq.fsf@localhost> References: <25393.61240.135445.401251@gargle.gargle.HOWL> <87leq5pomk.fsf@localhost> <25394.40867.872373.589874@gargle.gargle.HOWL> <87o7v1nu2e.fsf@localhost> <25398.44905.256243.690039@gargle.gargle.HOWL> <87k05i25lq.fsf@localhost> <25413.33003.166359.259055@gargle.gargle.HOWL> <87y1sjk1lq.fsf@localhost> X-Mailer: VM 8.2.0b under 27.2 (x86_64-redhat-linux-gnu) X-Virus-Scanned: clamav-milter 0.103.6 at clamav02 X-Virus-Status: Clean X-Renater-Ptge-SpamState: clean X-Renater-Ptge-SpamScore: 0 X-Renater-Ptge-SpamCause: gggruggvucftvghtrhhoucdtuddrgedvgedrfeefgdduudegucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecutffgpfetvffgtfenuceurghilhhouhhtmecufedttdenucenucfjughrpeggtgfgkfffhffvvefujghfofhrsehtqhertdertddunecuhfhrohhmpeetlhgrihhnrdevohgthhgrrhgusehunhhishhtrhgrrdhfrhenucggtffrrghtthgvrhhnpedtvefftdeuhfeifeevgeejhffffffftdduvdegfeduudfghfetgfeuffdvhfffgeenucfkphepudelgedrvdehgedrvdeguddrvdehudenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduleegrddvheegrddvgedurddvhedupdhhvghlohepledtrdeffedrvdehgedrvddvgedpmhgrihhlfhhrohhmpeetlhgrihhnrdevohgthhgrrhgusehunhhishhtrhgrrdhfrhdpnhgspghrtghpthhtohepgedprhgtphhtthhopegvmhgrtghsqdhorhhgmhhouggvsehgnhhurdhorhhgpdhrtghpthhtohephigrnhhtrghrledvsehgmhgrihhlrdgtohhmpdhrtghpthhtoheptehlrghinhdrvehotghhrghrugesuhhnihhsthhrrgdrfhhrpdhrtghpthhtohephigrnhhtrghrledvsehpohhsthgvohdrnhgvth Received-SPF: pass client-ip=194.254.241.31; envelope-from=Alain.Cochard@unistra.fr; helo=smtpout02-ext4.partage.renater.fr X-Spam_score_int: -3 X-Spam_score: -0.4 X-Spam_bar: / X-Spam_report: (-0.4 / 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, NICE_REPLY_A=-0.001, RCVD_HELO_IP_MISMATCH=2.368, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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: , Reply-To: alain.cochard@unistra.fr 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1668066867; h=from:from:sender:sender:reply-to: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=ucN/CmBemK11iSmIItYGt0VCco09WTYiZDnuqSSziZs=; b=Gav65cIQ5CXeOVRhLVJ0Y/+QxPh2vR7468/uxMlv45Wwq5VrMS2P1OfokchwBagedVLr4W FvEEkJCEVK/nriRniQrOWsVdMSnkNIFs5mqU/e7LKn45Hm1/a6iw8EXY+5l+QNPdiq8zMp +KCZYdwXLj1SPiovv2IDrA5LDLfp/3HMi2D/0Zm9Fr5TuaRf07ig6kwhbZsyAi1EkIYvvr fVE7XCggojjgVfatUJ/D72UJGB/Gqw4k/+K+kyUwBXe58+ZeBGxL3W50GhzHRR2U9rEu6y KSkkbeIN+rk5f444PyTP1TFf/RXedhdtq0vvE7fzir4lo7Go9In17lfTqYiYYg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1668066867; a=rsa-sha256; cv=none; b=Tl+tdbcU+t9kvCbkLVVAoaWo8SEVdQ08rbySDMRMIDrIZr0MRwlhNeVFB93PcdRU/cSELg HirAWDqTVnQUn2AT0SRDF0bgrm1Co7ClsnF3ZtyGoT+L47Sr8qhzvI/XUtS1KB9U+2GdFZ 0Hy7fNt6ZHXgeVosAN5qcMlqzbmQ7FsAjJoMJlUA6TMfgXaxiOxTYVXn9msb/YYmshpyNt lK3iAZ5MlzjtFmaXo6Ad/sDEc64C4KHKPOVjdEsX1nJyQveG3DUCb+OMdMyBAkjLioOxmg v+jN8Kz7cLDUVd5tsI5xrE36LvW93WUECgj2aONZsMDwkkZCc114UHMTj/vihQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=unistra.fr header.s=CF279DD4-6F58-4C59-BB33-73FDC6DFC1E3 header.b=eA9mV5pI; dmarc=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: -4.09 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=unistra.fr header.s=CF279DD4-6F58-4C59-BB33-73FDC6DFC1E3 header.b=eA9mV5pI; dmarc=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: 0B5FC1468F X-Spam-Score: -4.09 X-Migadu-Scanner: scn0.migadu.com X-TUID: Qw3oUL/yIJ78 Ihor Radchenko writes on Thu 10 Nov 2022 02:03: > Alain.Cochard@unistra.fr writes: >=20 > > > I recommend you to use :EXPORT=5FFILE=5FNAME: headline property = and > > > export using subtree scope. > > > > Thanks a lot for the tip. A suggestion: that the :TITLE: > > property be used if it exists. >=20 > We currently fall back to file name if nothing else works. Using > TITLE is possible but cannot be done by default as a fallback --- > existing users relying on current behaviour will be affected by > such change. >=20 > We may add a defcustom though. It will be nil by default and > setting it to non-nil will make Org export fall back to TITLE > rather than file name. >=20 > However, there is no point adding yet another option if not many > users are interested. I am changing the subject of this email to > facilitate the feedback. I am surprised by this message: like I said earlier when replying to myself to the same message as the one to which you are replying, I discovered the :EXPORT=5FTITLE: (headline) property, which does exactly= what I was looking for. It is as if you missed that message of mine (or did not understand what I wanted to say) AND forgot or don't know about the :EXPORT=5FTITLE: property. As I find it rather unlikely, I guess you are thinking of something else, which is beyond me. At any rate, there is no need for anything new in this repect, even for me. Best. --=20 EOST (=C9cole et Observatoire des Sciences de la Terre)=20 ITE (Institut Terre & Environnement) | alain.cochard@unistra.fr 5 rue Ren=E9 Descartes [bureau 110] | Phone: +33 (0)3 68 85 50 44=20= F-67084 Strasbourg Cedex, France | [ slot available for rent ]