GNU logs - #5582, boring messages


Message sent to owner <at> debbugs.gnu.org, bug-gnu-emacs@HIDDEN:


X-Loop: bug-gnu-emacs@HIDDEN
Subject: bug#5582: 23.1.92; Unnecessary headings in makefile-mode imenu
Resent-From: Magnus Henoch <magnus.henoch@HIDDEN>
Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Resent-To: owner <at> debbugs.gnu.org
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 15 Feb 2010 17:46:02 +0000
Resent-Message-ID: <handler.5582.B.126625593922360 <at> debbugs.gnu.org>
Resent-Sender: bug-gnu-emacs@HIDDEN
X-Emacs-PR-Message: report 5582
X-Emacs-PR-Package: emacs
X-Emacs-PR-Keywords: 
To: 5582 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.126625593922360
          (code B ref -1); Mon, 15 Feb 2010 17:46:02 +0000
Received: (at submit) by debbugs.gnu.org; 15 Feb 2010 17:45:39 +0000
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Nh50r-0005oa-2f
	for submit <at> debbugs.gnu.org; Mon, 15 Feb 2010 12:45:39 -0500
Received: from fencepost.gnu.org ([140.186.70.10])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <magnus.henoch@HIDDEN>) id 1Nh4tV-0005iD-7S
	for submit <at> debbugs.gnu.org; Mon, 15 Feb 2010 12:38:13 -0500
Received: from mail.gnu.org ([199.232.76.166]:58893 helo=mx10.gnu.org)
	by fencepost.gnu.org with esmtp (Exim 4.69)
	(envelope-from <magnus.henoch@HIDDEN>) id 1Nh4sJ-0002LX-LO
	for submit <at> debbugs.gnu.org; Mon, 15 Feb 2010 12:37:56 -0500
Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim
	4.60) (envelope-from <magnus.henoch@HIDDEN>) id 1Nh4sB-0002K4-Sb
	for submit <at> debbugs.gnu.org; Mon, 15 Feb 2010 12:36:44 -0500
X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on monty-python
X-Spam-Level: 
X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,
	UNPARSEABLE_RELAY autolearn=ham version=3.1.0
Received: from lists.gnu.org ([199.232.76.165]:54902)
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60)
	(envelope-from <magnus.henoch@HIDDEN>) id 1Nh4sB-0002Jw-IQ
	for submit <at> debbugs.gnu.org; Mon, 15 Feb 2010 12:36:39 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Nh4sA-00060X-Q7
	for bug-gnu-emacs@HIDDEN; Mon, 15 Feb 2010 12:36:38 -0500
Received: from [140.186.70.92] (port=60648 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Nh4rz-0005x5-K6
	for bug-gnu-emacs@HIDDEN; Mon, 15 Feb 2010 12:36:38 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <magnus.henoch@HIDDEN>) id 1Nh4rx-0003hb-C2
	for bug-gnu-emacs@HIDDEN; Mon, 15 Feb 2010 12:36:27 -0500
Received: from mail-ew0-f228.google.com ([209.85.219.228]:55651)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <magnus.henoch@HIDDEN>) id 1Nh4rx-0003gs-0j
	for bug-gnu-emacs@HIDDEN; Mon, 15 Feb 2010 12:36:25 -0500
Received: by ewy28 with SMTP id 28so427414ewy.8
	for <bug-gnu-emacs@HIDDEN>; Mon, 15 Feb 2010 09:36:22 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:mime-version:received:date:message-id:subject
	:from:to:content-type;
	bh=6PMheGr62RETllrzxSVO4gcdbotkT0bn4LwJEv14b3s=;
	b=B8s0arJeg8gb9sNktKVqgx8nUIwfXkDgI1gXd/sQkK7mxZXOhQvPZ0IVqH3Sx/resE
	FHp2A5rlNJ3ZsoYHflINb23gv0B68CaZIfMO1dHz7av/gxVC/Cd4PuFGyxo3xGEfdfLM
	ptVqGEuuRUg/6N/9nvBn8FC4CFjkvrNiNFmTA=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=mime-version:date:message-id:subject:from:to:content-type;
	b=S2yfUzBOrWZOBepXqFAjjm+rMdWfxZFxeh7umdb/n8nprLqD1AmJWswgevUGlXxtbW
	qZhzqnJjC66Z0pAinJIoGeSmmTREeVUIGgmBSHpx9sBR/Sd7OEBrDfiNN20uSkG7SUqY
	mTHFCcG27bJ9rXm84e613ZL9WcretghCHrZQo=
