From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.devel Subject: Re: debbugs tracker builds character Date: Sat, 23 Jul 2016 12:18:27 -0400 Message-ID: <87shv0uy3w.fsf@ericabrahamsen.net> References: <87y49vz4cg.fsf@acer.localhost.com> <87twg2g86g.fsf@lifelogs.com> <83eg76n5h5.fsf@gnu.org> <87y45eeoor.fsf@lifelogs.com> <577D42BB.1020500@cs.ucla.edu> <87oa694rfw.fsf@russet.org.uk> <837fcxlbay.fsf@gnu.org> <87lh1d2wg5.fsf@russet.org.uk> <83eg75jk5h.fsf@gnu.org> <87lh1cb6p0.fsf@lifelogs.com> <87oa5sa176.fsf_-_@lifelogs.com> <874m7kmkcm.fsf@gmx.de> <871t2o6t94.fsf@gmx.de> <87wpkf6pup.fsf@lifelogs.com> <87poq6iweb.fsf@ericabrahamsen.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1469290751 22640 80.91.229.3 (23 Jul 2016 16:19:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 23 Jul 2016 16:19:11 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jul 23 18:18:57 2016 Return-path: Envelope-to: ged-emacs-devel@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 1bQzdg-0006Lv-8K for ged-emacs-devel@m.gmane.org; Sat, 23 Jul 2016 18:18:56 +0200 Original-Received: from localhost ([::1]:52920 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bQzdf-0004GI-C5 for ged-emacs-devel@m.gmane.org; Sat, 23 Jul 2016 12:18:55 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36281) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bQzda-0004Fz-4u for emacs-devel@gnu.org; Sat, 23 Jul 2016 12:18:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bQzdV-0002wm-Uq for emacs-devel@gnu.org; Sat, 23 Jul 2016 12:18:49 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:40252) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bQzdV-0002we-OC for emacs-devel@gnu.org; Sat, 23 Jul 2016 12:18:45 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1bQzdP-000676-SP for emacs-devel@gnu.org; Sat, 23 Jul 2016 18:18:40 +0200 Original-Received: from otwaon234vw-lp140-05-1176444371.dsl.bell.ca ([70.31.29.211]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 23 Jul 2016 18:18:39 +0200 Original-Received: from eric by otwaon234vw-lp140-05-1176444371.dsl.bell.ca with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 23 Jul 2016 18:18:39 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 22 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: otwaon234vw-lp140-05-1176444371.dsl.bell.ca User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cancel-Lock: sha1:XDc3ktZ/jkYkoMsSqW9IjCxMZyg= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:206071 Archived-At: Stefan Monnier writes: >> + (when (bound-and-true-p package--initialized) >> + (completing-read "Package: " package-alist)))) > > package-alist may not exist. Wouldn't (mapcar #'symbol-name features) > be preferable? I figured if package--initialized was bound and true, then package-alist should exist. I did this at the package level (rather than the deeper features level) just because it seemed cleaner. Using features, you get all the individual files of multi-file packages, which seems messy (and prone to missing the maintainer). We'd also be offering all the built-in Emacs libraries, for which there's no sensible "maintainer", and could end up cc'ing people who wrote libraries decades ago. That's just what I was thinking at the time, though -- obviously I'd be happy to rework it to use features. Eric