emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [bug] exporting to org corrupts outline
@ 2014-08-27 23:39 Samuel Wales
  2014-08-28  9:12 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Samuel Wales @ 2014-08-27 23:39 UTC (permalink / raw)
  To: emacs-orgmode

don't know if i am doing something wrong, but i tried a few variants
both programmatically and interactively.

***** exporting
i exported 1 as a subtree to org:
******* 1
********* 2
*********** 3                                                        :export:
************* 4
*************** 5
******* output
in org maint in emacs 24.4 i got:

corrupted levels
  4 is promoted
  i expected 4 to still be under 3
wrong format for outline
  does not respect org-odd-levels-only
  needed for re-use in the same environment that produced it
no top level
  i expected 1
  istr 1 exports in ascii and html
same output with export tag on 2; same with noexport on 1


: * 2
: ** 3
: ** 4
: *** 5


-- 
The Kafka Pandemic: http://thekafkapandemic.blogspot.com

The disease DOES progress.  MANY people have died from it.  And
ANYBODY can get it.

Denmark: free Karina Hansen NOW.

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

* Re: [bug] exporting to org corrupts outline
  2014-08-27 23:39 [bug] exporting to org corrupts outline Samuel Wales
@ 2014-08-28  9:12 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2014-08-28  9:12 UTC (permalink / raw)
  To: Samuel Wales; +Cc: emacs-orgmode

Hello,

Samuel Wales <samologist@gmail.com> writes:

> don't know if i am doing something wrong, but i tried a few variants
> both programmatically and interactively.
>
> ***** exporting
> i exported 1 as a subtree to org:
> ******* 1
> ********* 2
> *********** 3                                                        :export:
> ************* 4
> *************** 5
> ******* output
> in org maint in emacs 24.4 i got:
>
> corrupted levels
>   4 is promoted
>   i expected 4 to still be under 3
> wrong format for outline
>   does not respect org-odd-levels-only

This should be fixed. Thank you for reporting it.

>   i expected 1
>   istr 1 exports in ascii and html
> same output with export tag on 2; same with noexport on 1
>
> : * 2
> : ** 3
> : ** 4
> : *** 5

Not sure to understand that part. Is there anything left to fix?


Regards,

-- 
Nicolas Goaziou

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

end of thread, other threads:[~2014-08-28  9:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-27 23:39 [bug] exporting to org corrupts outline Samuel Wales
2014-08-28  9:12 ` Nicolas Goaziou

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).