From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: org-element-paragraph-parser fails Date: Mon, 11 Feb 2013 21:16:50 +0100 Message-ID: <87zjzad2rx.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:59580) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U4zoK-0007IT-6B for emacs-orgmode@gnu.org; Mon, 11 Feb 2013 15:17:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U4zoI-0003aF-KE for emacs-orgmode@gnu.org; Mon, 11 Feb 2013 15:17:08 -0500 Received: from mail-wi0-f175.google.com ([209.85.212.175]:44294) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U4zoI-0003Zd-DX for emacs-orgmode@gnu.org; Mon, 11 Feb 2013 15:17:06 -0500 Received: by mail-wi0-f175.google.com with SMTP id l13so3616571wie.14 for ; Mon, 11 Feb 2013 12:17:05 -0800 (PST) In-Reply-To: (Charles Berry's message of "Mon, 11 Feb 2013 04:17:05 +0000 (UTC)") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Charles Berry Cc: emacs-orgmode@gnu.org Hello, Charles Berry 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