MIME-Version: 1.0
Received: by 10.216.89.202 with SMTP id c52mr1563033wef.215.1266255382267; 
	Mon, 15 Feb 2010 09:36:22 -0800 (PST)
Date: Mon, 15 Feb 2010 17:36:22 +0000
Message-ID: <b28dc2891002150936k5f2c2bd2vb27d2a2a5899f31d@HIDDEN>
From: Magnus Henoch <magnus.henoch@HIDDEN>
Content-Type: text/plain; charset=UTF-8
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6,
	seldom 2.4 (older, 4)
X-Spam-Score: -3.2 (---)
X-Mailman-Approved-At: Mon, 15 Feb 2010 12:45:36 -0500
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.11
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/pipermail/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>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -3.2 (---)

Severity: wishlist

In makefile-mode, M-x imenu requires you to specify "Dependencies" or
"Macro assignments" before you can type the name of the thing you want
to jump to.  I think that's unnecessary, since having a macro assignment
with the same name as a dependency is very unusual.  The patch below
gives you a flat list instead:

	* progmodes/make-mode.el (makefile-imenu-generic-expression):
	Remove headings, turning the tree of targets into a flat list.

=== modified file 'lisp/progmodes/make-mode.el'
--- lisp/progmodes/make-mode.el	2010-01-13 08:35:10 +0000
+++ lisp/progmodes/make-mode.el	2010-02-15 16:46:38 +0000
@@ -516,8 +516,8 @@
     ("\\\\\n" 0 ".")))

 (defvar makefile-imenu-generic-expression
-  `(("Dependencies" makefile-previous-dependency 1)
-    ("Macro Assignment" ,makefile-macroassign-regex 1))
+  `((nil makefile-previous-dependency 1)
+    (nil ,makefile-macroassign-regex 1))
   "Imenu generic expression for Makefile mode.  See
`imenu-generic-expression'.")

 ;;; ------------------------------------------------------------




In GNU Emacs 23.1.92.1 (i686-pc-linux-gnu, GTK+ Version 2.18.1)
 of 2010-02-12 on linux-b2a3
Windowing system distributor `The X.Org Foundation', version 11.0.10605000
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: C
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=local
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Change Log

Minor modes in effect:
  bug-reference-mode: t
  diff-auto-refine-mode: t
  shell-dirtrack-mode: t
  jabber-activity-mode: t
  jabber-mode-line-mode: t
  show-paren-mode: t
  server-mode: t
  ido-everywhere: t
  icomplete-mode: t
  display-time-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
e - i m e n i u - <backspace> <backspace> <backspace>
u - <M-tab> SPC C-f C-f C-f C-f C-f C-f C-b C-b C-b
C-M-k n i l C-n C-e ) <return> <C-s-down> <C-s-down>
s-i <tab> * <return> <tab> C-g C-h v m a k e f <tab>
i m <tab> e n <tab> <return> <C-s-down> <C-s-down>
C-x k C-g <C-s-down> <C-s-down> C-p C-f C-f C-f C-f
C-f C-f C-s C-w C-w C-w C-w C-s C-s <return> <C-s-down>
M-x n o r m a - m o d <return> <end> s-i <tab> C-g
<C-s-down> C-x b <return> M-p C-a C-f C-f C-f C-f C-f
C-M-k n i l C-e <return> <C-s-down> <C-s-down> M-x
n o r m a l - m o d <return> s-i <tab> M A <tab> <return>
M-x l o c a t e <return> m a k e - m o d e . e l <return>
C-n C-p <return> s-i V a <return> m a x k <tab> <backspace>
<backspace> <tab> i m <tab> e <tab> <return> C-n C-f
C-f C-f C-f C-f C-M-k n i l C-n C-b C-b C-b C-M-k n
i l C-x C-s C-x v = C-n C-n C-n C-n C-n C-n C-n C-n
C-n C-h e <C-end> <C-backspace> C-x v = C-n C-n C-n
C-n C-n C-n C-n C-x 4 a R e m o v e SPC h e a d i n
g s , SPC t u r n i n g SPC t h e SPC t l <backspace>
r e e SPC o f SPC t a r g e t s SPC i n t o SPC a SPC
f l a t SPC l i s t . M-q M-x r e p o r t - e m a <tab>
<return>

