From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Salazar Subject: Re: error in orgstruct-mode Date: Fri, 19 Oct 2012 18:31:11 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=0016e6db7c6f97980304cc710f39 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:56638) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TPL66-0007m3-25 for emacs-orgmode@gnu.org; Fri, 19 Oct 2012 18:31:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TPL61-0005D5-H9 for emacs-orgmode@gnu.org; Fri, 19 Oct 2012 18:31:17 -0400 Received: from mail-we0-f169.google.com ([74.125.82.169]:58152) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TPL61-0005AM-7L for emacs-orgmode@gnu.org; Fri, 19 Oct 2012 18:31:13 -0400 Received: by mail-we0-f169.google.com with SMTP id u3so585395wey.0 for ; Fri, 19 Oct 2012 15:31:12 -0700 (PDT) In-Reply-To: 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@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: org-mode --0016e6db7c6f97980304cc710f39 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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("=08\203 \306=10\202 \307\310!\210m\203=16\311\312\306\"\210\313\314!\203!\311\315\306\"\210\316= \306w\210i\211=11\nV\2032\311\315\317\"\210 \nW\203=3D\311\312\317\"\210\320 \204G\311\312\306\"\210\321\310!=13\310\224\310\225|\210\310\224b\210\322\f T\211=15\"\211=16=17c\210=0E=17G GZ=16=18\323=0E=18!\210\306=1E=19\212=0E=19\203{=0E=19b\210n\203\203\324\20= 2\204\325\326\324`\"\\*=0E=1AU\203\227=0E=1B=0E=18\\=16=1B\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 "=08\203 \306=10\202 \307\310!\210m\203=16\311\312\306\"\210\313\314!\203!\311\315\306\"\210\316= \306w\210i\211=11\nV\2032\311\315\317\"\210 \nW\203=3D\311\312\317\"\210\320 \204G\311\312\306\"\210\321\310!=13\310\224\310\225|\210\310\224b\210\322\f T\211=15\"\211=16=17c\210=0E=17G GZ=16=18\323=0E=18!\210\306=1E=19\212=0E=19\203{=0E=19b\210n\203\203\324\20= 2\204\325\326\324`\"\\*=0E=1AU\203\227=0E=1B=0E=18\\=16=1B\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 wrot= e: > 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 ni= l) > 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 ni= l) > byte-code(" \203 > --0016e6db7c6f97980304cc710f39 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Oops. Here's the full backtrace. Anyone have any thoughts? Help!

Debugger entered--Lisp error: (wrong-type-argume= nt integer-or-marker-p nil)
=A0 byte-code("=08\203
=A0 \306=10\202
\307\310!\210m\203=16\311\312\306\"\210= \313\314!\203!\311\315\306\"\210\316\306w\210i\211=11\nV\2032\311\315\= 317\"\210 \nW\203=3D\311\312\317\"\210\320 \204G\311\312\306\"\210\321\= 310!=13\310\224\310\225|\210\310\224b\210\322\f
T\211=15\"\211=16=17c\210=0E=17G=0BGZ=16=18\323=0E=18!\210\306=1E= =19\212=0E=19\203{=0E=19b\210n\203\203\324\202\204\325\326\324`\"\\*= =0E=1AU\203\227=0E=1B=0E=18\\=16=1B\306\207" [bobp ind1 ind old fmt n = nil beginning-of-line 2 throw exit looking-at "[ ]*$" next " " t org-at-ite= m-p match-string format org-shift-item-indentation 1 0 count-lines new delt= a pos line col] 5)
=A0 byte-code("\300\301\215\210\202" [next (byte-code "= =08\203 \30= 6=10\202
\307\310!\210m\203=16\311\312\306\"\210\313\314!\20= 3!\311\315\306\"\210\316\306w\210i\211=11\nV\2032\311\315\317\"\2= 10 \nW\203= =3D\311\312\317\"\210\320 \204G\311\312\306\"\210\321\310!=13\310= \224\310\225|\210\310\224b\210\322\f
T\211=15\"\211=16=17c\210=0E=17G=0BGZ=16=18\323=0E=18!\210\306=1E= =19\212=0E=19\203{=0E=19b\210n\203\203\324\202\204\325\326\324`\"\\*= =0E=1AU\203\227=0E=1B=0E=18\\=16=1B\306\207" [bobp ind1 ind old fmt n = nil beginning-of-line 2 throw exit looking-at "[ ]*$" next " " t org-at-ite= m-p match-string format org-shift-item-indentation 1 0 count-lines new delt= a pos line col] 5)] 2)
=A0 org-renumber-ordered-list(1)
=A0 org-maybe-renumber-orde= red-list()
=A0 org-insert-item()
=A0 org-insert-heading= (nil)
=A0 call-interactively(org-insert-heading)
=A0 (l= et ((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-f= ile-properties ...) (org-file-tags ...) (org-ds-keyword-length ...) (org-dr= awer-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-to= do-line-tags-regexp ...) (org-looking-at-done-regexp ...) (org-deadline-reg= exp ...) (org-deadline-time-regexp ...) (org-deadline-line-regexp ...) (org= -scheduled-regexp ...) (org-scheduled-time-regexp ...) (org-closed-time-reg= exp ...) (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-tabl= e-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-in= teractively (quote org-insert-heading)))
=A0 eval((let ((auto-fill-function ...) (indent-line-function ...) (pa= ragraph-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-d= one-keywords ...) (org-todo-heads ...) (org-todo-sets ...) (org-todo-log-st= ates ...) (org-file-properties ...) (org-file-tags ...) (org-ds-keyword-len= gth ...) (org-drawer-regexp ...) (org-not-done-keywords ...) (org-todo-rege= xp ...) (org-not-done-regexp ...) (org-todo-line-regexp ...) (org-complex-h= eading-regexp ...) (org-complex-heading-regexp-format ...) (org-nl-done-reg= exp ...) (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-no= t-clock-regexp ...) (org-maybe-keyword-time-regexp ...) (org-planning-or-cl= ock-line-re ...) (org-latex-and-specials-regexp ...) (org-font-lock-keyword= s ...) (org-table-may-need-update ...) (comment-start-skip ...) (fill-parag= raph-function ...) (adaptive-fill-regexp ...) (adaptive-fill-function ...) = (org-target-link-regexp ...) (comment-padding ...) (outline-isearch-open-in= visible-function ...) (org-indent-mode ...) (org-after-demote-entry-hook ..= .) ...) (call-interactively (quote org-insert-heading))))
=A0 org-run-like-in-org-mode(org-insert-heading)
=A0 (if (or= g-context-p (quote headline) (quote item) (and orgstruct-is-++ t ...)) (org= -run-like-in-org-mode (quote org-insert-heading)) (let (orgstruct-mode) (ca= ll-interactively ...)))
=A0 orgstruct-hijacker-command-106(1)
=A0 call-interactively= (orgstruct-hijacker-command-106 nil nil)


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

When I start a = numbered list:=A0

1. foo

...at the end of that l= ine, 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--Li= sp error: (wrong-type-argument integer-or-marker-p nil)
=A0 byte-= code(" \203

This used to work fine in markdown-mode with orgs= truct-mode turned on...=A0

Backtrace:=A0

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

--0016e6db7c6f97980304cc710f39--