From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.bugs Subject: bug#8638: 24.0.50; Imenu should not include vacuous defvars Date: Sun, 8 May 2011 22:52:06 +0200 Message-ID: References: <6A3327809B8B440D99CDCDCED77E9575@us.oracle.com> <567CCE5B717E445496B4F685457F16AB@us.oracle.com> <32CD2BCD32154EF29904F03720801519@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1304887995 3211 80.91.229.12 (8 May 2011 20:53:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 8 May 2011 20:53:15 +0000 (UTC) Cc: 8638@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun May 08 22:53:11 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 1QJAyQ-00078b-Gv for geb-bug-gnu-emacs@m.gmane.org; Sun, 08 May 2011 22:53:06 +0200 Original-Received: from localhost ([::1]:48799 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QJAyQ-0005vy-5Z for geb-bug-gnu-emacs@m.gmane.org; Sun, 08 May 2011 16:53:06 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:38128) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QJAyN-0005vt-IW for bug-gnu-emacs@gnu.org; Sun, 08 May 2011 16:53:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QJAyM-0006iE-Ky for bug-gnu-emacs@gnu.org; Sun, 08 May 2011 16:53:03 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:38579) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QJAyM-0006i9-FX for bug-gnu-emacs@gnu.org; Sun, 08 May 2011 16:53:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QJAyL-0008R1-Vs; Sun, 08 May 2011 16:53:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juanma Barranquero 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:53:01 +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.130488797332410 (code B ref 8638); Sun, 08 May 2011 20:53:01 +0000 Original-Received: (at 8638) by debbugs.gnu.org; 8 May 2011 20:52:53 +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 1QJAyD-0008Qh-IN for submit@debbugs.gnu.org; Sun, 08 May 2011 16:52:53 -0400 Original-Received: from mail-gx0-f172.google.com ([209.85.161.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QJAyB-0008QV-QB for 8638@debbugs.gnu.org; Sun, 08 May 2011 16:52:52 -0400 Original-Received: by gxk19 with SMTP id 19so1693904gxk.3 for <8638@debbugs.gnu.org>; Sun, 08 May 2011 13:52:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=EZEa9aPUZTqegC44eeS78GrOU7qPJs0+JiwPopz3zaI=; b=xrPd6MtRFNzGf+Y/d4so9dBsMSwGiMeRU4Mgh2F0IQKZoFlGuc5Guby+bOIFe0AY2R lKcwY36ujiTpbwA+xHD41Ik73jSvjh5kuobxxE2B0FWJrbNLDGYRRyReGPcXX5ToeXsW 2UPk4UaPkt/Qn+9LZeobsFL8b/gKvnU3Rmnwo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=Fvf3UYOiG9QCVk6h1+oE9jEAtu6nsN5PSr1CLDi+OFvlcUFJihIlG0d0F7gil7fB/v LaakD/xj1RY9g4Rhjd//NT99THDXxPnhX03UfM481bYymDOy4oaQOc4wvadwTu/pPPgP TvTJhJFLAFESFiAiFRZqMuQZc5h+ow8JUnLcE= Original-Received: by 10.236.149.41 with SMTP id w29mr6651660yhj.361.1304887966114; Sun, 08 May 2011 13:52:46 -0700 (PDT) Original-Received: by 10.147.182.5 with HTTP; Sun, 8 May 2011 13:52:06 -0700 (PDT) In-Reply-To: <32CD2BCD32154EF29904F03720801519@us.oracle.com> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sun, 08 May 2011 16:53:01 -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:46339 Archived-At: On Sun, May 8, 2011 at 22:39, Drew Adams wrote: > I understand. =C2=A0How would you feel if Imenu included entries for defu= ns and > defvars that are commented out? =C2=A0Wouldn't you want Imenu to judge th= at you are > not interested in those? Well, we're not talking about commented out variables, so the comparison isn't entirely fair. But, to be honest, sometimes I think that entries for commented out defuns and defvars would be useful... :-) > Certainly comments that include defuns and such could be important and > interesting to developers. =C2=A0The question is what Imenu should includ= e, and yes, > it is a judgment call based on expectations of what most users will want/= expect. Not users. Developers. And developers are usually interested in a package's variables. More so in a lexical-binding context, where the fact that the defvar exists can (and does) alter semantics. =C2=A0 =C2=A0 Juanma