[O] org-export-select-tags behaviour

2014-10-09 Thread Seb Frank
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

Re: [O] org-export-select-tags

2012-07-10 Thread SW
Nick Dokos nicholas.dokos at hp.com writes: Apparently the (old) latex exporter still shows symptoms of that disease. Note btw, that the buggy behavior is confined to the old exporter: the new exporter DTRT with or without the empty line. I've seen some mention of this new exporter. Where

Re: [O] org-export-select-tags

2012-07-10 Thread Jambunathan K
I've seen some mention of this new exporter. Where can I find out more? Is it included in 7.8.11 yet, or still being tested? 0. Checkout from git 1. Add contrib/lisp to load-path 2. Visit Org file. M-x org-export-dispatch RET 3. Migrate your existing settings in to the new exporter by

Re: [O] org-export-select-tags

2012-07-10 Thread Achim Gratz
SW writes: Library is file /usr/share/emacs/23.2/site-lisp/org-mode/org-install.elc That is a completely borked installation (not your fault quite likely), org-install.el should never be byte-compiled. I see Sebastien is the package maintainer, it would be nice if this (and actually a few other

Re: [O] org-export-select-tags

2012-07-09 Thread SW
Nick Dokos nicholas.dokos at hp.com writes: Can't reproduce it here: Org-mode version 7.8.11 (release_7.8.11-107-ga69f4b @ /home/nick/elisp/org-mode/lisp/) Tried both the old and the new exporter, exporting to ascii, latex and html of the following file: ... and I only get the bar tree

Re: [O] org-export-select-tags

2012-07-09 Thread Suvayu Ali
Hi, On Mon, Jul 09, 2012 at 08:54:53AM +, SW wrote: Nick Dokos nicholas.dokos at hp.com writes: Can't reproduce it here: Org-mode version 7.8.11 (release_7.8.11-107-ga69f4b @ /home/nick/elisp/org-mode/lisp/) Tried both the old and the new exporter, exporting to ascii, latex and

Re: [O] org-export-select-tags

2012-07-09 Thread Jambunathan K
I'm using Org-mode version 7.8.11-1 7.8.11-1 is very old. Upgrade and problem will disappear. --

Re: [O] org-export-select-tags

2012-07-09 Thread SW
Suvayu Ali fatkasuvayu+linux at gmail.com writes: Have you tried with a minimal setup? It's quite easy. Some instructions are included in the Org mode manual[1]. It also helps if you provide a minimal example org file, we like to call that an ECM[2] on the list. I have already confirmed that

Re: [O] org-export-select-tags

2012-07-09 Thread SW
Jambunathan K kjambunathan at gmail.com writes: I'm using Org-mode version 7.8.11-1 7.8.11-1 is very old. Upgrade and problem will disappear. From the org-mode download page right now: Current Version: Org 7.8.11 How is 7.8.11 very old? Which version should I upgrade to?

Re: [O] org-export-select-tags

2012-07-09 Thread SW
Suvayu Ali fatkasuvayu+linux at gmail.com writes: Have you tried with a minimal setup? It's quite easy. Some instructions are included in the Org mode manual[1]. It also helps if you provide a minimal example org file, we like to call that an ECM[2] on the list. If you would like a minimum

Re: [O] org-export-select-tags

2012-07-09 Thread SW
Correction to previous post: This exports all three headlines. Modify as follows: should read: This exports all *two* headlines. Modify as follows:

Re: [O] org-export-select-tags

2012-07-09 Thread Jambunathan K
SW sabrewo...@gmail.com writes: Jambunathan K kjambunathan at gmail.com writes: I'm using Org-mode version 7.8.11-1 7.8.11-1 is very old. Upgrade and problem will disappear. From the org-mode download page right now: Current Version: Org 7.8.11 How is 7.8.11 very old? Which

Re: [O] org-export-select-tags

2012-07-09 Thread SW
Jambunathan K kjambunathan at gmail.com writes: How about something in the range of 130+ - say release_7.8.11-135? Unless there is something related to exporting and possibly org-export-select-tags, I'm not sure this would help. A search here:

Re: [O] org-export-select-tags

2012-07-09 Thread Jambunathan K
I'm not sure this would help. Oh, OK. --

Re: [O] org-export-select-tags

2012-07-09 Thread Bastien
SW sabrewo...@gmail.com writes: Can't reproduce it here: Org-mode version 7.8.11 (release_7.8.11-107-ga69f4b @ /home/nick/elisp/org-mode/lisp/) Tried both the old and the new exporter, exporting to ascii, latex and html of the following file: ... and I only get the bar tree exported in

Re: [O] org-export-select-tags

2012-07-09 Thread Nick Dokos
Nick Dokos nicholas.do...@hp.com wrote: Footnotes: [fn:1] NB: this is different from just a minimal example. It involves setting up a bare-bones .emacs and then starting emacs like this emacs -q --load /path/to/minimal/.emacs /path/to/minimal/example.org and trying the

Re: [O] org-export-select-tags

2012-07-09 Thread Nick Dokos
SW sabrewo...@gmail.com wrote: Suvayu Ali fatkasuvayu+linux at gmail.com writes: Have you tried with a minimal setup? It's quite easy. Some instructions are included in the Org mode manual[1]. It also helps if you provide a minimal example org file, we like to call that an ECM[2] on the

Re: [O] org-export-select-tags

2012-07-09 Thread SW
Nick Dokos nicholas.dokos at hp.com writes: Well, so far nobody else can reproduce it, so the working assumption is that it is an artifact of either the version you are running or your configuration. As Suvayu suggests, a minimal org setup[fn:1] would distinguish between the two. Otherwise,

Re: [O] org-export-select-tags

2012-07-09 Thread Nick Dokos
SW sabrewo...@gmail.com wrote: [FWIW, this link: http://orgmode.org/worg/org-faq.php#keeping-current-with-Org%20mode-development linked from here: http://orgmode.org/org-mode-download.html is broken.] Yup, it should be a hyphen, not a space:

Re: [O] org-export-select-tags

2012-07-09 Thread SW
SW sabrewolfy at gmail.com writes: I am not familiar with downloading any version other than the one in my distro's repository or the Debian version from orgmode.org. I will look into getting a version later than 7.8.11-1, which is what my version is. I tested with the minimal file before:

Re: [O] org-export-select-tags

2012-07-09 Thread SW
(1) I extracted the latest tar.gz file downloaded from org-mode.org (org-mode-9d16365c201201679b190c601c8d32e06530a21a.tar.gz) to /tmp/org-mode. (2) I loaded Emacs with emacs -Q and then entered: (setq load-path (cons /tmp/org-mode/lisp load-path)) into the scratch buffer. (4) I marked it and

Re: [O] org-export-select-tags

2012-07-09 Thread Nick Dokos
SW sabrewo...@gmail.com wrote: (1) I extracted the latest tar.gz file downloaded from org-mode.org (org-mode-9d16365c201201679b190c601c8d32e06530a21a.tar.gz) to /tmp/org-mode. (2) I loaded Emacs with emacs -Q and then entered: (setq load-path (cons /tmp/org-mode/lisp load-path)) into

Re: [O] org-export-select-tags

2012-07-09 Thread Jambunathan K
While in your org buffer do a C-c C-e t You will now have a set of headers (as below). Specifically note the select and exclude tags directive. Now do a export and report what happens. Just to be sure, do a M-x locate-library RET org RET to make sure the path is right. #+TITLE: 1.org

Re: [O] org-export-select-tags

2012-07-09 Thread SW
Nick Dokos nicholas.dokos at hp.com writes: What does M-x locate-library RET org-install RET say? Library is file /usr/share/emacs/23.2/site-lisp/org-mode/org-install.elc (The latest version download is now different -- it no longer says version N/A N/A. It now says: Org-mode version

Re: [O] org-export-select-tags

2012-07-09 Thread SW
Jambunathan K kjambunathan at gmail.com writes: While in your org buffer do a C-c C-e t #+TITLE: testing.org #+AUTHOR: #+EMAIL: #+DATE: 2012-07-09 Mon #+DESCRIPTION: #+KEYWORDS: #+LANGUAGE: en #+OPTIONS: H:3 num:t toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t :t

Re: [O] org-export-select-tags

2012-07-09 Thread SW
SW sabrewolfy at gmail.com writes: I have an org-file with many headlines of various levels, but no tags. I tagged one top-level headline with :export: and exported to LaTeX with C-c C-e l. The tagged headline and everything below it was exported, but so was the first headline (and

Re: [O] org-export-select-tags

2012-07-09 Thread suvayu ali
On Mon, Jul 9, 2012 at 10:01 PM, SW sabrewo...@gmail.com wrote: [FWIW, this link: http://orgmode.org/worg/org-faq.php#keeping-current-with-Org%20mode-development linked from here: http://orgmode.org/org-mode-download.html is broken.] This is the correct link:

Re: [O] org-export-select-tags

2012-07-09 Thread Jambunathan K
Looks fine to me ... What does that mean? Are you getting the behaviour you are expecting. If you want to strip a tree from export, you can use the COMMENT keyword. I think the speed command is ; or something. Note: With template not in place, I could see the problem that you reported. Once

Re: [O] org-export-select-tags

2012-07-09 Thread SW
Jambunathan K kjambunathan at gmail.com writes: Looks fine to me ... What does that mean? Are you getting the behaviour you are expecting. What I meant is that the export tags *are* correctly set in the template, so only the :export: headlines *should* be exported, which, despite that

Re: [O] org-export-select-tags

2012-07-09 Thread Jambunathan K
I can duplicate what you say. May be it is a bug... ps: Text is no text with no whitespaces. All along we have been focussed on text, when we should actually have been focussed on the whitespace (or in this curious case, the missing whitepace) SW sabrewolfy at gmail.com writes: I have an

Re: [O] org-export-select-tags

2012-07-09 Thread Nick Dokos
SW sabrewo...@gmail.com wrote: SW sabrewolfy at gmail.com writes: I have an org-file with many headlines of various levels, but no tags. I tagged one top-level headline with :export: and exported to LaTeX with C-c C-e l. The tagged headline and everything below it was exported, but

Re: [O] org-export-select-tags

2012-07-09 Thread SW
Nick Dokos nicholas.dokos at hp.com writes: I can confirm that without the empty line the first subtree gets exported as well as the (tagged) second one (but not the third one in my minimal example). That's a bug. But the minimal example I posted *did* include the initial empty line;

Re: [O] org-export-select-tags

2012-07-09 Thread SW
SW sabrewolfy at gmail.com writes: That was my fault. I recall seeing other blank lines elsewhere in your example, so I must have deleted them all. Apologies for the confusion. I personally never have such blank lines in a document, so it was a force of habit. Why *did* you start that

Re: [O] org-export-select-tags

2012-07-09 Thread SW
Jambunathan K kjambunathan at gmail.com writes: I can duplicate what you say. May be it is a bug... ps: Text is no text with no whitespaces. All along we have been focussed on text, when we should actually have been focussed on the whitespace (or in this curious case, the missing

Re: [O] org-export-select-tags

2012-07-09 Thread Nick Dokos
SW sabrewo...@gmail.com wrote: SW sabrewolfy at gmail.com writes: That was my fault. I recall seeing other blank lines elsewhere in your example, so I must have deleted them all. Apologies for the confusion. I personally never have such blank lines in a document, so it was a force of

Re: [O] org-export-select-tags

2012-07-09 Thread suvayu ali
Hello all, On Tue, Jul 10, 2012 at 12:13 AM, Nick Dokos nicholas.do...@hp.com wrote: o post an ECM to begin with - no ifs, ands or buts. o post what you tested *exactly*. o test what you (or somebody else) posted *exactly* as it was posted. A comment with regards to the above; from

Re: [O] org-export-select-tags

2012-07-09 Thread Nick Dokos
suvayu ali fatkasuvayu+li...@gmail.com wrote: Hello all, On Tue, Jul 10, 2012 at 12:13 AM, Nick Dokos nicholas.do...@hp.com wrote: o post an ECM to begin with - no ifs, ands or buts. o post what you tested *exactly*. o test what you (or somebody else) posted *exactly* as it

Re: [O] org-export-select-tags

2012-07-09 Thread suvayu ali
Hi, On Tue, Jul 10, 2012 at 2:54 AM, Nick Dokos nicholas.do...@hp.com wrote: suvayu ali fatkasuvayu+li...@gmail.com wrote: Hello all, On Tue, Jul 10, 2012 at 12:13 AM, Nick Dokos nicholas.do...@hp.com wrote: o post an ECM to begin with - no ifs, ands or buts. o post what you

[O] org-export-select-tags

2012-07-08 Thread SW
I have an org-file with many headlines of various levels, but no tags. I tagged one top-level headline with :export: and exported to LaTeX with C-c C-e l. The tagged headline and everything below it was exported, but so was the first headline (and everything below it) in the org file, even though

Re: [O] org-export-select-tags

2012-07-08 Thread Nick Dokos
SW sabrewo...@gmail.com wrote: I have an org-file with many headlines of various levels, but no tags. I tagged one top-level headline with :export: and exported to LaTeX with C-c C-e l. The tagged headline and everything below it was exported, but so was the first headline (and everything