From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#24802: emacs -Q -nw loads cl-lib Date: Wed, 26 Oct 2016 21:34:30 +0300 Message-ID: <83twbzt0w9.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1477506938 4173 195.159.176.226 (26 Oct 2016 18:35:38 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 26 Oct 2016 18:35:38 +0000 (UTC) Cc: 24802@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 26 20:35:34 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bzT2h-0006p6-48 for geb-bug-gnu-emacs@m.gmane.org; Wed, 26 Oct 2016 20:35:15 +0200 Original-Received: from localhost ([::1]:36770 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bzT2j-0000SI-Ia for geb-bug-gnu-emacs@m.gmane.org; Wed, 26 Oct 2016 14:35:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50352) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bzT2Y-0000P3-Na for bug-gnu-emacs@gnu.org; Wed, 26 Oct 2016 14:35:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bzT2U-0000dp-Rj for bug-gnu-emacs@gnu.org; Wed, 26 Oct 2016 14:35:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:42464) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1bzT2U-0000dh-Nr for bug-gnu-emacs@gnu.org; Wed, 26 Oct 2016 14:35:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bzT2U-0004wc-J7 for bug-gnu-emacs@gnu.org; Wed, 26 Oct 2016 14:35:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 26 Oct 2016 18:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24802 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24802-submit@debbugs.gnu.org id=B24802.147750688518979 (code B ref 24802); Wed, 26 Oct 2016 18:35:02 +0000 Original-Received: (at 24802) by debbugs.gnu.org; 26 Oct 2016 18:34:45 +0000 Original-Received: from localhost ([127.0.0.1]:57862 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bzT2D-0004w3-7K for submit@debbugs.gnu.org; Wed, 26 Oct 2016 14:34:45 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:59228) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bzT2C-0004vr-6M for 24802@debbugs.gnu.org; Wed, 26 Oct 2016 14:34:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bzT21-0000QP-P8 for 24802@debbugs.gnu.org; Wed, 26 Oct 2016 14:34:39 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:40420) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bzT21-0000QJ-Ll for 24802@debbugs.gnu.org; Wed, 26 Oct 2016 14:34:33 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2559 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bzT20-0004us-Eq; Wed, 26 Oct 2016 14:34:33 -0400 In-reply-to: (message from Glenn Morris on Wed, 26 Oct 2016 12:40:16 -0400) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:125044 Archived-At: > From: Glenn Morris > Date: Wed, 26 Oct 2016 12:40:16 -0400 > > emacs -Q -nw > (featurep 'cl-lib) -> t > > I believe this is because term/xterm.el now requires cl-lib at run-time. > > You might want to consider: > > i) Preload cl-lib - see previous discussions in list archives. > > ii) Make term/*.el subject to same rules as files that are explicitly > listed in loadup.el - ie no requirements beyond those of loadup. But why is it bad that a specific file loaded only by some sessions needs to load cl-lib? Maybe I'm missing something, but I don't see anything wrong here that needs to be fixed. E.g., how is it different from, say, starting to compose email, which then causes message.el to load half a dozen of additional packages?