From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: Re: [BUG] (wrong-type-argument wholenump nil) Date: Mon, 16 Sep 2013 21:04:20 +0200 Message-ID: <864n9kpozv.fsf@somewhere.org> References: <86fvv4xesf.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 Andrew, Andrew Hyatt wrote: > On Wed, Jul 24, 2013 at 9:34 AM, Sebastien Vauban wrote: >> With a *minimal config file* and >> >> Org-mode version 8.0.6 (release_8.0.6-357-gf00d75) @ >> >> there is a Lisp error generated when trying to split a block of code into >> two pieces through `C-c C-v C-d' (org-babel-demarcate-block). >> >> Debugger entered--Lisp error: (wrong-type-argument wholenump nil) >> make-string(nil 32) >> (let ((lang (nth 0 info)) (indent (make-string (nth 5 info) 32))) ...) >> ... >> org-babel-demarcate-block(nil) >> >> FYI, it works in an old Org version (such as 7.9.2+, bundled with GNU Emacs >> 24.2.91.1). > > I see this as well with org-indent-line-to, and org-clock-in. org-clock-in > calls org-indent-line-to with a negative number, and org-indent-line-to > calls indent-line-to with a negative number, which calls move-to-column with > a negative number. But move-to-column doesn't allow negative numbers. I'm "glad" someone else does get it as well... I'm not crazy! Hopefull, this does not appear anymore with Org-mode version 8.1.1 (release_8.1.1-13-ga1f9a1). Best regards, Seb -- Sebastien Vauban