emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* another bug, sorry
@ 2006-12-08 18:43 Eddward DeVilla
  2006-12-08 23:22 ` Carsten Dominik
  0 siblings, 1 reply; 2+ messages in thread
From: Eddward DeVilla @ 2006-12-08 18:43 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: another bug, sorry
  2006-12-08 18:43 another bug, sorry Eddward DeVilla
@ 2006-12-08 23:22 ` Carsten Dominik
  0 siblings, 0 replies; 2+ messages in thread
From: Carsten Dominik @ 2006-12-08 23:22 UTC (permalink / raw)
  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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-12-08 23:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-08 18:43 another bug, sorry Eddward DeVilla
2006-12-08 23:22 ` Carsten Dominik

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).