emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [BUG] Junk appended when exporting visible
@ 2010-11-03 12:26 Ivan Vilata i Balaguer
  2010-11-07 19:25 ` David Maus
  0 siblings, 1 reply; 3+ messages in thread
From: Ivan Vilata i Balaguer @ 2010-11-03 12:26 UTC (permalink / raw)
  To: emacs-orgmode

Hi, I've noticed that exporting an entry with at least two examples,
when limiting the export to the visible tree (i.e. C-c C-e v <format>),
appends some junk examples at the end of the entry.  Curiously enough,
this doesn't happen when the whole file is exported (i.e. C-c C-e
<format>).

The following sample file triggers the problem:

----8<----
* Title
** Subtitle

Foo1.

#+BEGIN_EXAMPLE
foo1
#+END_EXAMPLE

Foo2.

#+BEGIN_EXAMPLE
foo2
#+END_EXAMPLE
----8<----

Please note that an additional example is appended after foo2 in the
exported file.  I'm using Org version 7.01h.

Thanks!
-- 
Ivan Vilata i Balaguer -- http://ivan.lovesgazpacho.net/

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

* Re: [BUG] Junk appended when exporting visible
  2010-11-03 12:26 [BUG] Junk appended when exporting visible Ivan Vilata i Balaguer
@ 2010-11-07 19:25 ` David Maus
  2010-11-08 12:47   ` Ivan Vilata i Balaguer
  0 siblings, 1 reply; 3+ messages in thread
From: David Maus @ 2010-11-07 19:25 UTC (permalink / raw)
  To: Ivan Vilata i Balaguer; +Cc: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 703 bytes --]

At Wed, 03 Nov 2010 13:26:55 +0100,
Ivan Vilata i Balaguer wrote:
>
> Hi, I've noticed that exporting an entry with at least two examples,
> when limiting the export to the visible tree (i.e. C-c C-e v <format>),
> appends some junk examples at the end of the entry.  Curiously enough,
> this doesn't happen when the whole file is exported (i.e. C-c C-e
> <format>).

This should be fixed in master now.

The problem was that Org searched for possible in-buffer options in
the source buffer without limiting this search to the region between
beginning of buffer and beginning of first headline.

Best,
  -- David

--
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... dmjena@jabber.org
Email..... dmaus@ictsoc.de

[-- Attachment #1.2: Type: application/pgp-signature, Size: 230 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

* Re: [BUG] Junk appended when exporting visible
  2010-11-07 19:25 ` David Maus
@ 2010-11-08 12:47   ` Ivan Vilata i Balaguer
  0 siblings, 0 replies; 3+ messages in thread
From: Ivan Vilata i Balaguer @ 2010-11-08 12:47 UTC (permalink / raw)
  To: emacs-orgmode

David Maus (2010-11-07 20:25:59 +0100) wrote:

> At Wed, 03 Nov 2010 13:26:55 +0100,
> Ivan Vilata i Balaguer wrote:
>>
>> Hi, I've noticed that exporting an entry with at least two examples,
>> when limiting the export to the visible tree (i.e. C-c C-e v <format>),
>> appends some junk examples at the end of the entry.  Curiously enough,
>> this doesn't happen when the whole file is exported (i.e. C-c C-e
>> <format>).
>
> This should be fixed in master now.
>
> The problem was that Org searched for possible in-buffer options in
> the source buffer without limiting this search to the region between
> beginning of buffer and beginning of first headline.

Thanks a lot, David!

-- 
Ivan Vilata i Balaguer -- http://ivan.lovesgazpacho.net/

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

end of thread, other threads:[~2010-11-08 12:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-03 12:26 [BUG] Junk appended when exporting visible Ivan Vilata i Balaguer
2010-11-07 19:25 ` David Maus
2010-11-08 12:47   ` Ivan Vilata i Balaguer

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