From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: if: Wrong type argument: stringp, \.\.\. Date: Wed, 09 Mar 2011 20:11:59 -0500 Message-ID: <15253.1299719519@alphaville.dokosmarshall.org> References: <0vk4g854go.fsf@gmail.com> <14404.1299714502@alphaville.dokosmarshall.org> <0v4o7bvodk.fsf@gmail.com> Reply-To: nicholas.dokos@hp.com Return-path: Received: from [140.186.70.92] (port=46137 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PxUQU-0000qs-CR for emacs-orgmode@gnu.org; Wed, 09 Mar 2011 20:12:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PxUQT-000067-DC for emacs-orgmode@gnu.org; Wed, 09 Mar 2011 20:12:26 -0500 Received: from vms173003pub.verizon.net ([206.46.173.3]:32890) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PxUQT-00005k-9p for emacs-orgmode@gnu.org; Wed, 09 Mar 2011 20:12:25 -0500 Received: from alphaville.dokosmarshall.org ([unknown] [173.76.32.106]) by vms173003.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0LHT001HVHZZSQ60@vms173003.mailsrvcs.net> for emacs-orgmode@gnu.org; Wed, 09 Mar 2011 19:12:12 -0600 (CST) In-reply-to: Message from Markus Heller of "Wed, 09 Mar 2011 15:57:11 PST." <0v4o7bvodk.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Markus Heller Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org Markus Heller 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(# "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