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 13:48:36 +0200 Message-ID: <87r4r3m7aj.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:40356) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T343K-0000Ls-Rx for emacs-orgmode@gnu.org; Sun, 19 Aug 2012 07:52:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T343J-0002GA-Vf for emacs-orgmode@gnu.org; Sun, 19 Aug 2012 07:52:22 -0400 Received: from mail-wi0-f177.google.com ([209.85.212.177]:44996) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T343J-0002G6-PR for emacs-orgmode@gnu.org; Sun, 19 Aug 2012 07:52:21 -0400 Received: by wibhn17 with SMTP id hn17so2550018wib.12 for ; Sun, 19 Aug 2012 04:52:20 -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)) After some investigation, it seems that the error was returned when filling a narrowed buffer. It should be fixed now. Thank you for reporting this. Regards, -- Nicolas Goaziou