GNU bug report logs - #12676
24.2.50; New annoying warning for `imenu--make-index-alist'

Previous Next

Package: emacs;

Reported by: Thierry Volpiatto <thierry.volpiatto <at> gmail.com>

Date: Thu, 18 Oct 2012 18:24:01 UTC

Severity: minor

Tags: notabug

Found in version 24.2.50

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 12676 in the body.
You can then email your comments to 12676 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#12676; Package emacs. (Thu, 18 Oct 2012 18:24:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Thierry Volpiatto <thierry.volpiatto <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 18 Oct 2012 18:24:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Thierry Volpiatto <thierry.volpiatto <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.2.50; New annoying warning for `imenu--make-index-alist'
Date: Thu, 18 Oct 2012 20:21:31 +0200
Hi,
A new warning is popping up when compiling:

--8<---------------cut here---------------start------------->8---
In end of data:
helm-imenu.el:116:1:Warning: the function `imenu--make-index-alist' might not
    be defined at runtime.
--8<---------------cut here---------------end--------------->8---

Why this?
imenu is required.


In GNU Emacs 24.2.50.1 (x86_64-unknown-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2012-10-17 on dell-14z
Windowing system distributor `The X.Org Foundation', version 11.0.11103000
System Description:	Ubuntu 12.04.1 LTS

Configured using:
 `configure '--with-x-toolkit=lucid' '--with-wide-int' '--without-gconf'
 '--without-gsettings''

Important settings:
  value of $LANG: fr_FR.UTF-8
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Emacs-Lisp

Minor modes in effect:
  recentf-mode: t
  winner-mode: t
  global-undo-tree-mode: t
  undo-tree-mode: t
  auto-image-file-mode: t
  show-paren-mode: t
  display-time-mode: t
  savehist-mode: t
  minibuffer-depth-indicate-mode: t
  eldoc-mode: t
  helm-mode: t
  shell-dirtrack-mode: t
  helm-match-plugin-mode: t
  diff-auto-refine-mode: t
  tooltip-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
C-x C-b <down> <down> <down> <return> M-x r e <down> 
<return>

Recent messages:
Indentation variables are now local.
Indentation setup for shell type bash
Restoring buffers...done

Loading /home/thierry/.emacs.d/recentf...done
Cleaning up the recentf list...done (0 removed)

Scanning for dabbrevs...done
user-error: No dynamic expansion for `imenu-make' found
Scanning for dabbrevs...done

Load-path shadows:
~/.emacs.d/emacs-config-laptop/.gnus hides ~/.emacs.d/.gnus
~/elisp/emacs-wget/lpath hides ~/elisp/auctex/lpath
~/elisp/org-active/contrib/lisp/org-element hides /usr/local/share/emacs/24.2.50/lisp/org/org-element
~/elisp/magit/.dir-locals hides /usr/local/share/emacs/24.2.50/lisp/gnus/.dir-locals
~/elisp/emms/lisp/tq hides /usr/local/share/emacs/24.2.50/lisp/emacs-lisp/tq

