From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.devel Subject: Re: master 1ca436a: Make compilation mode work with warnings from compiled buffer functions Date: Wed, 28 Nov 2018 22:51:02 -0500 Message-ID: References: <20181128132417.30869.1170@vcs0.savannah.gnu.org> <20181128132418.851A9204F1@vcs0.savannah.gnu.org> <20181128201600.GA5331@ACM> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1543463381 24083 195.159.176.226 (29 Nov 2018 03:49:41 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 29 Nov 2018 03:49:41 +0000 (UTC) User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) Cc: emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 29 04:49:37 2018 Return-path: Envelope-to: ged-emacs-devel@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 1gSDKb-0006Ay-ED for ged-emacs-devel@m.gmane.org; Thu, 29 Nov 2018 04:49:37 +0100 Original-Received: from localhost ([::1]:52095 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gSDMh-0007Zt-LZ for ged-emacs-devel@m.gmane.org; Wed, 28 Nov 2018 22:51:47 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39889) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gSDM2-0007ZZ-9B for emacs-devel@gnu.org; Wed, 28 Nov 2018 22:51:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gSDM1-000575-Hz for emacs-devel@gnu.org; Wed, 28 Nov 2018 22:51:06 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:37202) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gSDLy-00053h-IZ; Wed, 28 Nov 2018 22:51:02 -0500 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1gSDLy-0000kJ-BY; Wed, 28 Nov 2018 22:51:02 -0500 X-Spook: MP5K-SD assassination fraud Disaster management Agfa X-Ran: e!|nfoOx^rW;z"^L%pRuJF (Alan Mackenzie's message of "Wed, 28 Nov 2018 20:16:00 +0000") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e 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:231503 Archived-At: Alan Mackenzie wrote: > The previous version of bytecomp.el used at least one function in > compile.el (namely compilation-mode), suggesting that compile.elc? is > already loaded when bytecomp starts. It only uses compilation-mode in interactive use, but 1ca436a33c loads compile unconditionally. > However, for some fiddly reason a macro in compile.el was no longer > defined, hence the require. Since AFAICS you only need the define-compilation-mode macro, eval-when-compile should solve the slowdown.