emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Peter Salazar <cycleofsong@gmail.com>
To: org-mode <emacs-orgmode@gnu.org>
Subject: Re: error in orgstruct-mode
Date: Fri, 19 Oct 2012 18:31:11 -0400	[thread overview]
Message-ID: <CAE+_6TweU8c-nx1FG4bTaVaXBB5Qa12osODRBrxxNVQmg4HrJQ@mail.gmail.com> (raw)
In-Reply-To: <CAE+_6Tx=YvZLbNXALrd5+tAMMUgdwAcuY4E0OejZHjJJwnsrkQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 5551 bytes --]

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("\b\203
  \306\x10\202
\307\310!\210m\203\x16\311\312\306\"\210\313\314!\203!\311\315\306\"\210\316\306w\210i\211\x11\nV\2032\311\315\317\"\210
\nW\203=\311\312\317\"\210\320
\204G\311\312\306\"\210\321\310!\x13\310\224\310\225|\210\310\224b\210\322\f
T\211\x15\"\211\x16\x17c\210\x0e\x17G
GZ\x16\x18\323\x0e\x18!\210\306\x1e\x19\212\x0e\x19\203{\x0e\x19b\210n\203\203\324\202\204\325\326\324`\"\\*\x0e\x1aU\203\227\x0e^[\x0e\x18\\\x16^[\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 "\b\203 \306\x10\202
\307\310!\210m\203\x16\311\312\306\"\210\313\314!\203!\311\315\306\"\210\316\306w\210i\211\x11\nV\2032\311\315\317\"\210
\nW\203=\311\312\317\"\210\320
\204G\311\312\306\"\210\321\310!\x13\310\224\310\225|\210\310\224b\210\322\f
T\211\x15\"\211\x16\x17c\210\x0e\x17G
GZ\x16\x18\323\x0e\x18!\210\306\x1e\x19\212\x0e\x19\203{\x0e\x19b\210n\203\203\324\202\204\325\326\324`\"\\*\x0e\x1aU\203\227\x0e^[\x0e\x18\\\x16^[\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
>

[-- Attachment #2: Type: text/html, Size: 6919 bytes --]

  reply	other threads:[~2012-10-19 22:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-18 16:52 error in orgstruct-mode Peter Salazar
2012-10-19 22:31 ` Peter Salazar [this message]
2012-10-19 22:54   ` Nick Dokos
2012-10-20  0:21     ` Peter Salazar
2012-10-20  1:13       ` Nick Dokos
2012-10-20 21:27         ` Peter Salazar
2012-10-20 23:11           ` Nick Dokos

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=CAE+_6TweU8c-nx1FG4bTaVaXBB5Qa12osODRBrxxNVQmg4HrJQ@mail.gmail.com \
    --to=cycleofsong@gmail.com \
    --cc=emacs-orgmode@gnu.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).