From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adam Porter Subject: Re: Exporting agendas as org-mode files? Date: Tue, 12 Nov 2019 20:50:32 -0600 Message-ID: <8736esv69z.fsf@alphapapa.net> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:34887) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iUik1-0007sr-Vw for emacs-orgmode@gnu.org; Tue, 12 Nov 2019 21:50:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iUik0-00080y-3K for emacs-orgmode@gnu.org; Tue, 12 Nov 2019 21:50:45 -0500 Received: from 195-159-176-226.customer.powertech.no ([195.159.176.226]:44160 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iUijz-00080L-Nt for emacs-orgmode@gnu.org; Tue, 12 Nov 2019 21:50:44 -0500 Received: from list by blaine.gmane.org with local (Exim 4.89) (envelope-from ) id 1iUijw-000DMH-Uf for emacs-orgmode@gnu.org; Wed, 13 Nov 2019 03:50:40 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org org-ql would make this pretty easy, I think. Use an org-ql query to select entries, and for the :action function, use a simple function that copies the entry or subtree and yanks it into a buffer. Then save that buffer to a file.