* [BUG] (wrong-type-argument wholenump nil)
@ 2013-07-24 13:34 Sebastien Vauban
2013-09-16 18:29 ` Andrew Hyatt
0 siblings, 1 reply; 3+ messages in thread
From: Sebastien Vauban @ 2013-07-24 13:34 UTC (permalink / raw
To: emacs-orgmode-mXXj517/zsQ
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [BUG] (wrong-type-argument wholenump nil)
2013-07-24 13:34 [BUG] (wrong-type-argument wholenump nil) Sebastien Vauban
@ 2013-09-16 18:29 ` Andrew Hyatt
2013-09-16 19:04 ` Sebastien Vauban
0 siblings, 1 reply; 3+ messages in thread
From: Andrew Hyatt @ 2013-09-16 18:29 UTC (permalink / raw
To: Sebastien Vauban; +Cc: emacs-orgmode@gnu.org
[-- Attachment #1: Type: text/plain, Size: 1530 bytes --]
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
<sva-news@mygooglest.com>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
>
>
>
[-- Attachment #2: Type: text/html, Size: 2080 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [BUG] (wrong-type-argument wholenump nil)
2013-09-16 18:29 ` Andrew Hyatt
@ 2013-09-16 19:04 ` Sebastien Vauban
0 siblings, 0 replies; 3+ messages in thread
From: Sebastien Vauban @ 2013-09-16 19:04 UTC (permalink / raw
To: emacs-orgmode-mXXj517/zsQ
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-09-16 19:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-24 13:34 [BUG] (wrong-type-argument wholenump nil) Sebastien Vauban
2013-09-16 18:29 ` Andrew Hyatt
2013-09-16 19:04 ` Sebastien Vauban
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.