GNU logs - #15996, boring messages


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#15996: 24.3.50; imenu inconsistencies
Resent-From: Thierry Volpiatto <thierry.volpiatto@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 29 Nov 2013 07:46:01 +0000
Resent-Message-ID: <handler.15996.B.138571111619492 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 15996
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 15996 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.138571111619492
          (code B ref -1); Fri, 29 Nov 2013 07:46:01 +0000
Received: (at submit) by debbugs.gnu.org; 29 Nov 2013 07:45:16 +0000
Received: from localhost ([127.0.0.1]:49633 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1VmIlG-00054I-Dz
	for submit <at> debbugs.gnu.org; Fri, 29 Nov 2013 02:45:15 -0500
Received: from eggs.gnu.org ([208.118.235.92]:50332)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <thierry.volpiatto@HIDDEN>) id 1VmIlA-000540-QU
 for submit <at> debbugs.gnu.org; Fri, 29 Nov 2013 02:45:10 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <thierry.volpiatto@HIDDEN>) id 1VmIkz-0003tS-GC
 for submit <at> debbugs.gnu.org; Fri, 29 Nov 2013 02:45:03 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
 T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:45352)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <thierry.volpiatto@HIDDEN>) id 1VmIkz-0003tN-Ck
 for submit <at> debbugs.gnu.org; Fri, 29 Nov 2013 02:44:57 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:52006)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <thierry.volpiatto@HIDDEN>) id 1VmIkt-0002gx-AI
 for bug-gnu-emacs@HIDDEN; Fri, 29 Nov 2013 02:44:57 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <thierry.volpiatto@HIDDEN>) id 1VmIkn-0003re-CM
 for bug-gnu-emacs@HIDDEN; Fri, 29 Nov 2013 02:44:51 -0500
Received: from mail-we0-x233.google.com ([2a00:1450:400c:c03::233]:56951)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <thierry.volpiatto@HIDDEN>) id 1VmIkn-0003rM-2P
 for bug-gnu-emacs@HIDDEN; Fri, 29 Nov 2013 02:44:45 -0500
Received: by mail-we0-f179.google.com with SMTP id q59so9111704wes.10
 for <bug-gnu-emacs@HIDDEN>; Thu, 28 Nov 2013 23:44:43 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=from:to:subject:date:message-id:mime-version:content-type
 :content-transfer-encoding;
 bh=k7dtyI/3LJrrN1kxv1c3f9vikIJrDEr1rmVp/TGWnak=;
 b=kANk+SVH4mOnDbL5xFLUv2Cs2fT2AzTo6hPR8oyutPuqKlHYjKC126H+TjcsIsLDkt
 l0uiNrjKldkX8KYwNNH+lxzzlV+r0KgQ6XjX/onZDp4PMUT0Rgcsz0ViI/4Y+QiJgLVV
 s9SLk2/yPy7LcdV7bE6FOUZDUwfsBBqlHknSgFWrPF8vLnLHvAUmNMbFSMgCUN7Ux1uR
 SbKo+6KsfsJnf6QLWZEIMMnf608UvIiRn9SIZY0TijqPHW7ypHAiMhEBgsoLyOtAwl37
 Zm88oFd26yJujhoUBNu2cql6EUiDnrFzzKj2qtsW/lndZcESh7mkVjmcRufVrhXzz4vU
 wCpg==
X-Received: by 10.181.11.169 with SMTP id ej9mr5618477wid.13.1385711083430;
 Thu, 28 Nov 2013 23:44:43 -0800 (PST)
Received: from dell-14z ([37.162.144.50])
 by mx.google.com with ESMTPSA id je17sm89069296wic.4.2013.11.28.23.44.38
 for <bug-gnu-emacs@HIDDEN>
 (version=TLSv1.2 cipher=RC4-SHA bits=128/128);
 Thu, 28 Nov 2013 23:44:42 -0800 (PST)
From: Thierry Volpiatto <thierry.volpiatto@HIDDEN>
Date: Fri, 29 Nov 2013 08:44:27 +0100
Message-ID: <87bo134ppg.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.0 (----)


Hi all,

here a sample file test.el:

--8<---------------cut here---------------start------------->8---
(defvar foo)
(defvar bar nil)
(defvar baz '((defmacro* . cl-defmacro)
              (defun* . cl-defun)))