Load-path shadows:
~/emacs/org-mode/lisp/org-html hides
/usr/local/share/emacs/23.1.92/lisp/org/org-html
~/emacs/org-mode/lisp/org-table hides
/usr/local/share/emacs/23.1.92/lisp/org/org-table
~/emacs/org-mode/lisp/org-bbdb hides
/usr/local/share/emacs/23.1.92/lisp/org/org-bbdb
~/emacs/org-mode/lisp/org-mouse hides
/usr/local/share/emacs/23.1.92/lisp/org/org-mouse
~/emacs/org-mode/lisp/org-rmail hides
/usr/local/share/emacs/23.1.92/lisp/org/org-rmail
~/emacs/org-mode/lisp/org-compat hides
/usr/local/share/emacs/23.1.92/lisp/org/org-compat
~/emacs/org-mode/lisp/org-latex hides
/usr/local/share/emacs/23.1.92/lisp/org/org-latex
~/emacs/org-mode/lisp/org-gnus hides
/usr/local/share/emacs/23.1.92/lisp/org/org-gnus
~/emacs/org-mode/lisp/org-habit hides
/usr/local/share/emacs/23.1.92/lisp/org/org-habit
~/emacs/org-mode/lisp/org-exp hides
/usr/local/share/emacs/23.1.92/lisp/org/org-exp
~/emacs/org-mode/lisp/org-src hides
/usr/local/share/emacs/23.1.92/lisp/org/org-src
~/emacs/org-mode/lisp/org-plot hides
/usr/local/share/emacs/23.1.92/lisp/org/org-plot
~/emacs/org-mode/lisp/org-publish hides
/usr/local/share/emacs/23.1.92/lisp/org/org-publish
~/emacs/org-mode/lisp/org-bibtex hides
/usr/local/share/emacs/23.1.92/lisp/org/org-bibtex
~/emacs/org-mode/lisp/org-xoxo hides
/usr/local/share/emacs/23.1.92/lisp/org/org-xoxo
~/emacs/org-mode/lisp/org-remember hides
/usr/local/share/emacs/23.1.92/lisp/org/org-remember
~/emacs/org-mode/lisp/org-crypt hides
/usr/local/share/emacs/23.1.92/lisp/org/org-crypt
~/emacs/org-mode/lisp/org-timer hides
/usr/local/share/emacs/23.1.92/lisp/org/org-timer
~/emacs/org-mode/lisp/org-vm hides
/usr/local/share/emacs/23.1.92/lisp/org/org-vm
~/emacs/org-mode/lisp/org hides /usr/local/share/emacs/23.1.92/lisp/org/org
~/emacs/org-mode/lisp/org-mew hides
/usr/local/share/emacs/23.1.92/lisp/org/org-mew
~/emacs/org-mode/lisp/org-archive hides
/usr/local/share/emacs/23.1.92/lisp/org/org-archive
~/emacs/org-mode/lisp/org-indent hides
/usr/local/share/emacs/23.1.92/lisp/org/org-indent
~/emacs/org-mode/lisp/org-agenda hides
/usr/local/share/emacs/23.1.92/lisp/org/org-agenda
~/emacs/org-mode/lisp/org-exp-blocks hides
/usr/local/share/emacs/23.1.92/lisp/org/org-exp-blocks
~/emacs/org-mode/lisp/org-id hides
/usr/local/share/emacs/23.1.92/lisp/org/org-id
~/emacs/org-mode/lisp/org-install hides
/usr/local/share/emacs/23.1.92/lisp/org/org-install
~/emacs/org-mode/lisp/org-datetree hides
/usr/local/share/emacs/23.1.92/lisp/org/org-datetree
~/emacs/org-mode/lisp/org-clock hides
/usr/local/share/emacs/23.1.92/lisp/org/org-clock
~/emacs/org-mode/lisp/org-w3m hides
/usr/local/share/emacs/23.1.92/lisp/org/org-w3m
~/emacs/org-mode/lisp/org-irc hides
/usr/local/share/emacs/23.1.92/lisp/org/org-irc
~/emacs/org-mode/lisp/org-inlinetask hides
/usr/local/share/emacs/23.1.92/lisp/org/org-inlinetask
~/emacs/org-mode/lisp/org-mac-message hides
/usr/local/share/emacs/23.1.92/lisp/org/org-mac-message
~/emacs/org-mode/lisp/org-list hides
/usr/local/share/emacs/23.1.92/lisp/org/org-list
~/emacs/org-mode/lisp/org-colview hides
/usr/local/share/emacs/23.1.92/lisp/org/org-colview
~/emacs/org-mode/lisp/org-mobile hides
/usr/local/share/emacs/23.1.92/lisp/org/org-mobile
~/emacs/org-mode/lisp/org-attach hides
/usr/local/share/emacs/23.1.92/lisp/org/org-attach
~/emacs/org-mode/lisp/org-wl hides
/usr/local/share/emacs/23.1.92/lisp/org/org-wl
~/emacs/org-mode/lisp/org-info hides
/usr/local/share/emacs/23.1.92/lisp/org/org-info
~/emacs/org-mode/lisp/org-macs hides
/usr/local/share/emacs/23.1.92/lisp/org/org-macs
~/emacs/org-mode/lisp/org-mhe hides
/usr/local/share/emacs/23.1.92/lisp/org/org-mhe
~/emacs/org-mode/lisp/org-jsinfo hides
/usr/local/share/emacs/23.1.92/lisp/org/org-jsinfo
~/emacs/org-mode/lisp/org-freemind hides
/usr/local/share/emacs/23.1.92/lisp/org/org-freemind
~/emacs/org-mode/lisp/org-icalendar hides
/usr/local/share/emacs/23.1.92/lisp/org/org-icalendar
~/emacs/org-mode/lisp/org-feed hides
/usr/local/share/emacs/23.1.92/lisp/org/org-feed
~/emacs/org-mode/lisp/org-footnote hides
/usr/local/share/emacs/23.1.92/lisp/org/org-footnote
~/emacs/org-mode/lisp/org-protocol hides
/usr/local/share/emacs/23.1.92/lisp/org/org-protocol
~/emacs/org-mode/lisp/org-ascii hides
/usr/local/share/emacs/23.1.92/lisp/org/org-ascii
~/emacs/org-mode/lisp/org-docbook hides
/usr/local/share/emacs/23.1.92/lisp/org/org-docbook
~/emacs/org-mode/lisp/org-faces hides
/usr/local/share/emacs/23.1.92/lisp/org/org-faces
~/emacs/emms/lisp/tq hides /usr/local/share/emacs/23.1.92/lisp/emacs-lisp/tq

