From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs Subject: bug#8638: 24.0.50; Imenu should not include vacuous defvars Date: Sun, 8 May 2011 13:39:14 -0700 Message-ID: <32CD2BCD32154EF29904F03720801519@us.oracle.com> References: <6A3327809B8B440D99CDCDCED77E9575@us.oracle.com> <567CCE5B717E445496B4F685457F16AB@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1304887211 31726 80.91.229.12 (8 May 2011 20:40:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 8 May 2011 20:40:11 +0000 (UTC) Cc: 8638@debbugs.gnu.org To: "'Juanma Barranquero'" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun May 08 22:40:07 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QJAlr-0002Kr-Cs for geb-bug-gnu-emacs@m.gmane.org; Sun, 08 May 2011 22:40:07 +0200 Original-Received: from localhost ([::1]:37742 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QJAlr-0003gV-04 for geb-bug-gnu-emacs@m.gmane.org; Sun, 08 May 2011 16:40:06 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:55977) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QJAlo-0003fX-8r for bug-gnu-emacs@gnu.org; Sun, 08 May 2011 16:40:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QJAln-0004dd-Cw for bug-gnu-emacs@gnu.org; Sun, 08 May 2011 16:40:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56409) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QJAln-0004dZ-AB for bug-gnu-emacs@gnu.org; Sun, 08 May 2011 16:40:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QJAlm-0007Ml-Hd; Sun, 08 May 2011 16:40:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 08 May 2011 20:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8638 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 8638-submit@debbugs.gnu.org id=B8638.130488717928285 (code B ref 8638); Sun, 08 May 2011 20:40:02 +0000 Original-Received: (at 8638) by debbugs.gnu.org; 8 May 2011 20:39:39 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QJAlP-0007MA-2p for submit@debbugs.gnu.org; Sun, 08 May 2011 16:39:39 -0400 Original-Received: from rcsinet10.oracle.com ([148.87.113.121]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QJAlN-0007Lx-9r for 8638@debbugs.gnu.org; Sun, 08 May 2011 16:39:37 -0400 Original-Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id p48KdTSp005878 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 8 May 2011 20:39:31 GMT Original-Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id p48KdTkL007812 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 8 May 2011 20:39:29 GMT Original-Received: from abhmt015.oracle.com (abhmt015.oracle.com [141.146.116.24]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p48KdNqH006231; Sun, 8 May 2011 15:39:23 -0500 Original-Received: from dradamslap1 (/10.159.41.120) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sun, 08 May 2011 13:39:23 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: AcwNvr/RVcvWjnekQ5qS9UUC+uZ5SwAAMIzw X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6090 X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090205.4DC6FF83.00E9:SCFMA922111,ss=1,fgs=0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sun, 08 May 2011 16:40:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:46338 Archived-At: > > When you follow a Variables menu entry to its code, you=20 > > want to see what the code for the variable is. =A0You do not > > want to see only a vacuous defvar that > > provides no more information than the menu item itself. >=20 > The imenu index is not documentation. It is an index to code. So if > the "vacuous variable" has twenty lines of comment explaining its > purpose and why it does not have or require a docstring or an initial > value, I fully expect imenu to help me get there too, just as if it > were a normal, "full" variable. Your expectations for imenu are just > that, your expectations. I prefer to be the judge of what it is > interesting in the code and what is not, not some imenu filter. >=20 > But that's just my opinion. I'm not going to complain if someone fixes > this bug to your liking. I understand. How would you feel if Imenu included entries for defuns = and defvars that are commented out? Wouldn't you want Imenu to judge that = you are not interested in those? Certainly comments that include defuns and such could be important and interesting to developers. The question is what Imenu should include, = and yes, it is a judgment call based on expectations of what most users will = want/expect.