From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: another bug, sorry Date: Sat, 9 Dec 2006 00:22:48 +0100 Message-ID: <353d4e84e60aeb265f3fd54438edb769@science.uva.nl> References: Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gsp3M-0005Tc-OH for emacs-orgmode@gnu.org; Fri, 08 Dec 2006 18:22:52 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gsp3L-0005T8-Da for emacs-orgmode@gnu.org; Fri, 08 Dec 2006 18:22:52 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gsp3L-0005T3-6t for emacs-orgmode@gnu.org; Fri, 08 Dec 2006 18:22:51 -0500 Received: from [193.252.22.241] (helo=smtp-1.orange.nl) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Gsp3L-00033d-0M for emacs-orgmode@gnu.org; Fri, 08 Dec 2006 18:22:51 -0500 In-Reply-To: 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: Eddward DeVilla Cc: emacs-orgmode Oh well, this is just the "usual" forgetting a (debug) in the code. if something like this happens, edit org.el and find a line (debug) and remove it. It is just left over from testing, I forgot to take it out. 4.59b has this fixed. Thanks for the report. - Carsten On Dec 8, 2006, at 19:43, Eddward DeVilla wrote: > Hi all, > > Sorry for all the clutter. Using the menu, agenda or key binding to > open a sub-tree in an indirect buffer kicks me into the debugger. I > don't think I even have the debugger option on. > > Here's the stack I get. I'm not sure what to make of it. > ----------------------------------------------------------------------- > - > Debugger entered: nil > (let ((cbuf ...) (cwin ...) (pos ...) (bname ...) beg end level > heading ibuf) (save-excursion (org-back-to-heading t) (when ... ... > ... ...) (setq beg ... heading ...) (org-end-of-subtree t) (setq end > ...)) (if (and ... ...) (kill-buffer org-last-indirect-buffer)) (setq > ibuf (org-get-indirect-buffer cbuf) org-last-indirect-buffer ibuf) > (cond (... ... ... ... ...) (... ... ... ... ...) (... ...) (... ...) > (t ...)) (if (featurep ...) (save-excursion ... ...)) > (narrow-to-region beg end) (show-all) (goto-char pos) (debug) (and > (window-live-p cwin) (select-window cwin))) > org-tree-to-indirect-buffer(nil) > * call-interactively(org-tree-to-indirect-buffer) > ----------------------------------------------------------------------- > - > > The second to last expression in org-tree-to-indirect-buffer has me a > little suspicious though. Seems to work without the call to debug. > > Edd > > > _______________________________________________ > Emacs-orgmode mailing list > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > > -- Carsten Dominik Sterrenkundig Instituut "Anton Pannekoek" Universiteit van Amsterdam Kruislaan 403 NL-1098SJ Amsterdam phone: +31 20 525 7477