From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: org-fill-paragraph crashes at eob Date: Sun, 19 Aug 2012 09:53:04 +0200 Message-ID: <877gsvco7z.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:46188) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T30NP-00076B-4U for emacs-orgmode@gnu.org; Sun, 19 Aug 2012 03:56:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T30NO-00031V-8W for emacs-orgmode@gnu.org; Sun, 19 Aug 2012 03:56:51 -0400 Received: from mail-we0-f169.google.com ([74.125.82.169]:63895) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T30NO-00031P-2T for emacs-orgmode@gnu.org; Sun, 19 Aug 2012 03:56:50 -0400 Received: by weys10 with SMTP id s10so3773304wey.0 for ; Sun, 19 Aug 2012 00:56:49 -0700 (PDT) In-Reply-To: (Samuel Wales's message of "Sat, 18 Aug 2012 17:44:29 -0700") 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: Samuel Wales Cc: emacs-orgmode@gnu.org Hello, Samuel Wales writes: > Cannot debug it, but when org-fill-paragraph is called on a paragraph > with no final newline. Top: > > Debugger entered--Lisp error: (args-out-of-range 1179 1263) > buffer-substring-no-properties(1179 1263) > (replace-regexp-in-string " " (make-string tab-width 32) > (buffer-substring-no-properties (point) end)) I cannot reproduce it, but it looks like an error in `org-element--parse-objects'. Could you reproduce here the paragraph triggering the problem? It may contain an object not correctly parsed. Thanks, -- Nicolas Goaziou