Oops. Here's the full backtrace. Anyone have any thoughts? Help!


Debugger entered--Lisp error: (wrong-type-argument integer-or-marker-p nil)
  byte-code("\203
  \306\202
\307\310!\210m\203\311\312\306\"\210\313\314!\203!\311\315\306\"\210\316\306w\210i\211\nV\2032\311\315\317\"\210 \nW\203=\311\312\317\"\210\320 \204G\311\312\306\"\210\321\310!\310\224\310\225|\210\310\224b\210\322\f
T\211\"\211c\210G GZ\323!\210\306\212\203{b\210n\203\203\324\202\204\325\326\324`\"\\*U\203\227\\\306\207" [bobp ind1 ind old fmt n nil beginning-of-line 2 throw exit looking-at "[ ]*$" next " " t org-at-item-p match-string format org-shift-item-indentation 1 0 count-lines new delta pos line col] 5)
  byte-code("\300\301\215\210\202" [next (byte-code "\203 \306\202
\307\310!\210m\203\311\312\306\"\210\313\314!\203!\311\315\306\"\210\316\306w\210i\211\nV\2032\311\315\317\"\210 \nW\203=\311\312\317\"\210\320 \204G\311\312\306\"\210\321\310!\310\224\310\225|\210\310\224b\210\322\f
T\211\"\211c\210G GZ\323!\210\306\212\203{b\210n\203\203\324\202\204\325\326\324`\"\\*U\203\227\\\306\207" [bobp ind1 ind old fmt n nil beginning-of-line 2 throw exit looking-at "[ ]*$" next " " t org-at-item-p match-string format org-shift-item-indentation 1 0 count-lines new delta pos line col] 5)] 2)
  org-renumber-ordered-list(1)
  org-maybe-renumber-ordered-list()
  org-insert-item()
  org-insert-heading(nil)
  call-interactively(org-insert-heading)
  (let ((auto-fill-function ...) (indent-line-function ...) (paragraph-start ...) (auto-fill-inhibit-regexp ...) (paragraph-separate ...) (outline-regexp ...) (outline-level ...) (org-todo-kwd-alist ...) (org-todo-key-alist ...) (org-todo-key-trigger ...) (org-todo-keywords-1 ...) (org-done-keywords ...) (org-todo-heads ...) (org-todo-sets ...) (org-todo-log-states ...) (org-file-properties ...) (org-file-tags ...) (org-ds-keyword-length ...) (org-drawer-regexp ...) (org-not-done-keywords ...) (org-todo-regexp ...) (org-not-done-regexp ...) (org-todo-line-regexp ...) (org-complex-heading-regexp ...) (org-complex-heading-regexp-format ...) (org-nl-done-regexp ...) (org-todo-line-tags-regexp ...) (org-looking-at-done-regexp ...) (org-deadline-regexp ...) (org-deadline-time-regexp ...) (org-deadline-line-regexp ...) (org-scheduled-regexp ...) (org-scheduled-time-regexp ...) (org-closed-time-regexp ...) (org-keyword-time-regexp ...) (org-keyword-time-not-clock-regexp ...) (org-maybe-keyword-time-regexp ...) (org-planning-or-clock-line-re ...) (org-latex-and-specials-regexp ...) (org-font-lock-keywords ...) (org-table-may-need-update ...) (comment-start-skip ...) (fill-paragraph-function ...) (adaptive-fill-regexp ...) (adaptive-fill-function ...) (org-target-link-regexp ...) (comment-padding ...) (outline-isearch-open-invisible-function ...) (org-indent-mode ...) (org-after-demote-entry-hook ...) ...) (call-interactively (quote org-insert-heading)))
  eval((let ((auto-fill-function ...) (indent-line-function ...) (paragraph-start ...) (auto-fill-inhibit-regexp ...) (paragraph-separate ...) (outline-regexp ...) (outline-level ...) (org-todo-kwd-alist ...) (org-todo-key-alist ...) (org-todo-key-trigger ...) (org-todo-keywords-1 ...) (org-done-keywords ...) (org-todo-heads ...) (org-todo-sets ...) (org-todo-log-states ...) (org-file-properties ...) (org-file-tags ...) (org-ds-keyword-length ...) (org-drawer-regexp ...) (org-not-done-keywords ...) (org-todo-regexp ...) (org-not-done-regexp ...) (org-todo-line-regexp ...) (org-complex-heading-regexp ...) (org-complex-heading-regexp-format ...) (org-nl-done-regexp ...) (org-todo-line-tags-regexp ...) (org-looking-at-done-regexp ...) (org-deadline-regexp ...) (org-deadline-time-regexp ...) (org-deadline-line-regexp ...) (org-scheduled-regexp ...) (org-scheduled-time-regexp ...) (org-closed-time-regexp ...) (org-keyword-time-regexp ...) (org-keyword-time-not-clock-regexp ...) (org-maybe-keyword-time-regexp ...) (org-planning-or-clock-line-re ...) (org-latex-and-specials-regexp ...) (org-font-lock-keywords ...) (org-table-may-need-update ...) (comment-start-skip ...) (fill-paragraph-function ...) (adaptive-fill-regexp ...) (adaptive-fill-function ...) (org-target-link-regexp ...) (comment-padding ...) (outline-isearch-open-invisible-function ...) (org-indent-mode ...) (org-after-demote-entry-hook ...) ...) (call-interactively (quote org-insert-heading))))
  org-run-like-in-org-mode(org-insert-heading)
  (if (org-context-p (quote headline) (quote item) (and orgstruct-is-++ t ...)) (org-run-like-in-org-mode (quote org-insert-heading)) (let (orgstruct-mode) (call-interactively ...)))
  orgstruct-hijacker-command-106(1)
  call-interactively(orgstruct-hijacker-command-106 nil nil)


On Thu, Oct 18, 2012 at 12:52 PM, Peter Salazar <cycleofsong@gmail.com> wrote:
I'm using Aquamacs in markdown-mode with orgstruct-mode turned on. 

When I start a numbered list: 

1. foo

...at the end of that line, I want to automatically generate the next number on the list, so I hit OPTION-RETURN

but instead of generating a "2. " on the next line, I get this error:

Debugger entered--Lisp error: (wrong-type-argument integer-or-marker-p nil)
  byte-code(" \203

This used to work fine in markdown-mode with orgstruct-mode turned on... 

Backtrace: 

Debugger entered--Lisp error: (wrong-type-argument integer-or-marker-p nil)
  byte-code(" \203