From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#20445: excessive redisplay / echo area resizing during byte-compilation Date: Tue, 28 Apr 2015 19:43:03 +0200 Message-ID: <553FC6A7.5070600@gmx.at> References: <7cfv7lxnpr.fsf@fencepost.gnu.org> <553F53FF.4030109@gmx.at> <553F9886.6010207@gmx.at> <83mw1suvkw.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1430243063 13697 80.91.229.3 (28 Apr 2015 17:44:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 28 Apr 2015 17:44:23 +0000 (UTC) Cc: 20445@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Apr 28 19:44:10 2015 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 1Yn9YI-0005dW-9P for geb-bug-gnu-emacs@m.gmane.org; Tue, 28 Apr 2015 19:44:10 +0200 Original-Received: from localhost ([::1]:35254 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yn9YH-0002zG-Ds for geb-bug-gnu-emacs@m.gmane.org; Tue, 28 Apr 2015 13:44:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37215) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yn9YE-0002z8-Ax for bug-gnu-emacs@gnu.org; Tue, 28 Apr 2015 13:44:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yn9YB-0003Sl-3x for bug-gnu-emacs@gnu.org; Tue, 28 Apr 2015 13:44:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53188) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yn9YB-0003Rs-1B for bug-gnu-emacs@gnu.org; Tue, 28 Apr 2015 13:44:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Yn9YA-00006r-Fe for bug-gnu-emacs@gnu.org; Tue, 28 Apr 2015 13:44:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 28 Apr 2015 17:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20445 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20445-submit@debbugs.gnu.org id=B20445.1430242998346 (code B ref 20445); Tue, 28 Apr 2015 17:44:02 +0000 Original-Received: (at 20445) by debbugs.gnu.org; 28 Apr 2015 17:43:18 +0000 Original-Received: from localhost ([127.0.0.1]:42964 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yn9XR-00005W-Bh for submit@debbugs.gnu.org; Tue, 28 Apr 2015 13:43:17 -0400 Original-Received: from mout.gmx.net ([212.227.17.20]:53132) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yn9XO-00005F-2C for 20445@debbugs.gnu.org; Tue, 28 Apr 2015 13:43:14 -0400 Original-Received: from [188.22.36.1] ([188.22.36.1]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0M8mCe-1Yb5lu3QBo-00CDFm; Tue, 28 Apr 2015 19:43:06 +0200 In-Reply-To: <83mw1suvkw.fsf@gnu.org> X-Provags-ID: V03:K0:XiKubSz7qt9C/M6qIblciQU9WVgPizjiDsiZI/Tx3ty7U/SLNVD 07dHKcfcuttGBGDumt0jvxQHnC2ZhB8EuUfrKjCIFywYiEVfHLQBA8byaV0COCuvO8T+jY5 eB+okC2fqwmbADk5Vz2y3y2wx931/lPItYpOLNuKUDvEgPat/VOOoLmIMQCOS9+9OEyzoVy W32E77uL5fZ428Y49bOxQ== X-UI-Out-Filterresults: notjunk:1; X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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:102180 Archived-At: > This effectively disables the log control executed via > byte-compile--interactive. So the question is: how can we solve it > without that adverse effect? To solve the case at hand we could probably get away with something like --- a/lisp/progmodes/elisp-mode.el +++ b/lisp/progmodes/elisp-mode.el @@ -181,7 +181,8 @@ All commands in `lisp-mode-shared-map' are inherited by this map.") "Byte compile the file containing the current buffer." (interactive) (if buffer-file-name - (byte-compile-file buffer-file-name) + (let ((byte-compile--interactive t)) + (byte-compile-file buffer-file-name)) (error "The buffer must be saved in a file first"))) (defun emacs-lisp-byte-compile-and-load () But there might be lots of cases where `byte-compile-file' and friends are called by a command. martin