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: Mon, 14 Jul 2014 23:47:53 -0400 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1405396091 11597 80.91.229.3 (15 Jul 2014 03:48:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 15 Jul 2014 03:48:11 +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 05:48:03 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 1X6tig-0005xt-Rx for ged-emacs-devel@m.gmane.org; Tue, 15 Jul 2014 05:47:58 +0200 Original-Received: from localhost ([::1]:32881 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X6tig-0007Bs-IP for ged-emacs-devel@m.gmane.org; Mon, 14 Jul 2014 23:47:58 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34009) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X6tid-0007Bn-Jt for emacs-devel@gnu.org; Mon, 14 Jul 2014 23:47:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X6tic-0003h7-DT for emacs-devel@gnu.org; Mon, 14 Jul 2014 23:47:55 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:37581) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X6tic-0003h1-9q for emacs-devel@gnu.org; Mon, 14 Jul 2014 23:47:54 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1X6tib-0005yt-Cp; Mon, 14 Jul 2014 23:47:53 -0400 X-Spook: Vickie Weaver csystems CDMA radar hackers Croatian Becker X-Ran: oAVY90=4pYG%rWx\72|<}@oOIhIlP~z3Z~0mhJb:#|oh.iE;AWV_Sw$B4Q)E#@,Gu}Ckh. X-Hue: white X-Attribution: GM 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:173030 Archived-At: Daniel Colascione wrote: > --- a/lisp/progmodes/cc-defs.el 2014-06-29 11:26:47 +0000 > +++ b/lisp/progmodes/cc-defs.el 2014-07-14 23:58:52 +0000 [...] > @@ -1946,7 +1943,7 @@ > ;; reason, but we also use this expansion handle > ;; `c-lang-defconst-eval-immediately' and to register > ;; dependencies on the `c-lang-const's in VAL.) > - (setq val (cl-macroexpand-all val)) > + (setq val (macroexpand-all val)) > > (setq bindings (cons (cons assigned-mode val) bindings) > args (cdr args)))) Why is this needed, when cc-defs requires cl at compile time, which defines cl-macroexpand-all as an alias for macroexpand-all? It might need backporting to emacs-24 - if so, could you do that please? TIA.