From: Rudolfo Ungern <rolf_unger@hotmail.com>
To: help-gnu-emacs@gnu.org
Subject: imenu with cc-mode in emacs 22 (win32)
Date: Wed, 12 Nov 2008 03:21:32 -0800 (PST) [thread overview]
Message-ID: <55935300-52c8-4641-a644-01c6d06e4362@z28g2000prd.googlegroups.com> (raw)
Hi,
i switched to emacs-22.3 recently and have a problem with speedbar/
imenu
in cc-mode. When I try to navigate with imenu to a function emacs eats
up
all the CPU resources and is not responding anymore.
Imenu is working with perl files (with perl-mode) with sql files, but
not with
cc mode. No matter if it is c++ or plain c code.
It must be something in my .emacs, because navigating in the same
source
files with imenu works if I skip my .emacs (that is: start emacs as
another user)
On the other hand the same .emacs file works find with emacs-21.3 and
imenu.
(of course i use some different code depending on the emacs version,
but that
does not affect imenu nor cc-mode.
It seems like the imenu related lisp code runs in some never-ending
loop.
I guess it would help me a lot, if I can have some hints how to
activate the
elisp debugger.
I know that this post is pretty vague, but the alternative would have
been to
paste 400 lines of the .emacs into this post.
I usually use
(add-hook 'c-mode-common-hook 'my-c-mode-hook)
in my .emacs file, with some indentation adjustments in my-c-mode-
hook.
but even if I deactivate this add-hook expression I still run in the
problem with
imenu.
The other suspected piece of code is in customization:
(custom-set-variables
;
'(imenu-sort-function (quote imenu--sort-by-name)))
but commenting it out, doesn't help either.
If someone knows what areas have changed in imenu from emacs21 to
emacs22, that could give me a hint where to search for the root of
the problem.
Thanks, Rolf
next reply other threads:[~2008-11-12 11:21 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-12 11:21 Rudolfo Ungern [this message]
2008-11-12 12:58 ` imenu with cc-mode in emacs 22 (win32) 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
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=55935300-52c8-4641-a644-01c6d06e4362@z28g2000prd.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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.