Features:
(shadow emacsbug vc-bzr locate ielm info two-column ediff-merg
ediff-diff ediff-wind ediff-help ediff-util ediff-mult ediff-init ediff
em-unix pcomplete em-term term ehelp electric em-script em-prompt em-ls
em-hist em-pred em-glob em-dirs em-cmpl em-basic esh-opt em-banner
em-alias esh-var esh-io esh-cmd esh-ext esh-proc esh-arg esh-groups
eshell esh-module esh-mode esh-util find-dired grep log-view tabify man
log-edit pcvs-util add-log diff-mode vc vc-dispatcher make-mode
org-colview mule-util face-remap rect url-cache url-http cal-china lunar
solar cal-dst cal-bahai cal-islam cal-hebrew holidays hol-loaddefs
diary-lib diary-loaddefs cal-iso cal-menu calendar cal-loaddefs gnus-fun
bookmark pp iso-transl jka-compr find-func mailalias smtpmail bbdb-hooks
browse-url quail help-mode view w3-forms w3-style w3-hot url-file
url-dired w3-toolbar w3-emacs w3-props url-auth w3 w3-menu url-news
url-irc url-gw cus-edit w3-emulate w3-parse w3-fast-parse w3-display
w3-mouse w3-imap url-handlers w3-widget w3-vars w3-keymap w3-cus css
font devices ange-ftp w3-cfg w3-compat imenu vc-hg etags tramp-imap
tramp-gw tramp-fish tramp-smb tramp-cache tramp-ftp tramp-cmds tramp
shell tramp-compat trampver multi-isearch org-clock flow-fill bbdb-gui
gnus-cite smiley ansi-color gnus-async gnus-bcklg sort gnus-ml
disp-table nndoc parse-time nnfolder utf-7 utf7 auth-source nnimap imap
nndraft nnmh nnml gnus-agent gnus-srvr gnus-score score-mode nnvirtual
nntp gnus-cache spam spam-stat gnus-uu yenc gnus-msg goto-addr thingatpt
sasl-digest hmac-md5 copyright jabber-gmail jabber-keepalive jabber-ping
jabber-bookmarks jabber-private jabber jabber-libnotify dbus
jabber-awesome jabber-osd jabber-wmii jabber-xmessage jabber-festival
jabber-sawfish jabber-ratpoison jabber-screen jabber-socks5
jabber-ft-server jabber-si-server jabber-ft-client jabber-ft-common
jabber-si-client jabber-si-common jabber-feature-neg jabber-truncate
jabber-time jabber-autoaway jabber-vcard-avatars jabber-chatstates
jabber-events jabber-vcard jabber-avatar jabber-activity jabber-watch
jabber-modeline jabber-ahc-presence jabber-ahc jabber-version
jabber-ourversion jabber-muc-nick-completion hippie-exp jabber-browse
jabber-search jabber-register jabber-roster jabber-presence jabber-muc
jabber-muc-nick-coloring assoc hexrgb jabber-newdisco jabber-widget
jabber-disco jabber-chat jabber-history jabber-chatbuffer jabber-alert
jabber-iq jabber-core jabber-console sgml-mode ewoc jabber-keymap
jabber-sasl sasl sasl-anonymous sasl-login sasl-plain fsm jabber-logon
jabber-conn srv dns starttls tls jabber-xml xml jabber-menu eldoc
org-feed org-w3m org-wl org-vm org-rmail org-mhe org-mew org-irc
org-habit org-jsinfo org-infojs org-html org-exp org-exp-blocks
org-agenda org-info org-gnus org-bibtex org-bbdb paren server ido
icomplete time cus-start cus-load emms-playlist-sort emms-last-played
emms-info-libtag emms-lastfm emms-url emms-playing-time emms-mode-line
url url-proxy url-privacy url-expand url-methods url-history url-cookie
url-util url-parse url-vars emms-cache emms-info-ogginfo
emms-info-mp3info emms-info later-do emms-playlist-mode emms-player-vlc
emms-player-mplayer emms-player-simple emms-source-playlist
emms-source-file dired emms-setup emms emms-compat bbdb-gnus gnus-art
mm-uu mml2015 epg-config mm-view smime dig gnus-sum nnoo gnus-group
gnus-undo nnmail mail-source format-spec gnus-start gnus-spec gnus-int
gnus-range message sendmail ecomplete mml mml-sec password-cache
mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045
qp ietf-drums gmm-utils mailheader canlock sha1 hex-util hashcash
gnus-win gnus gnus-ems nnheader gnus-util netrc mail-utils mm-util
mail-prsvr wid-edit bbdb-snarf mail-extr rfc822 bbdb-com warnings
mailabbrev bbdb-autoloads bbdb regexp-opt timezone patmatch erl-service
derived derl erlext epmd net-fsm erl wrangler erlang flymake compile
comint ring w3-auto edmacro kmacro remember org-remember org-datetree
org byte-opt bytecomp byte-compile org-footnote org-src org-list
org-faces org-compat org-macs easymenu time-date noutline outline
easy-mmode org-redmine cl cl-19 org-install uniquify advice help-fns
advice-preload vc-p4 p4-lowlevel lfe-mode erlang-web-template tempo
erlang-start jabber-autoloads jabber-util tooltip ediff-hook vc-hooks
lisp-float-type mwheel x-win x-dnd font-setting tool-bar dnd fontset
image fringe lisp-mode register page menu-bar rfn-eshadow timer select
scroll-bar mldrag 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 loaddefs button minibuffer faces cus-face files
text-properties overlay md5 base64 format env code-pages mule custom
widget hashtable-print-readable backquote make-network-process dbusbind
system-font-setting font-render-setting gtk x-toolkit x multi-tty emacs)

