From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 6MUHMRWQ1l5tfQAA0tVLHw (envelope-from ) for ; Tue, 02 Jun 2020 17:44:53 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id GCzkLBWQ1l6fEgAA1q6Kng (envelope-from ) for ; Tue, 02 Jun 2020 17:44:53 +0000 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 45A4F940058 for ; Tue, 2 Jun 2020 17:44:53 +0000 (UTC) Received: from localhost ([::1]:47990 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jgAy4-0004mW-1y for larch@yhetil.org; Tue, 02 Jun 2020 13:44:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45642) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jgAxE-00049Y-QT for emacs-orgmode@gnu.org; Tue, 02 Jun 2020 13:44:00 -0400 Received: from ciao.gmane.io ([159.69.161.202]:42904) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jgAxD-0007E3-U9 for emacs-orgmode@gnu.org; Tue, 02 Jun 2020 13:44:00 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1jgAxA-000BYn-8t for emacs-orgmode@gnu.org; Tue, 02 Jun 2020 19:43:56 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: emacs-orgmode@gnu.org From: Eric Abrahamsen Subject: Export to attach directory? Date: Tue, 02 Jun 2020 10:43:48 -0700 Message-ID: <87o8q18isr.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cancel-Lock: sha1:3BdbOfTRpjAoQ4+dWBi0sbehk1o= Received-SPF: pass client-ip=159.69.161.202; envelope-from=geo-emacs-orgmode@m.gmane-mx.org; helo=ciao.gmane.io X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/02 13:43:57 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 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-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=ericabrahamsen.net (policy=none); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: 0.59 X-TUID: 7a4e+bWZe+Bg I think the last thing I'm missing before my Org set up is Absolutely Perfect and never needs to be tweaked again (ha!) is the ability to export Org files/subtrees to their relevant ATTACH directories, if any. It might be overkill to have a global setting for this, but I would love to be able to say: * Report #25 :ATTACH: :PROPERTIES: :ID: 3da327aa-b51e-444a-ae5c-95bb56d025a9 :EXPORT_FILE_NAME: report_25 :EXPORT_TO_ATTACH: t :END: Or maybe a property with an ATTACH prefix, I'm not sure. I find myself having to use Google Docs more and more, for collaboration, and this would let me use a package that mounts G-Docs on your filesystem, and export directly there. (And it would keep my Org directory tidy!) Has anyone cooked this up before? I wasn't able to find anything on the web. I'm imagining that org-attach.el could add something to `org-export-before-processing-hook', to check for the presence of this property, and set/rewrite the EXPORT_FILE_NAME property, if it's present. WDYT? Eric