(defun* test () nil)
(defmacro* test2 () nil)
(defmacro test3 () nil)
(cl-defmacro test4 () nil)
--8<---------------cut here---------------end--------------->8---

Here the output of `imenu--make-index-alist':

--8<---------------cut here---------------start------------->8---
(("*Rescan*" . -99)
 ("Variables"
  ("bar" . #<marker at 14 in test2.el>)
  ("baz" . #<marker at 31 in test2.el>))
 ("." . #<marker at 71 in test2.el>)
 ("test" . #<marker at 107 in test2.el>)
 ("test3" . #<marker at 153 in test2.el>)
 ("test4" . #<marker at 177 in test2.el>))
--8<---------------cut here---------------end--------------->8---

I see here some problems:

1) var `foo' is not listed, thus if we remove from file the vars `bar' and
`baz', we end up with ("Variables") only, which mean that the variable
`foo' is detected but not listed because it have no value.

2) The "defun*" in var `baz' is detected as a function with name `.',
but is not, it is just an element of var `baz'.

3) The function test defined with `defun*' from cl package is listed,
but the macro `test2' defined with `defmacro*' is not listed.
I expect the both listed if cl package is loaded or nothing listed if it
is not loaded.



In GNU Emacs 24.3.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.10)
 of 2013-11-28 on dell-14z