-- 
Magnus Henoch





Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Type: text/plain; charset=utf-8
X-Loop: bug-gnu-emacs@HIDDEN
From: bug-gnu-emacs@HIDDEN (Emacs bug Tracking System)
To: Magnus Henoch <magnus.henoch@HIDDEN>
Subject: bug#5582: Acknowledgement (23.1.92; Unnecessary headings in
 makefile-mode imenu)
Message-ID: <handler.5582.B.126625593922360.ack <at> debbugs.gnu.org>
References: <b28dc2891002150936k5f2c2bd2vb27d2a2a5899f31d@HIDDEN>
X-Emacs-PR-Message: ack 5582
X-Emacs-PR-Package: emacs
Reply-To: 5582 <at> debbugs.gnu.org
Date: Mon, 15 Feb 2010 17:46:02 +0000

Thank you for filing a new bug report with Emacs.

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 5582 <at> debbugs.gnu.org.

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

--=20
5582: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D5582
Emacs Bug Tracking System
Contact bug-gnu-emacs@HIDDEN with problems


Message sent to owner <at> debbugs.gnu.org, bug-gnu-emacs@HIDDEN:


X-Loop: bug-gnu-emacs@HIDDEN
Subject: bug#5582: 23.1.92; Unnecessary headings in makefile-mode imenu
Resent-From: Stefan Monnier <monnier@HIDDEN>
Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Resent-To: owner <at> debbugs.gnu.org
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 15 Feb 2010 19:25:01 +0000
Resent-Message-ID: <handler.5582.B5582.126626185626846 <at> debbugs.gnu.org>
Resent-Sender: bug-gnu-emacs@HIDDEN
X-Emacs-PR-Message: followup 5582
X-Emacs-PR-Package: emacs
X-Emacs-PR-Keywords: 
To: Magnus Henoch <magnus.henoch@HIDDEN>
Cc: 5582 <at> debbugs.gnu.org
Received: via spool by 5582-submit <at> debbugs.gnu.org id=B5582.126626185626846
          (code B ref 5582); Mon, 15 Feb 2010 19:25:01 +0000
