From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#22669: loading term/xterm.elc loads cl-lib at runtime Date: Mon, 15 Feb 2016 13:12:25 -0500 Message-ID: References: <83oabiy779.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1455559999 13087 80.91.229.3 (15 Feb 2016 18:13:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 15 Feb 2016 18:13:19 +0000 (UTC) Cc: 22669@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 15 19:13:13 2016 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 1aVNe3-0001P3-I0 for geb-bug-gnu-emacs@m.gmane.org; Mon, 15 Feb 2016 19:13:11 +0100 Original-Received: from localhost ([::1]:34988 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVNe2-0003OW-NK for geb-bug-gnu-emacs@m.gmane.org; Mon, 15 Feb 2016 13:13:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44645) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVNdv-0003IF-Fh for bug-gnu-emacs@gnu.org; Mon, 15 Feb 2016 13:13:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aVNdu-00049u-BP for bug-gnu-emacs@gnu.org; Mon, 15 Feb 2016 13:13:03 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49646) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVNdu-00049g-8H for bug-gnu-emacs@gnu.org; Mon, 15 Feb 2016 13:13:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aVNdu-0006Aw-5E for bug-gnu-emacs@gnu.org; Mon, 15 Feb 2016 13:13:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 15 Feb 2016 18:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22669 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22669-submit@debbugs.gnu.org id=B22669.145555995623691 (code B ref 22669); Mon, 15 Feb 2016 18:13:02 +0000 Original-Received: (at 22669) by debbugs.gnu.org; 15 Feb 2016 18:12:36 +0000 Original-Received: from localhost ([127.0.0.1]:40421 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aVNdU-0006A3-HH for submit@debbugs.gnu.org; Mon, 15 Feb 2016 13:12:36 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:53382) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aVNdS-00069q-Qg for 22669@debbugs.gnu.org; Mon, 15 Feb 2016 13:12:35 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aVNdM-0003ai-RK for 22669@debbugs.gnu.org; Mon, 15 Feb 2016 13:12:29 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:56601) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVNdM-0003aU-Nq for 22669@debbugs.gnu.org; Mon, 15 Feb 2016 13:12:28 -0500 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1aVNdJ-0002lM-QM; Mon, 15 Feb 2016 13:12:26 -0500 X-Spook: Human to Human Computer infrastructure Power lines X-Ran: \|D4/Q"0MQ-N,5*Yq0g.j"-h1!/Gv)}2.)s(vri1k4}lMy?g].4IW2/bE'T`,4ud#+Bz;S X-Hue: blue X-Attribution: GM In-Reply-To: <83oabiy779.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 15 Feb 2016 05:37:46 +0200") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) 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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:113091 Archived-At: Eli Zaretskii wrote: >> Loading term/xterm.elc loads cl-lib at runtime. >> This means that cl-lib is loaded at startup in "emacs -Q -nw", which is >> undesirable. > > Why is that undesirable? > > How is xterm.el different from any other package which requires > cl-lib? This was explained in http://debbugs.gnu.org/22613#45 Because we generally try to ensure that simply running "emacs -Q" doesn't need any non-preloaded files to start up. lisp/term/xterm is something of a corner case. Compare with term/x-win etc, which is preloaded. Also in this particular case, it can create the mistaken impression that cl-lib is always available, which I think leads to some of the ongoing confusion in bug#22613.