From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.devel Subject: Re: trunk r117534: Unbreak compilation of derived cc-mode modes Date: Tue, 15 Jul 2014 02:00:14 -0400 Message-ID: References: <53C4A871.8030702@dancol.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1405404037 25112 80.91.229.3 (15 Jul 2014 06:00:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 15 Jul 2014 06:00:37 +0000 (UTC) Cc: emacs-devel@gnu.org To: Daniel Colascione Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 15 08:00:28 2014 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 1X6vmr-0002HU-9i for ged-emacs-devel@m.gmane.org; Tue, 15 Jul 2014 08:00:25 +0200 Original-Received: from localhost ([::1]:33132 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X6vmq-00065b-Oz for ged-emacs-devel@m.gmane.org; Tue, 15 Jul 2014 02:00:24 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53450) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X6vmk-00065N-IZ for emacs-devel@gnu.org; Tue, 15 Jul 2014 02:00:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X6vmj-0005yY-Ia for emacs-devel@gnu.org; Tue, 15 Jul 2014 02:00:18 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:47982) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X6vmj-0005yT-Fh for emacs-devel@gnu.org; Tue, 15 Jul 2014 02:00:17 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1X6vmh-0002yc-7w; Tue, 15 Jul 2014 02:00:15 -0400 X-Spook: AVN BRLO Semtex mailbomb fundamentalist Legion of Doom X-Ran: YUFSC.lrHh({HQ"Fv&(PT0!CfYaBP`_-#tjT%`fN1=_|Sbcj"o(,)2o?hs;YN$,xOy/bq) X-Hue: green X-Attribution: GM In-Reply-To: <53C4A871.8030702@dancol.org> (Daniel Colascione's message of "Mon, 14 Jul 2014 21:05:05 -0700") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:173033 Archived-At: Daniel Colascione wrote: >> Why is this needed, when cc-defs requires cl at compile time, >> which defines cl-macroexpand-all as an alias for macroexpand-all? > > I was trying to fix some code that broke when requiring cc-langs and > cc-fonts only. Requiring these features doesn't bring the needed alias, > but apparently used to: > > ELISP> (require 'cc-langs) > cc-langs > ELISP> (require 'cc-fonts) > cc-fonts > ELISP> (featurep 'cl) > nil > > Maybe that's the real bug. Doesn't whether that's "right" or not depend on whether you are loading the compiled or uncompiled versions? cc-mode was certainly not _supposed_ to be loading cl (or cc-langs) at runtime when run compiled, though for a time it did: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17463 I can't say I understand all this cc-mode stuff, but I made the change from cl to cl-lib in emacs-24, so if something needs fixing it probably needs fixing there too.