emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Sebastien Vauban" <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org>
To: emacs-orgmode-mXXj517/zsQ@public.gmane.org
Subject: [BUG] (wrong-type-argument wholenump nil)
Date: Wed, 24 Jul 2013 15:34:24 +0200	[thread overview]
Message-ID: <86fvv4xesf.fsf@somewhere.org> (raw)

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

             reply	other threads:[~2013-07-24 13:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-24 13:34 Sebastien Vauban [this message]
2013-09-16 18:29 ` [BUG] (wrong-type-argument wholenump nil) Andrew Hyatt
2013-09-16 19:04   ` Sebastien Vauban

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86fvv4xesf.fsf@somewhere.org \
    --to=sva-news-d0wtavr13harg/idocfnwg@public.gmane.org \
    --cc=emacs-orgmode-mXXj517/zsQ@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).