From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id cHJRK6WwbGO53gAAbAwnHQ (envelope-from ) for ; Thu, 10 Nov 2022 09:04:53 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id iJhKK6WwbGOX0QAAauVa8A (envelope-from ) for ; Thu, 10 Nov 2022 09:04:53 +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 902FA25C92 for ; Thu, 10 Nov 2022 09:04:49 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ot2Xb-00080o-K7; Thu, 10 Nov 2022 03:04:03 -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 1ot2XV-0007zV-GH for emacs-orgmode@gnu.org; Thu, 10 Nov 2022 03:03:57 -0500 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ot2XR-0005sy-64 for emacs-orgmode@gnu.org; Thu, 10 Nov 2022 03:03:56 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id D37B8240026 for ; Thu, 10 Nov 2022 09:03:49 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1668067429; bh=WUObBklO/KfhzJoAo6SXafp6LpvilITa0lLmw83++Es=; h=From:To:Cc:Subject:Date:From; b=A1ESt8fy/omBFt0zHlvR3gGlYW7F4eF/ziGzOxN9RZPjuuEjDx8oMWbChQu9R93Rk lKbRUqRw825OesD1onWTiBeHYnXlP8hFWQs/JfM2csY25p/2ICg2NaIi1pXGlSK3A8 pAxZq1gM+tsWyUvOz10lWtlGTVHTog+18S3aaqcTe1bmJwYlS5zIjHeBEU2KrO3vhf KFT0anJl4eqswakl44bSC5eefIxDBQqGSuQlzUy+b51fakfmDqgv830Ng9grNzjtXw gcyd/DfGafkDI0ArfvAkqe2PbVUbNQp5H6T/U0HrW6FYoymCqHEyD0M+pJHmj98Yp6 5auvuGOn84dbA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4N7Dqk6vDnz6tn8; Thu, 10 Nov 2022 09:03:46 +0100 (CET) From: Ihor Radchenko To: alain.cochard@unistra.fr Cc: 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: <25452.44514.642615.212883@gargle.gargle.HOWL> 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> <25452.44514.642615.212883@gargle.gargle.HOWL> Date: Thu, 10 Nov 2022 08:04:27 +0000 Message-ID: <877d03jkvo.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1668067489; 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=dhIiXcxbWKtU4gM2e7C4KmRtAWDqmXXpJM4uaNwz2mo=; b=QFX9ElDnyPGyWwpfUgakzapu8bHg4lamSemZHOCATPVCtAOPNgR0y6wgyPOx2h2NlwtR+5 ud4wGGtm1Wojb4P1GWa38xSf+7uu176Be6zfGXQKVB4Znvrg9qdWrBftT7eUppJjIl6tTb aS71MVbcPFqMGSZ32wwNfWooZmjdgF7PU2ozLH/FyYsR2LxewUwwhhVyAV7RLAbnQfdEHX WPKogtKl0AUvFtBYduMtq3HCvDyWAPjRYO2XxNQZFzUBUhNYeYdw5Pk4T+h5TUGG5/8F/B HIY0md5HOr6UB+XxOfZBn98Lqh0TlHTSum8ZXFC/jGm57NX1xMMc9ReU0H6k/Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1668067489; a=rsa-sha256; cv=none; b=cTl0s5lceMY80buSCWilXxXGRhUOFF8GTcK+65sZtZoj6PevIhCHxHg/aNg6LlXF2boqeQ /FwXHS6Ui6AkaT22coSscHkHdceMq+/wGVI9tGmc4GKS42kvXusM74gQwCY/TrabT8WW3J kvSiT52dfIZk39qxQ6Co/FBvVtEnixpSJgHlB1UBF7pZKPeO2ovzlgFWxNtcHcXkz2cqxS 2PGq/WrXRZt1wh/HseMt8Wh/lqn5j70s2kDtiXtPZO6u1wlbS478s57mAEzPSmhE/de+3C 5ssvwqSd1fhUJlC1XTIihdSD+zkIxV4Wa2e2diFY2HrvCYhnd3ZQ6/fgDLt0JQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=A1ESt8fy; dmarc=pass (policy=none) header.from=posteo.net; 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: -0.39 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=A1ESt8fy; dmarc=pass (policy=none) header.from=posteo.net; 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: 902FA25C92 X-Spam-Score: -0.39 X-Migadu-Scanner: scn1.migadu.com X-TUID: b2N9POqPdjP1 Alain.Cochard@unistra.fr writes: > > > > I recommend you to use :EXPORT_FILE_NAME: headline property and > > > > export using subtree scope. > > > > > > Thanks a lot for the tip. A suggestion: that the :TITLE: > > > property be used if it exists. > > > > 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. > > 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_TITLE: (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_TITLE: property. As I find it rather unlikely, I guess you > are thinking of something else, which is beyond me. Hmm. I think I misinterpreted your message. I thought that you were talking about file name, not the title inside the exported document. > At any rate, there is no need for anything new in this repect, even > for me. Noted. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at