From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: Re: error: (wrong-type-argument number-or-marker-p nil) in org-adaptive-fill-function Date: Tue, 30 Oct 2012 11:38:26 +0100 Message-ID: <80ip9s5jod.fsf@somewhere.org> References: <80mwz45k2o.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: 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-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hello, > 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... > GNU Emacs 24.2.50.1 (i386-mingw-nt5.1.2600) of 2012-10-22 on DANI-PC > Org-mode version 7.9.2 (release_7.9.2-533-g07c889 @ d:/home/sva/src/org-mode/lisp/) Best regards, Seb -- Sebastien Vauban