Features:
(shadow gnus-dired nnir mail-extr gnus-msg dabbrev emacsbug helm-command
tramp-cache tramp-sh recentf helm-misc ido jka-compr conf-mode vc-git
xgit-dvc xgit xgit-annotate dvc-annotate xgit-log dvc-revlist vc-rcs
sh-script smie executable xhg-dvc bzr-core xdarcs-core xgit-core
xmtn-minimal naquadah-theme em-smart em-unix em-script em-prompt em-ls
em-hist em-pred em-glob em-dirs em-cmpl em-basic em-banner em-alias
esh-var esh-io esh-cmd esh-opt esh-ext esh-proc esh-groups eshell
esh-module esh-mode align-let server winner undo-tree diff
slime-xref-browser slime-banner slime-tramp slime-asdf slime-fancy
slime-fontifying-fu slime-package-fu slime-references slime-scratch
slime-presentations slime-fuzzy slime-fancy-inspector slime-c-p-c
slime-editing-commands slime-autodoc slime-parse slime-repl image-file
newsticker newst-treeview tree-widget newst-plainview newst-reader
newst-ticker newst-backend xdvi-search preview-latex pcomplete-extension
em-term term disp-table ehelp electric helm-ipython helm-elisp helm-eval
python rx whitespace paren time avoid savehist smtpmail-async smtpmail
sendmail helm-async boxquote markdown-mode org-google-weather
google-weather url-cache iterator googlecl google-maps
google-maps-static google-maps-geocode google-maps-base json
simple-call-tree el-expectations el-mock csv2org iedit rect zop-to-char
smallurl mm-url rectangle-utils tv-utils async pcvs pcvs-parse pcvs-info
pcvs-defs mb-depth ioccur cl-info slime hyperspec slime-autoloads
ledger-config ledger esh-arg esh-util tex-site auto-loads esh-toggle
flymake eldoc-eval eldoc no-word dired-extension emms-mpd-config
emms-playlist-limit emms-volume emms-volume-amixer emms-i18n
emms-history emms-score emms-stream-info emms-metaplaylist-mode
emms-bookmarks emms-cue emms-mode-line-icon emms-browser sort
emms-playlist-sort emms-last-played emms-player-xine emms-player-mpd tq
emms-playing-time emms-lyrics emms-url hl-line emms-tag-editor emms-mark
emms-mode-line emms-cache emms-info-ogginfo emms-info-mp3info
emms-playlist-mode emms-player-vlc emms-player-mplayer emms-info
emms-streams later-do emms-source-playlist emms-source-file
emms-player-simple emms-setup emms emms-compat dvc-init bzr-gnus
tla-gnus xgit-gnus xhg-gnus gnus-art mm-uu mml2015 mm-view mml-smime
smime dig gnus-sum nnoo gnus-group gnus-undo nnmail mail-source
gnus-start gnus-spec gnus-int gnus-range gnus-win gnus gnus-ems nnheader
dvc-gnus tla-core tla-autoconf tla-defs dvc-log vc vc-dispatcher
ediff-merg ediff-diff ediff-wind ediff-help ediff-util ediff-mult
ediff-init ediff dvc-autoloads magit-stgit magit-bisect magit-key-mode
magit log-edit pcvs-util add-log htmlize-hack htmlize muse-colors
muse-docbook muse-texinfo texnfo-upd texinfo muse-latex muse-html
muse-xml-common muse-wiki cus-edit cus-start cus-load muse-publish
muse-project muse-protocols muse-regexps wid-edit muse muse-nested-tags
muse-mode muse-autoloads org-config-thierry ob-sh org-crypt cal-china
lunar solar cal-dst cal-bahai cal-islam cal-hebrew holidays hol-loaddefs
vc-hg org-wl org-w3m org-vm org-rmail org-mhe org-mew org-irc org-jsinfo
org-infojs org-html org-exp ob-exp org-exp-blocks org-info org-gnus
org-docview org-bibtex bibtex org-bbdb org-agenda appt diary-lib
diary-loaddefs org-annotation-helper org-capture org-mks remember
org-remember org-datetree addressbook-bookmark message rfc822 mml
mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045
ietf-drums mailabbrev mail-utils gmm-utils mailheader firefox-protocol
bookmark-firefox-handler bookmark-extensions org ob-tangle ob-ref ob-lob
ob-table org-footnote org-src ob-comint ob-keys org-pcomplete org-list
org-faces org-entities noutline outline org-version ob-emacs-lisp ob
org-compat org-macs ob-eval find-func cal-menu calendar cal-loaddefs
bookmark pp init-helm-thierry helm-mode helm-ls-git helm-descbinds
helm-delicious helm-ls-hg helm-files image-dired tramp tramp-compat
tramp-loaddefs shell pcomplete format-spec dired-aux ffap thingatpt
helm-buffers helm-elscreen helm-tags helm-bookmark helm-adaptative
helm-info helm-net browse-url xml url url-proxy url-privacy url-expand
url-methods url-history url-cookie url-domsuf url-util url-parse
url-vars mailcap helm-plugin helm-help helm-match-plugin helm-grep
helm-regexp grep helm-external helm-utils compile comint ansi-color ring
helm-mercurial xhg xhg-annotate xhg-mq xhg-log xhg-core dvc-diff
uniquify dvc-fileinfo dvc-unified dvc-tips diff-mode easy-mmode dvc-core
dvc-lisp dvc-buffers dvc-ui dvc-register dvc-utils dvc-emacs ewoc
dvc-defs dvc-site dired-x cl-macs gv dired helm-locate helm warnings
advice help-fns advice-preload helm-config edmacro kmacro epa-file epa
derived epg epg-config auth-source eieio byte-opt bytecomp byte-compile
cconv gnus-util time-date mm-util mail-prsvr password-cache usage-memo
cl cl-lib info easymenu tooltip ediff-hook vc-hooks lisp-float-type
mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe
tabulated-list newcomment lisp-mode register page menu-bar rfn-eshadow
timer select scroll-bar mouse jit-lock font-lock syntax facemenu
font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan
thai tai-viet lao korean japanese hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese case-table epa-hook
jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces
cus-face macroexp files text-properties overlay sha1 md5 base64 format
env code-pages mule custom widget hashtable-print-readable backquote
make-network-process dbusbind dynamic-setting font-render-setting
x-toolkit x multi-tty emacs)

-- 
  Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997 




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12676; Package emacs. (Thu, 18 Oct 2012 18:31:01 GMT) Full text and rfc822 format available.

