help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: imenu with cc-mode in emacs 22 (win32)


From: Rudolfo Ungern
Subject: Re: imenu with cc-mode in emacs 22 (win32)
Date: Thu, 13 Nov 2008 03:26:34 -0800 (PST)
User-agent: G2/1.0

Okay,

I am using now version 6.09a of org-mode with emacs-22.3.1 and
navigating with imenu is working now.

The strange thing is that it is only working directly from imenu
(invoked with M-x imenu and continued with completion), if I want
to navigate with speedbar (the one that comes with emacs 22.3.1
and that says version 1.0 in the window title) I get stuck again.

If I press C-g I am at the right place in the file, though. But that
is probably not how convenient navigating is meant to be:
"hit enter and hit C-g"  ;-)

So here is the stack trace that I get with debugging turned on.

1.case (file is already open, ie. loaded in the active buffer):

Debugger entered--Lisp error: (quit)
  outline-on-heading-p(t)
  org-back-to-heading(t)
  org-flag-heading(nil)
  byte-code("...")
  org-show-context(org-goto)
  (lambda nil (org-show-context (quote org-goto)))()
  run-hooks(speedbar-visiting-tag-hook)
  speedbar-tag-find("dlgDownload" #<marker at 22107 in Test.c> 1)
  speedbar-do-function-pointer()
  speedbar-edit-line()
  call-interactively(speedbar-edit-line)

2. case (file is not visited yet)

Debugger entered--Lisp error: (quit)
  remove-overlays(511 528 invisible outline)
  outline-flag-region(511 528 nil)
  org-flag-heading(nil)
  byte-code("...")
  org-show-context(org-goto)
  (lambda nil (org-show-context (quote org-goto)))()
  run-hooks(speedbar-visiting-tag-hook)
  speedbar-tag-find("tagGlobal" #<marker at 512 in global.h> 2)
  speedbar-do-function-pointer()
  speedbar-edit-line()
  call-interactively(speedbar-edit-line)

I have no idea, if this really follows a certain pattern, it might as
well depend on the delay until I finally hit C-g.

Rolf


reply via email to

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