From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: error: (wrong-type-argument number-or-marker-p nil) in org-adaptive-fill-function Date: Tue, 30 Oct 2012 13:07:09 +0100 Message-ID: <877gq8p3iq.fsf@gmail.com> References: <80mwz45k2o.fsf@somewhere.org> <80ip9s5jod.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:44411) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TTAe2-0000kG-9B for emacs-orgmode@gnu.org; Tue, 30 Oct 2012 08:10:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TTAdw-0002BJ-4f for emacs-orgmode@gnu.org; Tue, 30 Oct 2012 08:10:10 -0400 Received: from plane.gmane.org ([80.91.229.3]:38600) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TTAdu-00025y-Ot for emacs-orgmode@gnu.org; Tue, 30 Oct 2012 08:10:04 -0400 Received: from public by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TTAdx-0004p6-03 for emacs-orgmode@gnu.org; Tue, 30 Oct 2012 13:10:05 +0100 In-Reply-To: <80ip9s5jod.fsf@somewhere.org> (Sebastien Vauban's message of "Tue, 30 Oct 2012 11:38:26 +0100") 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: Sebastien Vauban Cc: public-emacs-orgmode-mXXj517/zsQ@plane.gmane.org Hello, "Sebastien Vauban" writes: >> When typing more than 80 characters (or so) on a line, waiting for the >> automatic filling, I get this every time I type any character: >> >> Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil) >> <(251038 nil) >> (if (< p post-affiliated) nil (cond ((eql type (quote comment)) ... >> (let* ((p (line-beginning-position)) (element (save-excursion ... >> (if (and (derived-mode-p (quote message-mode)) ... >> (save-restriction (widen) (if (and (derived-mode-p ... >> (save-excursion (save-restriction (widen) (if (and ... >> org-adaptive-fill-function() > > FYI, this seems to happen when in an itemized list, not on a regular > paragraph... It should be fixed. Thank you. Regards, -- Nicolas Goaziou