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 yI8uFX0WaGLCPgAAbAwnHQ (envelope-from ) for ; Tue, 26 Apr 2022 17:57:49 +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 4tdMFH0WaGKg0QAAG6o9tA (envelope-from ) for ; Tue, 26 Apr 2022 17:57:49 +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 BC376A797 for ; Tue, 26 Apr 2022 17:57:48 +0200 (CEST) Received: from localhost ([::1]:46426 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1njNZT-00082L-P7 for larch@yhetil.org; Tue, 26 Apr 2022 11:57:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36154) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1njNWu-00060P-3I for emacs-orgmode@gnu.org; Tue, 26 Apr 2022 11:55:08 -0400 Received: from mail-vk1-xa35.google.com ([2607:f8b0:4864:20::a35]:34546) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1njNWs-0006I3-En for emacs-orgmode@gnu.org; Tue, 26 Apr 2022 11:55:07 -0400 Received: by mail-vk1-xa35.google.com with SMTP id b81so8932149vkf.1 for ; Tue, 26 Apr 2022 08:55:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=c3jqvtjGSxXSY+nct6HAMXvMsbET8aqt2pOr2wvofwU=; b=iF+VpXJZAcFqxFsAH9NOJOfiv3cRjzg1kgT4AGxK3z3+f10kQOgs3qYicAkvMt6OOh um1GP3/6Aspo52z6GdvvN/P731O9l/eg5HnnjaEQaVVnn0UyNYqH6NiXeY74bmHWPYfB feUStXSH2rXc524d17Uu0BjHrKXeFOXGQwMZiGv33h+1yIq619Sh1/HZbsp3BI5hPdhr CRi2eGb2Pcv8KYcrVHjo4T4HELgpTFxSpJr5EuXQILm7xcVaTcaeExMVyf0p1Mqihzxx YgL5AtGvFfpd1CvjB4HcxUTB2ujGjxOh773H63TQiiByGwxBzWK/m7kTbOSgN1a5lUhx tbtw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=c3jqvtjGSxXSY+nct6HAMXvMsbET8aqt2pOr2wvofwU=; b=uwG8DD+7jA7dFs3OjZBsGKiq7+K2SC1J+LAxmklPOBwBaUbF7dbjqJjRM71jU3GSQD isL8hRtrFRJKktJAqdGvQBNQk9085mzXOAyzoBBMKMgVXpQG8u7ryVLX6b4XE1azgOLb VO6tEr5Dqfgb8a4Jq565oQUuZkToiTPYPm0NF4Dtv6IH5B95Dn8M1uHCuHlp3+Yno3vH 8lBSDLBkRn0WlzO2GsuMUGZsP1kp8Ji4E8Ci9Z8IXPsZbFEXfCXLL+I+inN2UFIYY5UK Dj9EjbRFwY903kSISj34VX289nH2w2jPvzTlPxHZ6fUiBFga3cZ7tD/CFl5G54OVjxjb CpwQ== X-Gm-Message-State: AOAM533H+XJMtLVeXYL2hQ5eMWw1I0ND5IluqIdmIw0gTGKc+e5El2L9 k3LyW2vbaOU+b5e1HRgWQOD+RX1Z6z9RoEwxQlXPh0zVbns= X-Google-Smtp-Source: ABdhPJzRw7pRzkSfs6DsX9evUg1k4g568F2Vebi7+rVHDD092oWMfGYKumbSCgLa+FdqcPm9eRY+hIQfuGypwB6/duI= X-Received: by 2002:a1f:9103:0:b0:349:2ac7:b4c0 with SMTP id t3-20020a1f9103000000b003492ac7b4c0mr6949974vkd.11.1650988504231; Tue, 26 Apr 2022 08:55:04 -0700 (PDT) MIME-Version: 1.0 From: Tim Visher Date: Tue, 26 Apr 2022 11:54:28 -0400 Message-ID: Subject: Automatically use Heading Content as EXPORT_FILE_NAME? To: Emacs Org Mode mailing list Content-Type: multipart/alternative; boundary="00000000000052b50105dd90b794" Received-SPF: pass client-ip=2607:f8b0:4864:20::a35; envelope-from=tim.visher@gmail.com; helo=mail-vk1-xa35.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, HTML_MESSAGE=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=1650988668; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=c3jqvtjGSxXSY+nct6HAMXvMsbET8aqt2pOr2wvofwU=; b=YCEcvH3OPWyvyx0i8Otrd9sUbNZGVW03mbfHFFYBImUdVzj8POo/Jjj2IlkKx+vqjc1jYC Dc8Myvj4XulCJeIn5kY+LQ/aG7cXc6bRdbpruvCCTzfqcCnjCnLAsEyI0GXtC2Mdsr7oUM 6rf31PMA1nVReXu4rT17bPqqvFmFtu/bkSypOi80JSEQkp4WyTsC+uNxcZIH2J+5xVJR6Y gTJvbTjDfESFWLXlMajmvimhOOeGgJIp2IpZ6WCqsSV2TH2P0w4HsgpSN27fvRJeMMV2Eg m7CNjB1TwsAX8O4bPvhgRZ40wTTsZcrPg2DJbMYDlpP9SPbeT0KQgGebNHWNgw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1650988668; a=rsa-sha256; cv=none; b=ivm8oGGnBZiFn7C+v8vxYk5naQLQtiGbSQNFE0ZdaiM8FAKY7CytZ+3pGcK9pZ3wHWHc2K jaHOLZEQCarRXxi55661dqchRAphHvwV/uDAE033NLgSIKSjxerCj7232jNXKTcbdTVeOK Gfkis5oFn4CPWLQXIQOhRGyIvqxvViNzJue3GI3grzAqvW6G1iUAn/+F1uWOlcbhbdgJh9 VTL7Yv27mwashpxpJOXGpCEr2KLag2+GYJskKzEpuu1pkmGnvukVdYFreXsPhoyWnIgnQ4 3bMK47a310kVdJ334VRWctg4AM/tE9HDwHCEW9WfmmMYvUdXbeVM8CAQWlD8mw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=iF+VpXJZ; 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: -4.31 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=iF+VpXJZ; 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: BC376A797 X-Spam-Score: -4.31 X-Migadu-Scanner: scn0.migadu.com X-TUID: jXM/+BEy6rKh --00000000000052b50105dd90b794 Content-Type: text/plain; charset="UTF-8" Hello Everyone, Is there a way to automatically use the text content of the current Heading as the EXPORT_FILE_NAME? AFAICT there isn't. I tend to do most of my Org writing in a few 'mono files' (like todo.org or wiki.org). I then set my export options to default to subtree and visible contents etc. The resulting file is always named after the whole mono file though. Given my usage pattern it would be awesome if it instead could default to the current heading text. Is that something others would be interested in? I'm currently going to hack around it I think by simply making a function that updates the EXPORT_FILE_NAME property with the current heading text. Thanks in advance! -- In Christ, Timmy V. https://blog.twonegatives.com http://five.sentenc.es --00000000000052b50105dd90b794 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello Everyone,

Is=C2=A0 there a way to= automatically use the text content of the current Heading as the EXPORT_FI= LE_NAME? AFAICT there isn't.

I tend to do most= of my Org writing in a few 'mono files' (like todo.org or wiki.org). I then s= et my export options to default to subtree and visible contents etc.
<= div>
The resulting file is always named after the whole mono = file though. Given my usage pattern it would be awesome if it instead could= default to the current heading text.

Is that some= thing others would be interested in? I'm currently going to hack around= it I think by simply making a function that updates the EXPORT_FILE_NAME p= roperty with the current heading text.

Thanks in a= dvance!

--

In Christ,

Timmy V.

https://blog.twonegatives.com
http://five.sentenc.es
--00000000000052b50105dd90b794--