Windowing system distributor `The X.Org Foundation', version 11.0.11103000
System Description:	Ubuntu 12.04.3 LTS

Important settings:
  value of $LC_MONETARY: fr_FR.UTF-8
  value of $LC_NUMERIC: fr_FR.UTF-8
  value of $LC_TIME: fr_FR.UTF-8
  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:
  diff-auto-refine-mode: t
  psession-mode: t
  global-semanticdb-minor-mode: t
  global-semantic-idle-scheduler-mode: t
  semantic-mode: t
  golden-ratio-mode: t
  winner-mode: t
  global-undo-tree-mode: t
  undo-tree-mode: t
  auto-image-file-mode: t
  eldoc-in-minibuffer-mode: t
  show-paren-mode: t
  display-time-mode: t
  recentf-mode: t
  savehist-mode: t
  eldoc-mode: t
  minibuffer-depth-indicate-mode: t
  helm-mode: t
  helm-descbinds-mode: t
  shell-dirtrack-mode: t
  helm-adaptative-mode: t
  helm-match-plugin-mode: t
  helm-occur-match-plugin-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:
<left> <left> <left> <left> <left> <left> <left> C-M-SPC=20
M-w C-< <down> <return> <return> <return> C-y <up>=20
<up> <up> <up> <up> <left> <left> <left> <left> <left>=20
<left> <left> <left> <left> <left> <left> <left> <left>=20
<left> <left> <left> <left> <left> <left> <up> <up>=20
M-( d e f m a c r o * SPC t e s t 2 SPC M-( <right>=20
SPC n i l C-x C-s M-: M-p M-p <return> <return> <down>=20
<down> <down> <down> <down> <down> <up> <up> <up> <up>=20
<up> M-( d e f m a c r o SPC t e s t 3 SPC M-( <right>=20
SPC n i l <right> <return> M-( c l - d e f m a c r=20
o SPC t e s t 4 SPC M-( <right> SPC n i l <down> C-a=20
C-SPC C-n C-n C-n C-n C-n C-n C-d C-x C-s M-: M-p M-p=20
<return> <return> <up> <up> <up> <up> <up> <up> <up>=20
<up> <down> <down> <down> <down> <down> <down> C-x=20
C-=C2=B2 C-x C-b <down> <down> <down> <down> <down> <down>=20
<down> <down> <down> <down> <return> C-x c i w i t=20
h <down> <down> <down> <down> <down> <return> C-x C-b=20
<down> <down> <return> <up> <up> <up> <up> <up> <up>=20
<up> <up> <up> <up> <up> <up> <up> <up> <up> <left>=20
<left> <left> <left> <left> <left> <left> <left> <left>=20
<left> <left> <left> C-M-SPC M-w C-x C-b <down> <return>=20
M-: C-y C-y <return> <return> M-: M-p M-p M-p <return>=20
<return> C-x c i <down> <return> C-< <left> <left>=20
<left> <left> <left> <left> <left> <left> <left> <left>=20
<left> <left> <left> <left> <left> <left> <left> <left>=20
<left> C-SPC C-n C-n C-n C-n C-n C-n C-n C-n M-w C-<=20
<down> <down> <down> <down> <down> <down> <down> <return>=20
<return> C-y C-x C-x M-; C-x C-s C-x C-=C2=B2 M-x r e p=20
o r t <return>

Recent messages:
Here is not Git work tree
nil
Evaluating...
Here is not Git work tree
See buffer *Pp Eval Output*.
Mark activated
End of buffer
Mark set
Saving file /home/thierry/labo/tmp/test2.el...
Wrote /home/thierry/labo/tmp/test2.el

Load-path shadows:
/usr/local/share/emacs/24.3.50/lisp/gnus/.dir-locals hides ~/elisp/magit/.d=
ir-locals
~/elisp/auctex/lpath hides ~/elisp/emacs-wget/lpath
/usr/local/share/emacs/24.3.50/lisp/emacs-lisp/tq hides ~/elisp/emms/lisp/tq
~/.emacs.d/.gnus hides ~/.emacs.d/emacs-config-laptop/.gnus

Features:
(shadow gnus-dired nnir mail-extr gnus-msg 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 emacsbug
helm-command cl-indent help-mode helm-dabbrev magit-cherry magit-bisect
magit-log-edit log-edit add-log magit-key-mode magit view iswitchb
ediff-merg ediff-wind ediff-diff ediff-mult ediff-help ediff-init
ediff-util ediff diff-mode magit-compat ido helm-semantic helm-imenu
imenu semantic/bovine/c hideif semantic/bovine/c-by semantic/lex-spp
semantic/bovine/gcc semantic/bovine semantic/analyze semantic/sort
semantic/scope semantic/analyze/fcn cc-langs cc-mode cc-fonts cc-guess
cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs vc-hg
semantic/tag-file semantic/db-file data-debug cedet-files
semantic/wisent/python semantic/decorate/include semantic/db-find
semantic/db-ref semantic/decorate/mode semantic/decorate pulse
semantic/dep semantic/wisent/python-wy semantic/wisent
semantic/wisent/wisent vc-git naquadah-theme em-unix em-script em-prompt
em-ls em-hist em-pred em-glob em-dirs em-cmpl em-basic em-banner
em-alias align-let git-gutter server persistent-sessions
semantic/db-mode semantic/db eieio-base semantic/idle semantic/format
ezimage semantic/tag-ls semantic/find semantic/ctxt semantic/util-modes
semantic/util semantic semantic/tag semantic/lex semantic/fw mode-local
cedet package golden-ratio winner undo-tree diff image-file newsticker
newst-treeview newst-plainview newst-reader newst-ticker newst-backend
xdvi-search preview-latex tex-site auto-loads pcomplete-extension
em-term term disp-table ehelp electric helm-ipython helm-elisp helm-eval
python rx eldoc-eval warnings whitespace paren time avoid recentf
tree-widget savehist smtpmail-async smtpmail sendmail helm-async
iterator simple-call-tree iedit-rect rect iedit iedit-lib smallurl
mm-url gnus gnus-ems nnheader wid-edit rectangle-utils ledger-config
ledger esh-var esh-io esh-cmd esh-opt esh-ext esh-proc eldoc esh-groups
eshell esh-module esh-mode esh-arg esh-util tv-utils async pcvs vc-cvs
pcvs-parse pcvs-info pcvs-defs pcvs-util ewoc mb-depth cl-info
slime-autoloads esh-toggle flymake no-word htmlize 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 org-config-thierry ob-sh
cal-china lunar solar cal-dst cal-bahai cal-islam cal-hebrew holidays
hol-loaddefs appt diary-lib diary-loaddefs org-element org-rmail org-mhe
org-irc org-info org-gnus org-docview org-bibtex bibtex org-bbdb org-w3m
org-agenda org-annotation-helper 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 bookmark pp
init-helm-thierry helm-mode helm-ls-git helm-descbinds helm-ls-hg
helm-files image-dired tramp tramp-compat tramp-loaddefs trampver shell
dired-x 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 wgrep-helm wgrep helm-regexp grep
helm-external helm-utils dired compile helm-locate helm vc vc-dispatcher
helm-config helm-aliases epa-file epa derived epg epg-config auth-source
eieio eieio-core gnus-util mm-util mail-prsvr password-cache info
cl-macs gv edmacro kmacro org-crypt org byte-opt bytecomp byte-compile
cconv advice help-fns org-macro org-footnote org-pcomplete pcomplete
org-list org-faces org-entities time-date noutline outline easy-mmode
org-version ob-emacs-lisp ob ob-tangle org-src ob-ref ob-lob ob-table
ob-keys ob-exp ob-comint comint ansi-color ring ob-core ob-eval
org-compat org-macs org-loaddefs format-spec find-func cal-menu easymenu
calendar cal-loaddefs net-utils cl cl-loaddefs cl-lib 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 prog-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 nadvice
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
gfilenotify dynamic-setting system-font-setting font-render-setting
move-toolbar gtk x-toolkit x multi-tty emacs)

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




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.503 (Entity 5.503)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Thierry Volpiatto <thierry.volpiatto@HIDDEN>
Subject: bug#15996: Acknowledgement (24.3.50; imenu inconsistencies)
Message-ID: <handler.15996.B.138571111619492.ack <at> debbugs.gnu.org>
References: <87bo134ppg.fsf@HIDDEN>
X-Gnu-PR-Message: ack 15996
X-Gnu-PR-Package: emacs
Reply-To: 15996 <at> debbugs.gnu.org
Date: Fri, 29 Nov 2013 07:46:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-gnu-emacs@HIDDEN

If you wish to submit further information on this problem, please
send it to 15996 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
15996: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D15996
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#15996: 24.3.50; imenu inconsistencies
Resent-From: Stefan Monnier <monnier@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 29 Nov 2013 14:45:01 +0000
Resent-Message-ID: <handler.15996.B15996.138573628231152 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 15996
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Thierry Volpiatto <thierry.volpiatto@HIDDEN>
Cc: 15996 <at> debbugs.gnu.org
Received: via spool by 15996-submit <at> debbugs.gnu.org id=B15996.138573628231152
          (code B ref 15996); Fri, 29 Nov 2013 14:45:01 +0000
Received: (at 15996) by debbugs.gnu.org; 29 Nov 2013 14:44:42 +0000
Received: from localhost ([127.0.0.1]:49925 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1VmPJC-00086O-0R
	for submit <at> debbugs.gnu.org; Fri, 29 Nov 2013 09:44:42 -0500
Received: from ironport2-out.teksavvy.com ([206.248.154.181]:29461)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <monnier@HIDDEN>) id 1VmPJ9-00086A-T1
 for 15996 <at> debbugs.gnu.org; Fri, 29 Nov 2013 09:44:40 -0500
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Av8EABK/CFHO+KEh/2dsb2JhbABEuzWDWRdzgh4BAQQBViMFCws0EhQYDSSIHgbBLZEKA4hhnBmBXoMV
X-IPAS-Result: Av8EABK/CFHO+KEh/2dsb2JhbABEuzWDWRdzgh4BAQQBViMFCws0EhQYDSSIHgbBLZEKA4hhnBmBXoMV
X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="40683691"
Received: from 206-248-161-33.dsl.teksavvy.com (HELO pastel.home)
 ([206.248.161.33])
 by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA;
 29 Nov 2013 09:44:33 -0500
Received: by pastel.home (Postfix, from userid 20848)
 id 7379B60EFA; Fri, 29 Nov 2013 09:44:33 -0500 (EST)
From: Stefan Monnier <monnier@HIDDEN>
Message-ID: <jwv7gbre0dr.fsf-monnier+emacsbugs@HIDDEN>
References: <87bo134ppg.fsf@HIDDEN>
Date: Fri, 29 Nov 2013 09:44:33 -0500
In-Reply-To: <87bo134ppg.fsf@HIDDEN> (Thierry Volpiatto's message of "Fri, 
 29 Nov 2013 08:44:27 +0100")
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.3 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.3 (/)

> (defvar foo)
[...]
> 1) var `foo' is not listed,

