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#17832: 24.4.50; `apropos-library' behavior for a top-level library file Date: Mon, 23 Jun 2014 07:39:54 -0700 (PDT) Message-ID: <0ab9c57e-10ea-4c5b-8724-fa05fa5dff35@default> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1403534493 31574 80.91.229.3 (23 Jun 2014 14:41:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 23 Jun 2014 14:41:33 +0000 (UTC) Cc: 17832@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jun 23 16:41:25 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Wz5Qy-0000HL-HG for geb-bug-gnu-emacs@m.gmane.org; Mon, 23 Jun 2014 16:41:24 +0200 Original-Received: from localhost ([::1]:53927 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wz5Qy-0001ID-4H for geb-bug-gnu-emacs@m.gmane.org; Mon, 23 Jun 2014 10:41:24 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48370) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wz5Ql-0001D3-W3 for bug-gnu-emacs@gnu.org; Mon, 23 Jun 2014 10:41:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wz5Qc-0007ED-Dv for bug-gnu-emacs@gnu.org; Mon, 23 Jun 2014 10:41:11 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:38938) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wz5Qc-0007E9-Al for bug-gnu-emacs@gnu.org; Mon, 23 Jun 2014 10:41:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Wz5Qb-00087h-Rt for bug-gnu-emacs@gnu.org; Mon, 23 Jun 2014 10:41:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 23 Jun 2014 14:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17832 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 17832-submit@debbugs.gnu.org id=B17832.140353441931163 (code B ref 17832); Mon, 23 Jun 2014 14:41:01 +0000 Original-Received: (at 17832) by debbugs.gnu.org; 23 Jun 2014 14:40:19 +0000 Original-Received: from localhost ([127.0.0.1]:58321 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wz5Pq-00086P-PI for submit@debbugs.gnu.org; Mon, 23 Jun 2014 10:40:19 -0400 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:43379) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wz5Pg-00085L-RJ for 17832@debbugs.gnu.org; Mon, 23 Jun 2014 10:40:09 -0400 Original-Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id s5NEdwUq031763 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 23 Jun 2014 14:39:59 GMT Original-Received: from userz7022.oracle.com (userz7022.oracle.com [156.151.31.86]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s5NEdvYh004670 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 23 Jun 2014 14:39:58 GMT Original-Received: from abhmp0011.oracle.com (abhmp0011.oracle.com [141.146.116.17]) by userz7022.oracle.com (8.14.5+Sun/8.14.4) with ESMTP id s5NEdtla022158; Mon, 23 Jun 2014 14:39:55 GMT In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6691.5000 (x86)] X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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:90690 Archived-At: > > Rather than just saying that the command is misnamed, or the name is > > misleading, the first part of this bug report is to request that the > > command live up to its name: give you a report of the functions and > > variables defined in the _whole library_, recursively including those > > of its required component libraries. >=20 > Many libraries will then appear to define all the CL macros&functions. > To do a better job, we'd need to distinguish the case where it > "requires" some other library for internal use compared to the case > where it requires a file which is conceptually part of the same library > (just split over several files). Yes. And make the recursive behavior optional. E.g., `C-u' for recursive, and a button in the top-level output that refreshes the output after descending recursively. Additional feature: Since the top-level output lists the required libraries, make each library name a link/button which if followed descends into that library (non-recursively, or recursively with C-u). IOW, let users drill down manually, a level at a time or recursively. (This should be in addition to the possibility of one-fell-swoop recursive descent at the top level.) > The most common case, AFAICT, is the first, so I think in doubt > it's better to assume "requires" aren't really part of the library. Or have an option that lists libraries to exclude, whose default value includes all libraries distributed with Emacs. That gives users reasonable control over the behavior.