emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Exporting visible items not behaving as expected
@ 2013-05-07 16:51 Cameron Desautels
  2013-05-08  8:13 ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Cameron Desautels @ 2013-05-07 16:51 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 2363 bytes --]

Hey guys,

I'm having a bit of trouble with exports. My understanding is that I should
be able to create a sparse tree from a tag (C-c / m tag-name RET) and then
export only the visible items (C-c C-e C-v t A) to get an export of just
the items with that tag. What I'm getting instead is an export that only
contains the top-level headers and I'm uncertain why this is happening. Any
advice would be greatly appreciated. Details follow:

Org-mode version 8.0.2 (8.0.2-2-g93da18-elpa @
/Users/camdez/.emacs.d/elpa/org-20130429/)

Here's my sample buffer:

* Last week
** DONE Finalize early screens (login, etc.)
** DONE Judge video contest
** DONE Create mobile stories document
 :FLAGGED:
* This week
** TODO Incorporate changes from others into stories document
** TODO Nail down requirements
** TODO Set up next milestone
:FLAGGED:

After C-c / m FLAGGED RET:

* Last week...
** DONE Create mobile stories document
 :FLAGGED:
* This week...
** TODO Set up next milestone
:FLAGGED:...

And my ASCII export (C-c C-e C-v t A) looks like this:

Cameron Desautels


Table of Contents
_________________

1 Last week
2 This week


1 Last week
===========


2 This week
===========

For comparison, if I don't limit the export to visible items (C-c C-e t A)
I get this:

Cameron Desautels


Table of Contents
_________________

1 Last week
.. 1.1 DONE Finalize early screens (login, etc.)
.. 1.2 DONE Judge video contest
.. 1.3 DONE Create mobile stories document                     :FLAGGED:
2 This week
.. 2.1 TODO Incorporate changes from others into stories document
.. 2.2 TODO Nail down requirements
.. 2.3 TODO Set up next milestone                              :FLAGGED:


1 Last week
===========

1.1 DONE Finalize early screens (login, etc.)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


1.2 DONE Judge video contest
~~~~~~~~~~~~~~~~~~~~~~~~~~~~


1.3 DONE Create mobile stories document                        :FLAGGED:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


2 This week
===========

2.1 TODO Incorporate changes from others into stories document
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


2.2 TODO Nail down requirements
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


2.3 TODO Set up next milestone                                 :FLAGGED:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Much obliged for any help.
-- 
Cameron Desautels <camdez@gmail.com>

[-- Attachment #2: Type: text/html, Size: 7101 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Exporting visible items not behaving as expected
  2013-05-07 16:51 Exporting visible items not behaving as expected Cameron Desautels
@ 2013-05-08  8:13 ` Nicolas Goaziou
  2013-05-13 18:25   ` Cameron Desautels
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2013-05-08  8:13 UTC (permalink / raw)
  To: Cameron Desautels; +Cc: emacs-orgmode

Hello,

Cameron Desautels <camdez@gmail.com> writes:

> I'm having a bit of trouble with exports. My understanding is that I should
> be able to create a sparse tree from a tag (C-c / m tag-name RET) and then
> export only the visible items (C-c C-e C-v t A) to get an export of just
> the items with that tag. What I'm getting instead is an export that only
> contains the top-level headers and I'm uncertain why this is happening. Any
> advice would be greatly appreciated. Details follow:

The visible-only code was over simplistic. I fixed it in maint, so your
example should export fine now.

Thank you for reporting this.


Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Exporting visible items not behaving as expected
  2013-05-08  8:13 ` Nicolas Goaziou
@ 2013-05-13 18:25   ` Cameron Desautels
  0 siblings, 0 replies; 3+ messages in thread
From: Cameron Desautels @ 2013-05-13 18:25 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 897 bytes --]

Yessir, I see the expected behavior now (with the upgrade). Many thanks.

-- 
Cameron Desautels <camdez@gmail.com>


On Wed, May 8, 2013 at 3:13 AM, Nicolas Goaziou <n.goaziou@gmail.com> wrote:

> Hello,
>
> Cameron Desautels <camdez@gmail.com> writes:
>
> > I'm having a bit of trouble with exports. My understanding is that I
> should
> > be able to create a sparse tree from a tag (C-c / m tag-name RET) and
> then
> > export only the visible items (C-c C-e C-v t A) to get an export of just
> > the items with that tag. What I'm getting instead is an export that only
> > contains the top-level headers and I'm uncertain why this is happening.
> Any
> > advice would be greatly appreciated. Details follow:
>
> The visible-only code was over simplistic. I fixed it in maint, so your
> example should export fine now.
>
> Thank you for reporting this.
>
>
> Regards,
>
> --
> Nicolas Goaziou
>

[-- Attachment #2: Type: text/html, Size: 1487 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-05-13 18:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-07 16:51 Exporting visible items not behaving as expected Cameron Desautels
2013-05-08  8:13 ` Nicolas Goaziou
2013-05-13 18:25   ` Cameron Desautels

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).