That's on purpose.  Of course, it's not always the right choice, but
imenu is supposed to let you go to the "definition" of something and
this is not a definition.

> 2) The "defun*" in var `baz' is detected as a function with name `.',
> but is not, it is just an element of var `baz'.

Yes, that's a false positive.  It's difficult/impossible to avoid all
false positives and all false negatives.  We could try and recognize
this particular case with ad-hoc code, but it wouldn't help in general.

> 3) The function test defined with `defun*' from cl package is listed,
> but the macro `test2' defined with `defmacro*' is not listed.
> I expect the both listed if cl package is loaded or nothing listed if it
> is not loaded.

Agreed.


        Stefan




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#15996: 24.3.50; imenu inconsistencies
Resent-From: Thierry Volpiatto <thierry.volpiatto@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 01 Dec 2013 08:12:02 +0000
Resent-Message-ID: <handler.15996.B15996.138588551425336 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 15996
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Stefan Monnier <monnier@HIDDEN>
Cc: 15996 <at> debbugs.gnu.org
Received: via spool by 15996-submit <at> debbugs.gnu.org id=B15996.138588551425336
          (code B ref 15996); Sun, 01 Dec 2013 08:12:02 +0000
Received: (at 15996) by debbugs.gnu.org; 1 Dec 2013 08:11:54 +0000
Received: from localhost ([127.0.0.1]:52497 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Vn288-0006aZ-Uc
	for submit <at> debbugs.gnu.org; Sun, 01 Dec 2013 03:11:53 -0500
Received: from mail-wi0-f173.google.com ([209.85.212.173]:55361)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <thierry.volpiatto@HIDDEN>) id 1Vn284-0006aE-3q
 for 15996 <at> debbugs.gnu.org; Sun, 01 Dec 2013 03:11:50 -0500
