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. On Wed, Jul 24, 2013 at 9:34 AM, Sebastien Vauban wrote: > Hello, > > With a *minimal config file* and > > Org-mode version 8.0.6 (release_8.0.6-357-gf00d75 @ > d:/Users/sva/Public/Repositories/org-mode/lisp/) > > 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). > > ECM: > > --8<---------------cut here---------------start------------->8--- > #+begin_src sh > ls > ls > #+end_src > --8<---------------cut here---------------end--------------->8--- > > Steps to reproduce: > > 1. Put point on the second "ls" line > 2. Press `C-c C-v C-d' > > Backtrace: > > --8<---------------cut here---------------start------------->8--- > 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) > call-interactively(org-babel-demarcate-block nil nil) > --8<---------------cut here---------------end--------------->8--- > > FYI, it works in an old Org version (such as 7.9.2+, bundled with GNU Emacs > 24.2.91.1). > > Best regards, > Seb > > -- > Sebastien Vauban > > >