emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] if: Wrong type argument: stringp, \.\.\.


From: Nick Dokos
Subject: Re: [O] if: Wrong type argument: stringp, \.\.\.
Date: Wed, 09 Mar 2011 20:11:59 -0500

Markus Heller <address@hidden> wrote:

> Debugger entered--Lisp error: (error ":END: line missing at position 15207")
>   signal(error (":END: line missing at position 15207"))
>   error(":END: line missing at position %s" 15207)

You seem to be missing an :END: line (or it may be malformed, so that the 
regexp below does
not match) ...

>   (if (re-search-forward "^[  ]*:END:" (save-excursion ... ...) t) 
> (outline-flag-region b (point-at-eol) flag) (error ":END: line missing at 
> position %s" b))
>   (let ((b ...) (outline-regexp org-outline-regexp)) (if (re-search-forward 
> "^[       ]*:END:" ... t) (outline-flag-region b ... flag) (error ":END: line 
> missing at position %s" b)))
>   (progn (let (... ...) (if ... ... ...)))
>   (if (looking-at "^[         ]*:[a-zA-Z][a-zA-Z0-9]*:") (progn (let ... 
> ...)))
>   (when (looking-at "^[       ]*:[a-zA-Z][a-zA-Z0-9]*:") (let (... ...) (if 
> ... ... ...)))
>   (save-excursion (beginning-of-line 1) (when (looking-at "^[         
> ]*:[a-zA-Z][a-zA-Z0-9]*:") (let ... ...)))
>   org-flag-drawer(t)

... in a drawer ...

>   (while (re-search-forward org-drawer-regexp end t) (org-flag-drawer t))
>   (let* ((globalp ...) (beg ...) (end ...)) (goto-char beg) (while 
> (re-search-forward org-drawer-regexp end t) (org-flag-drawer t)))
>   (save-excursion (let* (... ... ...) (goto-char beg) (while ... ...)))
>   (progn (save-excursion (let* ... ... ...)))
>   (if (and (org-mode-p) (not ...)) (progn (save-excursion ...)))
>   (when (and (org-mode-p) (not ...)) (save-excursion (let* ... ... ...)))
>   org-cycle-hide-drawers(all)
>   ...
>   org-set-startup-visibility()
>   (if org-inhibit-startup-visibility-stuff nil (org-set-startup-visibility))
>   (unless org-inhibit-startup-visibility-stuff (org-set-startup-visibility))
>   ...
>   org-mode()
>   set-auto-mode-0(org-mode nil)
>   set-auto-mode()
>   normal-mode(t)
>   after-find-file(nil t)
>   find-file-noselect-1(#<buffer 600_install.org> "h:/org/600_install.org" nil 
> nil "h:/org/600_install.org" (0 (9885 . 5800)))

... in this file.

Position 15207 in the file is where the code choked, but it may be
missing earlier in the file. If you can't find it, and you don't mind
making the file public, post it here. If you'd rather not, but still
can't find it, as a last resort, you can send it to me: I promise not to
look unnecessarily :-)

HTH,
Nick



reply via email to

[Prev in Thread] Current Thread [Next in Thread]