From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leonard Avery Randall Subject: Re: Including headlines in export with specific tags AND no tags? Date: Sun, 04 May 2014 22:49:38 +0100 Message-ID: <5366B5F2.7050409@gmail.com> References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------030107050600040105050203" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47472) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wh4IE-00081l-5Y for emacs-orgmode@gnu.org; Sun, 04 May 2014 17:50:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wh4I4-0008Ii-3G for emacs-orgmode@gnu.org; Sun, 04 May 2014 17:49:54 -0400 Received: from mail-wg0-x231.google.com ([2a00:1450:400c:c00::231]:52655) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wh4I3-0008Ic-Of for emacs-orgmode@gnu.org; Sun, 04 May 2014 17:49:44 -0400 Received: by mail-wg0-f49.google.com with SMTP id m15so1459088wgh.32 for ; Sun, 04 May 2014 14:49:42 -0700 (PDT) In-Reply-To: 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: Rehan Iftikhar Cc: emacs-orgmode@gnu.org This is a multi-part message in MIME format. --------------030107050600040105050203 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi Rehan, Rehan Iftikhar wrote: > > I'd like to export a .org file which includes all headlines without > any tags AND headlines with selected tags. Headlines with tags which > do not match the specified list are skipped. I am not sure exactly how to elegantly do what you wish to do, but if your tag list is not too extensive, you may be able to simply exclude all the tags you don't want. If you do not currently have a complete list of tags, you can get one by attempting to add a tag to headline by calling C-q and then pressing tab. That should give you a completions buffer with a list that includes all tags in the current .org file. Then just add all the tags you don't want to org-export exclude tags or to an #+EXCLUDE_TAGS line. It's not elegant but it should work. Hope this helps, All the best, Leonard > Rehan Iftikhar > May 4, 2014 at 10:06 PM > Hello > > I'd like to export a .org file which includes all headlines without > any tags AND headlines with selected tags. Headlines with tags which > do not match the specified list are skipped. > > My testing so far reveals that setting org-export-select-tags only > selects headlines which strictly match the specified tag list. I have > tried including nil, an empty string, and an empty string with a space > in the specified tag list without any luck. > > Does anyone know if this is currently possible? > > Thanks, > -Rehan --------------030107050600040105050203 Content-Type: multipart/related; boundary="------------030900070805010505020209" --------------030900070805010505020209 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
Hi Rehan,

Rehan Iftikhar wrote:


I'd like to export a .org file which includes all headlines without
any tags AND headlines with selected tags. Headlines with tags which
do not match the specified list are skipped.


I am not sure exactly how to elegantly do what you wish to do, but
if your tag list is not too extensive, you may be able to simply
exclude all the tags you don't want. If you do not currently have a
complete list of tags, you can get one by attempting to add a tag to
headline by calling C-q and then pressing tab. That should give you
a completions buffer with a list that includes all tags in the
current .org file.  Then just add all the tags you don't want to
org-export exclude tags or to an #+EXCLUDE_TAGS line.

It's not elegant but it should work.

Hope this helps,

All the best,

Leonard 


May 4, 2014 at 10:06 PM
Hello

I'd like to export a .org file which includes all headlines without any tags AND headlines with selected tags. Headlines with tags which do not match the specified list are skipped.

My testing so far reveals that setting org-export-select-tags only selects headlines which strictly match the specified tag list. I have tried including nil, an empty string, and an empty string with a space in the specified tag list without any luck.

Does anyone know if this is currently possible?

Thanks,
-Rehan
--------------030900070805010505020209 Content-Type: image/jpeg; x-apple-mail-type=stationery; name="compose-unknown-contact.jpg" Content-Transfer-Encoding: base64 Content-ID: Content-Disposition: inline; filename="compose-unknown-contact.jpg" /9j/4AAQSkZJRgABAQEARwBHAAD/2wBDAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEC AQEBAQEBAgICAgICAgICAgICAgICAgICAgICAgICAgICAgL/2wBDAQEBAQEBAQICAgICAgIC AgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgL/wAAR CAAZABkDAREAAhEBAxEB/8QAGAAAAwEBAAAAAAAAAAAAAAAABgcICQr/xAA0EAABAwMCAgUK BwAAAAAAAAACAQMEBQYRABITIQcUMUF2CBUXIjI2N0JRtVRWkZOV0dL/xAAYAQEAAwEAAAAA AAAAAAAAAAADAAEEAv/EACQRAAICAAQGAwAAAAAAAAAAAAABAhEDMrHREyExM0FxgfDx/9oA DAMBAAIRAxEAPwDuEt+gW/ULet6oVC3rfqNQqFv0OfPn1GhUqfOmzZtKZlS5UqZMaNwzNwiJ VIl7eXLCaZIGwBl3TY8epPx2+jy2ZNPjvkwc9uhW8j7nCPhvOsQliYIeS7cvCpp8o50qwrC4 v3lsNSDbdmTEhvs2tahxpfV3WnmbbozJEw/gwdadbYExVRXKEKoSdvJcaOSqxE7/AAiX0gXx +a69/JSf9alIlste0VzaNpeFrcT9KKymotyiaZ0KRCnzacoE7Kjzn4gi2KqUh3jqDHDHv4mR UfruTWlMzlVUKIVNp9GguEJnAh0+IZjyAiisgyRDnu5azS8miKqjOTVkKqS/psG37fo1Fbab eg25b8eZPeFJBBJSjMG5HjMeyihnaauZwe4OGiju13GAcpOwBeN+U8/IkGbsiS8b7ryogmbz hbyc9REROfZhERO5ETShjPtvpGqTUyLErytS4siSwx5x2tRH4hPOI0DkjZtaJtFxuVEbIUUi yeNujlBUJGbJN6nM/Cyf2Hf60YgjvKA+NPSP4gT7axpcPtr51YWJnYn9dnAQWl722p4ot37y zqnlfp6FrqbwawG8/9k= --------------030900070805010505020209-- --------------030107050600040105050203--