From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: [BUG] (wrong-type-argument wholenump nil) Date: Wed, 24 Jul 2013 15:34:24 +0200 Message-ID: <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 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