Received: by mail-wi0-f173.google.com with SMTP id hm4so3494767wib.6
 for <15996 <at> debbugs.gnu.org>; Sun, 01 Dec 2013 00:11:42 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=from:to:cc:subject:organization:references:date:in-reply-to
 :message-id:user-agent:mime-version:content-type;
 bh=aXxdxKgpSOskImI3zMcBfh7QpkMfXzk/PvyBQ0wKdoc=;
 b=Rv5jTm5I1TfKI9ta/d2bPSWJvfVYtnWc00AXeLZEh+T8zutx8t1PlNhJYGi29FBDqW
 CvFhLzlNgzFSm4WFFDaquG47ZYLhJowyosPxgs3dVrM+ZNkp6DNbEKhAYmlsZtadPQo/
 AJsoWTQAoxL2PzYoFuXBcmkubNlsXp0sA93+WcX7UFuA4yJ6dN/eUzrC40g6W3NC8LDT
 V5vGkYacvTGzDS3kgJHOJdIvuVHxsURXtcb01KcVQC2AbiUROvsJsZ+KZ9VipTFNFAnL
 4yXKAgP2n5fT6+kXBSmMqp/YPUlmGB1BU4jqFhLUPu15+zxdqEiEADRD79DMHFFpE3Wj
 LxCw==
X-Received: by 10.194.240.129 with SMTP id wa1mr47996993wjc.31.1385885502298; 
 Sun, 01 Dec 2013 00:11:42 -0800 (PST)
Received: from dell-14z (lbe83-2-78-243-104-167.fbx.proxad.net.
 [78.243.104.167])
 by mx.google.com with ESMTPSA id pi6sm110006551wic.3.2013.12.01.00.11.41
 for <multiple recipients>
 (version=TLSv1.2 cipher=RC4-SHA bits=128/128);
 Sun, 01 Dec 2013 00:11:41 -0800 (PST)
From: Thierry Volpiatto <thierry.volpiatto@HIDDEN>
Organization: Emacs Helm
References: <87bo134ppg.fsf@HIDDEN>
 <jwv7gbre0dr.fsf-monnier+emacsbugs@HIDDEN>
Date: Sun, 01 Dec 2013 09:11:34 +0100
In-Reply-To: <jwv7gbre0dr.fsf-monnier+emacsbugs@HIDDEN> (Stefan Monnier's
 message of "Fri, 29 Nov 2013 09:44:33 -0500")
Message-ID: <87ob51ng7d.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

Stefan Monnier <monnier@HIDDEN> writes:

>> (defvar foo)
> [...]
>> 1) var `foo' is not listed,
>
> That's on purpose.  Of course, it's not always the right choice, but
> imenu is supposed to let you go to the "definition" of something and
> this is not a definition.
>
>> 2) The "defun*" in var `baz' is detected as a function with name `.',
>> but is not, it is just an element of var `baz'.
>
> Yes, that's a false positive.  It's difficult/impossible to avoid all
> false positives and all false negatives.  We could try and recognize
> this particular case with ad-hoc code, but it wouldn't help in general.
>
>> 3) The function test defined with `defun*' from cl package is listed,
>> but the macro `test2' defined with `defmacro*' is not listed.
>> I expect the both listed if cl package is loaded or nothing listed if it
>> is not loaded.
>
> Agreed.

