From mboxrd@z Thu Jan 1 00:00:00 1970 From: Seb Frank Subject: org-export-select-tags behaviour Date: Thu, 9 Oct 2014 09:51:39 +0100 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=90e6ba6147fe777df60504f98a0a Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43703) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xc9Rm-0005GQ-8O for emacs-orgmode@gnu.org; Thu, 09 Oct 2014 04:51:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xc9Rl-0007Do-9h for emacs-orgmode@gnu.org; Thu, 09 Oct 2014 04:51:42 -0400 Received: from mail-ig0-x22c.google.com ([2607:f8b0:4001:c05::22c]:59198) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xc9Rl-0007Di-59 for emacs-orgmode@gnu.org; Thu, 09 Oct 2014 04:51:41 -0400 Received: by mail-ig0-f172.google.com with SMTP id r2so11524086igi.11 for ; Thu, 09 Oct 2014 01:51:40 -0700 (PDT) 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "emacs-orgmode@gnu.org" --90e6ba6147fe777df60504f98a0a Content-Type: text/plain; charset=UTF-8 Hi, Quoting the manual (12.1 Selective Export): "1. Org first checks if any of the *select* tags is present in the buffer... 2. If none of the select tags is found, the whole buffer will be selected for export." Is it possible to change this behaviour (i.e., to select nothing for export if none of the /select/ tags are present), at least as an option? I'm using org-caldav to synchronise selected entries in my org files with an external calendar, and at some times in an org file there might happen to be no headline present that I want exported -- in that case, I'd prefer not to have /every/ headline exported, but none. I've been trying to find where the selection/exclusion is done (in ox.el?), but my limited lisp skills didn't get me far enough. Any pointers? Many thanks, Seb --90e6ba6147fe777df60504f98a0a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

Quoting the manu= al (12.1 Selective Export):

"1. Org first checks if any of the = select tags is present in the buffer...
=C2=A02. If none of the select tags is found, the whole buffer= will be selected for export."

Is it possible to change this behaviour (i.e., t= o select nothing for export if none of the /select/ tags are present), at l= east as an option? I'm using org-caldav to synchronise selected entries= in my org files with an external calendar, and at some times in an org fil= e there might happen to be no headline present that I want exported -- in t= hat case, I'd prefer not to have /every/ headline exported, but none.
I've been trying to find where the selection/exclusion is d= one (in ox.el?), but my limited lisp skills didn't get me far enough. A= ny pointers?

Many thanks,
=C2=A0 Seb
--90e6ba6147fe777df60504f98a0a--