unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Rudolfo Ungern <rolf_unger@hotmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: imenu with cc-mode in emacs 22 (win32)
Date: Thu, 13 Nov 2008 03:26:34 -0800 (PST)	[thread overview]
Message-ID: <f85fa642-ba5e-46c1-89f4-58feb15e115d@r37g2000prr.googlegroups.com> (raw)
In-Reply-To: 6ef4285e-5be0-4a3c-bf6b-5b8882060688@h5g2000yqh.googlegroups.com

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	other threads:[~2008-11-13 11:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-12 11:21 imenu with cc-mode in emacs 22 (win32) Rudolfo Ungern
2008-11-12 12:58 ` Alan Mackenzie
     [not found] ` <mailman.133.1226494022.26697.help-gnu-emacs@gnu.org>
2008-11-13  1:45   ` Rudolfo Ungern
2008-11-13 11:26     ` Rudolfo Ungern [this message]
2008-11-17 18:58       ` Rudolfo Ungern
2008-11-18 15:57         ` Rudolfo Ungern

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f85fa642-ba5e-46c1-89f4-58feb15e115d@r37g2000prr.googlegroups.com \
    --to=rolf_unger@hotmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).