Message #8 received at 12676 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Thierry Volpiatto <thierry.volpiatto <at> gmail.com>
Cc: 12676 <at> debbugs.gnu.org
Subject: Re: bug#12676: 24.2.50;
	New annoying warning for `imenu--make-index-alist'
Date: Thu, 18 Oct 2012 14:29:10 -0400
Thierry Volpiatto wrote:

> In end of data:
> helm-imenu.el:116:1:Warning: the function `imenu--make-index-alist' might not
>     be defined at runtime.
> --8<---------------cut here---------------end--------------->8---
>
> Why this?
> imenu is required.

Please give a minimal complete example (why do I even have to say this?).

There is no such warning when compiling the following:

(require 'imenu)
(defun foo ()
  (imenu--make-index-alist))




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12676; Package emacs. (Thu, 18 Oct 2012 18:51:02 GMT) Full text and rfc822 format available.

Message #11 received at 12676 <at> debbugs.gnu.org (full text, mbox):

From: Thierry Volpiatto <thierry.volpiatto <at> gmail.com>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 12676 <at> debbugs.gnu.org
Subject: Re: bug#12676: 24.2.50;
	New annoying warning for `imenu--make-index-alist'
Date: Thu, 18 Oct 2012 20:48:53 +0200
Glenn Morris <rgm <at> gnu.org> writes:

> Thierry Volpiatto wrote:
>
>> In end of data:
>> helm-imenu.el:116:1:Warning: the function `imenu--make-index-alist' might not
>>     be defined at runtime.
>> --8<---------------cut here---------------end--------------->8---
>>
>> Why this?
>> imenu is required.
>
> Please give a minimal complete example (why do I even have to say this?).
This happen when compiling
https://github.com/emacs-helm/helm/blob/master/helm-imenu.el

-- 
  Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997 




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12676; Package emacs. (Thu, 18 Oct 2012 18:53:02 GMT) Full text and rfc822 format available.

Message #14 received at 12676 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Thierry Volpiatto <thierry.volpiatto <at> gmail.com>
Cc: 12676 <at> debbugs.gnu.org
Subject: Re: bug#12676: 24.2.50;
	New annoying warning for `imenu--make-index-alist'
Date: Thu, 18 Oct 2012 14:50:39 -0400
Thierry Volpiatto wrote:

> This happen when compiling
> https://github.com/emacs-helm/helm/blob/master/helm-imenu.el

This is not a minimal, complete example, this is "please debug my code".
Oh look, line 37:

(eval-when-compile (require 'imenu))

So obviously the warning is correct.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12676; Package emacs. (Thu, 18 Oct 2012 19:08:01 GMT) Full text and rfc822 format available.

Message #17 received at 12676 <at> debbugs.gnu.org (full text, mbox):

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: thierry.volpiatto <at> gmail.com
Cc: rgm <at> gnu.org, 12676 <at> debbugs.gnu.org
Subject: Re: bug#12676: 24.2.50;
	New annoying warning for `imenu--make-index-alist'
Date: Thu, 18 Oct 2012 23:06:16 +0400
Thierry Volpiatto <thierry.volpiatto <at> gmail.com> writes:

> Glenn Morris <rgm <at> gnu.org> writes:
>
>> Thierry Volpiatto wrote:
>>
>>> In end of data:
>>> helm-imenu.el:116:1:Warning: the function `imenu--make-index-alist' 
might not
>>>     be defined at runtime.
>>> --8<---------------cut here---------------end--------------->8---
>>>
>>> Why this?
>>> imenu is required.
>>
>> Please give a minimal complete example (why do I even have to say 
this?).
> This happen when compiling
> https://github.com/emacs-helm/helm/blob/master/helm-imenu.el

See https://lists.gnu.org/archive/html/emacs-devel/2012-10/msg00554.html




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12676; Package emacs. (Thu, 18 Oct 2012 21:24:01 GMT) Full text and rfc822 format available.

Message #20 received at 12676 <at> debbugs.gnu.org (full text, mbox):

From: Thierry Volpiatto <thierry.volpiatto <at> gmail.com>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 12676 <at> debbugs.gnu.org
Subject: Re: bug#12676: 24.2.50;
	New annoying warning for `imenu--make-index-alist'
Date: Thu, 18 Oct 2012 23:21:19 +0200
Glenn Morris <rgm <at> gnu.org> writes:

> Thierry Volpiatto wrote:
>
>> This happen when compiling
>> https://github.com/emacs-helm/helm/blob/master/helm-imenu.el
>
> This is not a minimal, complete example, this is "please debug my
> code".
Thank you, but I don't need you to debug my code, 
it is already fixed.

> Oh look, line 37:
>
> (eval-when-compile (require 'imenu))
>
> So obviously the warning is correct.
It is not, it was not happening in previous revision and it happen now
suddenly, so expect some more warnings like this in Emacs in the next
days.
Good luck.

-- 
  Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997 




bug closed, send any further explanations to 12676 <at> debbugs.gnu.org and Thierry Volpiatto <thierry.volpiatto <at> gmail.com> Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Thu, 18 Oct 2012 23:50:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 16 Nov 2012 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 12 years and 276 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.