Received: (at 5582) by debbugs.gnu.org; 15 Feb 2010 19:24:16 +0000
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Nh6YJ-0006yx-Dv
	for submit <at> debbugs.gnu.org; Mon, 15 Feb 2010 14:24:15 -0500
Received: from ironport2-out.teksavvy.com ([206.248.154.181]
	helo=ironport2-out.pppoe.ca)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <monnier@HIDDEN>) id 1Nh6YI-0006yp-CX
	for 5582 <at> debbugs.gnu.org; Mon, 15 Feb 2010 14:24:14 -0500
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AvsEAJYueUtFpY4n/2dsb2JhbACbFXW9I4JSggkEgxSHXw
X-IronPort-AV: E=Sophos;i="4.49,478,1262581200"; d="scan'208";a="56078434"
Received: from 69-165-142-39.dsl.teksavvy.com (HELO pastel.home)
	([69.165.142.39])
	by ironport2-out.pppoe.ca with ESMTP; 15 Feb 2010 14:24:09 -0500
Received: by pastel.home (Postfix, from userid 20848)
	id 4BCF980E3; Mon, 15 Feb 2010 14:24:09 -0500 (EST)
From: Stefan Monnier <monnier@HIDDEN>
Message-ID: <jwvtyti8ftg.fsf-monnier+emacs@HIDDEN>
References: <b28dc2891002150936k5f2c2bd2vb27d2a2a5899f31d@HIDDEN>
Date: Mon, 15 Feb 2010 14:24:09 -0500
In-Reply-To: <b28dc2891002150936k5f2c2bd2vb27d2a2a5899f31d@HIDDEN>
	(Magnus Henoch's message of "Mon, 15 Feb 2010 17:36:22 +0000")
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.92 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Score: -2.2 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.11
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/pipermail/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>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -2.2 (--)

> Severity: wishlist
> In makefile-mode, M-x imenu requires you to specify "Dependencies" or
> "Macro assignments" before you can type the name of the thing you want
> to jump to.  I think that's unnecessary, since having a macro assignment
> with the same name as a dependency is very unusual.  The patch below
> gives you a flat list instead:

> 	* progmodes/make-mode.el (makefile-imenu-generic-expression):
> 	Remove headings, turning the tree of targets into a flat list.

I agree with the goal, but I'm not sure this is the best way to
get there.  IIUC, this is a fairly common situation where there are
several namespaces, hence with potential clashes, but in practice
clashes are rare.  So, I think that the change should be made in imenu
itself to always accept an "unqualified" name and look for it in each of
the sublists.


        Stefan





Last modified: Mon, 25 Nov 2019 12:00:02 UTC

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