emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-element-paragraph-parser fails
@ 2013-02-11  4:17 Charles Berry
  2013-02-11 20:16 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Charles Berry @ 2013-02-11  4:17 UTC (permalink / raw)
  To: emacs-orgmode



Remove the spaces before #+name OR take out the '- item' and org-export-dispatch
succeeds.

As is, it fails with 

org-element-paragraph-parser: Invalid search bound (wrong side of point)


,----
| * export dispatcher
|     
| - item 
| 
|      #+name: xyz
| #+BEGIN_SRC emacs-lisp 
|  (pwd)
| #+END_SRC
`----
    

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

* Re: org-element-paragraph-parser fails
  2013-02-11  4:17 org-element-paragraph-parser fails Charles Berry
@ 2013-02-11 20:16 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2013-02-11 20:16 UTC (permalink / raw)
  To: Charles Berry; +Cc: emacs-orgmode

Hello,

Charles Berry <ccberry@ucsd.edu> writes:

> Remove the spaces before #+name OR take out the '- item' and org-export-dispatch
> succeeds.
>
> As is, it fails with 
>
> org-element-paragraph-parser: Invalid search bound (wrong side of point)
>
>
> ,----
> | * export dispatcher
> |     
> | - item 
> | 
> |      #+name: xyz
> | #+BEGIN_SRC emacs-lisp 
> |  (pwd)
> | #+END_SRC
> `----

This should be fixed. Thank you for reporting this.

Note that it won't give you the result you're probably expecting. The
NAME keyword belongs to the list whereas the src-block doesn't. The are
unrelated. So the affiliated keyword will be parsed as a regular keyword
and the block will have no name.


Regards,

-- 
Nicolas Goaziou

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

end of thread, other threads:[~2013-02-11 20:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-11  4:17 org-element-paragraph-parser fails Charles Berry
2013-02-11 20:16 ` 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).