Here another one (Reported on helm issues):

here a file test.c:

--8<---------------cut here---------------start------------->8---
void foo(); // either item in the imenu list jumps here


void foo() {}
--8<---------------cut here---------------end--------------->8---

Imenu show only one "foo".

(semantic-mode 1)

Imenu show now the two "foo".

See:
https://github.com/emacs-helm/helm/issues/337

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




Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 26 Jun 2016 14:02:01 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 26 10:02:01 2016
Received: from localhost ([127.0.0.1]:56882 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1bHAdM-0008B4-Uv
	for submit <at> debbugs.gnu.org; Sun, 26 Jun 2016 10:02:01 -0400
Received: from mail-oi0-f52.google.com ([209.85.218.52]:32793)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <npostavs@HIDDEN>) id 1bHAdL-0008An-7T
 for control <at> debbugs.gnu.org; Sun, 26 Jun 2016 10:01:59 -0400
Received: by mail-oi0-f52.google.com with SMTP id u201so171006003oie.0
 for <control <at> debbugs.gnu.org>; Sun, 26 Jun 2016 07:01:59 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:sender:from:date:message-id:subject:to;
 bh=5Vjt7Z2tVtd+UHwSeBCvJC1B1X0WLt2egoG94UFO62k=;
 b=rCw96XpO2aynD7HdLy3tr0woZ2/odvFJ4hOcFfJwbST4AFWB4xJGCZ1+4RAxJfoUsm
 sem5ctCKkVQ3OpCqV68fZs3S7aUS06nzoLS078IoI6HYwSdtO72Wxw+9FD61u6AL7JLf
 sYm165yjPTPWdArWEglGqbZtbXPzMfTprgAgkXSAs6g/UQkwiHdlU6a2A5GyTvw0FSB7
 0OJrMl7h4euuFlNnpy7VFTjA7DG8EVKM/DWLl5K5ZvQYRYeq4o0qL6PJPMLU3Scaxsti
 /aX0M9wC44a10QgEkFpJjiiDrjqQiw17Dfug+isNupuutGrgNLOITSdwOTFjxtBfj0mg
 KQWA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:mime-version:sender:from:date:message-id:subject
 :to; bh=5Vjt7Z2tVtd+UHwSeBCvJC1B1X0WLt2egoG94UFO62k=;
 b=PVHpUPmXghuvPeK+dA2KoqNmvp+EkKvrg/G3pGOTtLrKmv6rCOGvP6YAA1wz885KRN
 zshOIbdQLrf9xTWeZrm5nH2CpgUc2+ZNny6XJlKXh/R8hKsqhpYZvO9g9k1uoHPY+rEr
 3WSvWr4tUlBH5R34DUk9I12OWSJaRbGc7CPXnOdHmTDJpD4p+gJXR9d6Hi99sRIlkIzN
 WcxLh4FX8Sri2VnFoFXiuOWQuSGDbS15SaoGpP8GPHDoRLVPuGUBi9zHd/r5p8yzt5Kt
 oFQhKxHBGsA3auhIV/oPFFr09bKbBATFxmS7SAlxPBl7jPsVUICgDSbr0oMV5ysFYT5a
 KE0g==
X-Gm-Message-State: ALyK8tKJxhUXJHQ6C49Mbt+9ouoIE4EArIrfFIy49gvb5EhgUN59ips2Axye9/raxXNf5HmZor+QkXrEoUF20g==
X-Received: by 10.202.207.16 with SMTP id f16mr7190567oig.178.1466949713877;
 Sun, 26 Jun 2016 07:01:53 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.157.52.238 with HTTP; Sun, 26 Jun 2016 07:01:53 -0700 (PDT)
From: Noam Postavsky <npostavs@HIDDEN>
Date: Sun, 26 Jun 2016 10:01:53 -0400
X-Google-Sender-Auth: CfLGXyAk28fZuSOufQa8CiXnDmE
Message-ID: <CAM-tV-9mrKVuNQTgr+XUfdEjZSx=jvq-Tq3xrL5RrhECRM1C2g@HIDDEN>
Subject: Re: bug#15996: 24.3.50; imenu inconsistencies
To: GNU bug tracker automated control server <control <at> debbugs.gnu.org>
Content-Type: text/plain; charset=UTF-8
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

