From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Tim O'Callaghan" Subject: Re: Re: iCal Import - updated code & Bug report Date: Thu, 21 Jun 2007 12:00:44 +0200 Message-ID: <3d6808890706210300h592a7e7cx4947dcb0fe410750@mail.gmail.com> References: <3d6808890706191552n30e3bc2er7c5701f0f38559ac@mail.gmail.com> <3d6808890706200348scb35fdexc39dc5407086a5c9@mail.gmail.com> <90d13c8b734b66b677de4ed834aa1ba0@science.uva.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I1JT6-0003zz-RG for emacs-orgmode@gnu.org; Thu, 21 Jun 2007 06:00:48 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I1JT4-0003z9-ET for emacs-orgmode@gnu.org; Thu, 21 Jun 2007 06:00:47 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I1JT4-0003z6-6w for emacs-orgmode@gnu.org; Thu, 21 Jun 2007 06:00:46 -0400 Received: from wr-out-0506.google.com ([64.233.184.226]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I1JT3-000698-PQ for emacs-orgmode@gnu.org; Thu, 21 Jun 2007 06:00:45 -0400 Received: by wr-out-0506.google.com with SMTP id 68so415124wri for ; Thu, 21 Jun 2007 03:00:45 -0700 (PDT) In-Reply-To: <90d13c8b734b66b677de4ed834aa1ba0@science.uva.nl> Content-Disposition: inline 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: Carsten Dominik Cc: emacs-orgmode My apologies, i should have included this before: Debugger entered--Lisp error: (error "before first heading") signal(error ("before first heading")) cerror("before first heading") apply(cerror "before first heading" nil) error("before first heading") (or (re-search-backward (concat "^\\(?:" outline-regexp "\\)") nil t) (error "before first heading")) (while (not found) (or (re-search-backward ... nil t) (error "before first heading")) (setq found (and ... ...))) (save-excursion (while (not found) (or ... ...) (setq found ...))) (let (found) (save-excursion (while ... ... ...)) (goto-char found) found) (or (outline-on-heading-p invisible-ok) (let (found) (save-excursion ...) (goto-char found) found)) org-back-to-heading(t) (let ((fun ...) (pos ...) (re ...) level l) (org-back-to-heading t) (setq level (funcall outline-level)) (catch (quote exit) (or previous ...) (while ... ... ... ...) (goto-char pos) nil)) org-goto-sibling() (while (org-goto-sibling) (org-flag-heading nil)) (save-excursion (while (org-goto-sibling) (org-flag-heading nil))) org-show-siblings() (if siblings-p (org-show-siblings)) (when siblings-p (org-show-siblings)) (catch (quote exit) (if heading-p (org-flag-heading nil) (and ... ...)) (when following-p (save-excursion ...)) (when siblings-p (org-show-siblings)) (when hierarchy-p (save-excursion ...))) (let ((heading-p ...) (hierarchy-p ...) (following-p ...) (siblings-p ...)) (catch (quote exit) (if heading-p ... ...) (when following-p ...) (when siblings-p ...) (when hierarchy-p ...))) org-show-context(agenda) (progn (org-show-context (quote agenda)) (save-excursion (and ... ...))) (if (org-mode-p) (progn (org-show-context ...) (save-excursion ...))) (when (org-mode-p) (org-show-context (quote agenda)) (save-excursion (and ... ...))) (let* ((marker ...) (buffer ...) (pos ...)) (switch-to-buffer-other-window buffer) (widen) (goto-char pos) (when (org-mode-p) (org-show-context ...) (save-excursion ...)) (and highlight (org-highlight ... ...))) org-agenda-goto(t) (let ((win ...)) (org-agenda-goto t) (select-window win)) org-agenda-show() (if (and org-agenda-follow-mode (get-text-property ... ...)) (org-agenda-show)) org-agenda-post-command-hook() It occurs in noutline.el, the error is generated when it cannot find a heading. I'm running the windows native - XEmacs Lucid 21.4 (patch 19) "Constant Variable" cheers, Tim. On 21/06/07, Carsten Dominik wrote: > I am unable to reproduce this bug. Anyone? > > - Carsten > >