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

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

bug#20329: 25.0.50; Loading semantic breaks imenu


From: Andreas Politz
Subject: bug#20329: 25.0.50; Loading semantic breaks imenu
Date: Tue, 14 Apr 2015 11:38:23 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

emacs -Q foo.py

(require 'semantic)
(normal-mode)
(call-interactively 'imenu)
  
=> (user-error "No items suitable for an index found in this buffer")

Merely loading semantic should not modify imenu-create-index-function in
all sorts of buffers.  It is also not so easy to get rid of it again.
One would have to either remove the semantic function from the various
mode hooks or install another function which runs *after* semantic's and
which would reinstall the regular imenu-create-index-function.

-ap





reply via email to

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