found 15996 25.0.95
tag 15996 + confirmed
quit




Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 26 Jun 2016 14:02:01 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 26 10:02:01 2016
Received: from localhost ([127.0.0.1]:56882 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1bHAdM-0008B4-Uv
	for submit <at> debbugs.gnu.org; Sun, 26 Jun 2016 10:02:01 -0400
Received: from mail-oi0-f52.google.com ([209.85.218.52]:32793)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <npostavs@HIDDEN>) id 1bHAdL-0008An-7T
 for control <at> debbugs.gnu.org; Sun, 26 Jun 2016 10:01:59 -0400
Received: by mail-oi0-f52.google.com with SMTP id u201so171006003oie.0
 for <control <at> debbugs.gnu.org>; Sun, 26 Jun 2016 07:01:59 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:sender:from:date:message-id:subject:to;
 bh=5Vjt7Z2tVtd+UHwSeBCvJC1B1X0WLt2egoG94UFO62k=;
 b=rCw96XpO2aynD7HdLy3tr0woZ2/odvFJ4hOcFfJwbST4AFWB4xJGCZ1+4RAxJfoUsm
 sem5ctCKkVQ3OpCqV68fZs3S7aUS06nzoLS078IoI6HYwSdtO72Wxw+9FD61u6AL7JLf
 sYm165yjPTPWdArWEglGqbZtbXPzMfTprgAgkXSAs6g/UQkwiHdlU6a2A5GyTvw0FSB7
 0OJrMl7h4euuFlNnpy7VFTjA7DG8EVKM/DWLl5K5ZvQYRYeq4o0qL6PJPMLU3Scaxsti
 /aX0M9wC44a10QgEkFpJjiiDrjqQiw17Dfug+isNupuutGrgNLOITSdwOTFjxtBfj0mg
 KQWA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:mime-version:sender:from:date:message-id:subject
 :to; bh=5Vjt7Z2tVtd+UHwSeBCvJC1B1X0WLt2egoG94UFO62k=;
 b=PVHpUPmXghuvPeK+dA2KoqNmvp+EkKvrg/G3pGOTtLrKmv6rCOGvP6YAA1wz885KRN
 zshOIbdQLrf9xTWeZrm5nH2CpgUc2+ZNny6XJlKXh/R8hKsqhpYZvO9g9k1uoHPY+rEr
 3WSvWr4tUlBH5R34DUk9I12OWSJaRbGc7CPXnOdHmTDJpD4p+gJXR9d6Hi99sRIlkIzN
 WcxLh4FX8Sri2VnFoFXiuOWQuSGDbS15SaoGpP8GPHDoRLVPuGUBi9zHd/r5p8yzt5Kt
 oFQhKxHBGsA3auhIV/oPFFr09bKbBATFxmS7SAlxPBl7jPsVUICgDSbr0oMV5ysFYT5a
 KE0g==
X-Gm-Message-State: ALyK8tKJxhUXJHQ6C49Mbt+9ouoIE4EArIrfFIy49gvb5EhgUN59ips2Axye9/raxXNf5HmZor+QkXrEoUF20g==
X-Received: by 10.202.207.16 with SMTP id f16mr7190567oig.178.1466949713877;
 Sun, 26 Jun 2016 07:01:53 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.157.52.238 with HTTP; Sun, 26 Jun 2016 07:01:53 -0700 (PDT)
From: Noam Postavsky <npostavs@HIDDEN>
Date: Sun, 26 Jun 2016 10:01:53 -0400
X-Google-Sender-Auth: CfLGXyAk28fZuSOufQa8CiXnDmE
Message-ID: <CAM-tV-9mrKVuNQTgr+XUfdEjZSx=jvq-Tq3xrL5RrhECRM1C2g@HIDDEN>
Subject: Re: bug#15996: 24.3.50; imenu inconsistencies
To: GNU bug tracker automated control server <control <at> debbugs.gnu.org>
Content-Type: text/plain; charset=UTF-8
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

found 15996 25.0.95
tag 15996 + confirmed
quit





Last modified: Sun, 26 Jun 2016 14:15:02 UTC

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