From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 27 17:31:33 2015 Received: (at submit) by debbugs.gnu.org; 27 Apr 2015 21:31:34 +0000 Received: from localhost ([127.0.0.1]:41638 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ymqcm-0003vh-M9 for submit@debbugs.gnu.org; Mon, 27 Apr 2015 17:31:33 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:47380 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ymqck-0003vZ-Ed for submit@debbugs.gnu.org; Mon, 27 Apr 2015 17:31:31 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Ymqci-0000Fq-Fg; Mon, 27 Apr 2015 17:31:28 -0400 From: Glenn Morris To: submit@debbugs.gnu.org Subject: excessive redisplay / echo area resizing during byte-compilation X-Spook: bullion BATF Al Jazeera George W. Bush blackjack Blowpipe X-Ran: R`tr{!PL]R9Pt0/~3pP@RxJ:\d.RWxeHW!|UaSr5ZE/k[N\;1<\^@K~cYC"Or}sdT4rP%F X-Hue: cyan X-Debbugs-No-Ack: yes X-Attribution: GM Date: Mon, 27 Apr 2015 17:31:28 -0400 Message-ID: <7cfv7lxnpr.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Package: emacs Version: 25.0.50 Current master on RHEL 7.1, Lucid toolkit, without toolkit-scroll-bars. emacs -Q ./lisp/org/org.el menu-bar, emacs-lisp, byte-compile this file During compilation, the display flickers a lot. Especially noticeable in the scroll-bar. The echo area resizes itself a lot up and down rapidly, which is pretty distracting. Does not happen with M-x byte-recompile-file. Does not happen with 24.5, even with the menu-bar. (I have a vague memory something like this happened once before not so long ago.) From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 27 17:32:30 2015 Received: (at control) by debbugs.gnu.org; 27 Apr 2015 21:32:30 +0000 Received: from localhost ([127.0.0.1]:41642 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ymqdh-0003xj-R4 for submit@debbugs.gnu.org; Mon, 27 Apr 2015 17:32:29 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:47399 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ymqdg-0003xc-R1 for control@debbugs.gnu.org; Mon, 27 Apr 2015 17:32:29 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Ymqdg-00011R-IJ for control@debbugs.gnu.org; Mon, 27 Apr 2015 17:32:28 -0400 Date: Mon, 27 Apr 2015 17:32:28 -0400 Message-Id: Subject: control message for bug 19759 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) block 19759 by 20445 From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 27 17:44:24 2015 Received: (at 20445) by debbugs.gnu.org; 27 Apr 2015 21:44:24 +0000 Received: from localhost ([127.0.0.1]:41652 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YmqpD-0004EH-Nj for submit@debbugs.gnu.org; Mon, 27 Apr 2015 17:44:23 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:47666 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YmqpB-0004E8-SI for 20445@debbugs.gnu.org; Mon, 27 Apr 2015 17:44:22 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1YmqpB-0002Sl-59; Mon, 27 Apr 2015 17:44:21 -0400 From: Glenn Morris To: 20445@debbugs.gnu.org Subject: Re: bug#20445: excessive redisplay / echo area resizing during byte-compilation References: <7cfv7lxnpr.fsf@fencepost.gnu.org> X-Spook: afsatcom Fortezza benelux freedom mailbomb CIDA CIA SWAT X-Ran: *hhCUnU|3CEXrX|@%*\q\Vfr+xtTvfEz18S~kB+LMfw+Icx9dw[HNz!oloqTk+vnts_w'h X-Hue: magenta X-Debbugs-No-Ack: yes X-Attribution: GM Date: Mon, 27 Apr 2015 17:44:20 -0400 In-Reply-To: <7cfv7lxnpr.fsf@fencepost.gnu.org> (Glenn Morris's message of "Mon, 27 Apr 2015 17:31:28 -0400") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 20445 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Glenn Morris wrote: > (I have a vague memory something like this happened once before not so > long ago.) I think I was thinking of http://debbugs.gnu.org/16736; but I think this issue is different to that one. From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 28 05:34:05 2015 Received: (at 20445) by debbugs.gnu.org; 28 Apr 2015 09:34:05 +0000 Received: from localhost ([127.0.0.1]:42028 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yn1u0-0002HP-S9 for submit@debbugs.gnu.org; Tue, 28 Apr 2015 05:34:05 -0400 Received: from mout.gmx.net ([212.227.17.21]:60840) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yn1ty-0002Gs-Uc for 20445@debbugs.gnu.org; Tue, 28 Apr 2015 05:34:03 -0400 Received: from [178.190.17.128] ([178.190.17.128]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0LyS5K-1ZP3uH3yH0-015pHZ; Tue, 28 Apr 2015 11:33:56 +0200 Message-ID: <553F53FF.4030109@gmx.at> Date: Tue, 28 Apr 2015 11:33:51 +0200 From: martin rudalics MIME-Version: 1.0 To: Glenn Morris , 20445@debbugs.gnu.org Subject: Re: bug#20445: excessive redisplay / echo area resizing during byte-compilation References: <7cfv7lxnpr.fsf@fencepost.gnu.org> In-Reply-To: <7cfv7lxnpr.fsf@fencepost.gnu.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:Ntgi/JKBfs6yYicsPm0aOcRMHjTJk46Di5hD/eqEI8b3BQM8MC8 Dxd5l8mYBl7l6VeqVZVZMLothhQnz5+eOSz7/IDAM+IYvT6Kc+kkzYBCpM7bShpnMQN+GtM 27b6jqY+1icEJrpdJdYNOwcKBZmYC7HK+G6+LMQ3FEvnri7hdo+sNbVYu2EriMnNEb1ayXv iSiY3T+34olXJo6xrkqkA== X-UI-Out-Filterresults: notjunk:1; X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 20445 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) > Current master on RHEL 7.1, Lucid toolkit, without toolkit-scroll-bars. > > emacs -Q ./lisp/org/org.el > > menu-bar, emacs-lisp, byte-compile this file > > During compilation, the display flickers a lot. > Especially noticeable in the scroll-bar. > The echo area resizes itself a lot up and down rapidly, which is pretty > distracting. What's your value of `resize-mini-windows'? Here it happens only with `resize-mini-windows' set to t. The default 'grow-only doesn't exhibit the problem. martin From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 28 10:26:28 2015 Received: (at 20445) by debbugs.gnu.org; 28 Apr 2015 14:26:28 +0000 Received: from localhost ([127.0.0.1]:42846 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yn6Sy-0002D4-2l for submit@debbugs.gnu.org; Tue, 28 Apr 2015 10:26:28 -0400 Received: from mout.gmx.net ([212.227.15.18]:65068) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yn6Sw-0002Cs-76 for 20445@debbugs.gnu.org; Tue, 28 Apr 2015 10:26:27 -0400 Received: from [178.190.165.68] ([178.190.165.68]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0MQ33z-1Yhrfl1g5z-005LFr; Tue, 28 Apr 2015 16:26:18 +0200 Message-ID: <553F9886.6010207@gmx.at> Date: Tue, 28 Apr 2015 16:26:14 +0200 From: martin rudalics MIME-Version: 1.0 To: Glenn Morris , 20445@debbugs.gnu.org Subject: Re: bug#20445: excessive redisplay / echo area resizing during byte-compilation References: <7cfv7lxnpr.fsf@fencepost.gnu.org> <553F53FF.4030109@gmx.at> In-Reply-To: <553F53FF.4030109@gmx.at> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:61z9Nnfymno4fSIC9DHbuP0MKB9dmlvMyEQwNyxXeAmrfaeT+yK 6rDrtUrgfWAQrAfsPHjVF6PIYVgM+XP2tPQZqk1T+SwYsntdFwBKOquxK+On0G2f4sLR74r UIJwf4WF7HAMMWXOnBLJqIaJgNHWbEroAEkIm4eJnOKB22/U2S6dZ4tmJLjZwmYWyXOZXL/ Wr39P76+u6FZCQPLQNLxA== X-UI-Out-Filterresults: notjunk:1; X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 20445 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) > What's your value of `resize-mini-windows'? Here it happens only with > `resize-mini-windows' set to t. The default 'grow-only doesn't exhibit > the problem. Sorry, I tested with sources from April 12th which don't exhibit this behavior yet. What happens is that the minibuffer is now emptied by this part (unless byte-compile--interactive (message nil)) in `byte-compile--message' which triggers a new resize when displaying the next message. Try with (defun byte-compile--message (format &rest args) "Like `message', except sometimes don't print to minibuffer. If the variable `byte-compile--interactive' is nil, the message is not displayed on the minibuffer." (apply #'message format args)) martin From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 28 11:13:42 2015 Received: (at 20445) by debbugs.gnu.org; 28 Apr 2015 15:13:42 +0000 Received: from localhost ([127.0.0.1]:42916 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yn7Cf-0003OX-8m for submit@debbugs.gnu.org; Tue, 28 Apr 2015 11:13:41 -0400 Received: from mtaout26.012.net.il ([80.179.55.182]:59382) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yn7Cc-0003OG-1O for 20445@debbugs.gnu.org; Tue, 28 Apr 2015 11:13:39 -0400 Received: from conversion-daemon.mtaout26.012.net.il by mtaout26.012.net.il (HyperSendmail v2007.08) id <0NNI00600VP23M00@mtaout26.012.net.il> for 20445@debbugs.gnu.org; Tue, 28 Apr 2015 18:15:08 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout26.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NNI00J3HVP8ENB0@mtaout26.012.net.il>; Tue, 28 Apr 2015 18:15:08 +0300 (IDT) Date: Tue, 28 Apr 2015 18:13:25 +0300 From: Eli Zaretskii Subject: Re: bug#20445: excessive redisplay / echo area resizing during byte-compilation In-reply-to: <7cfv7lxnpr.fsf@fencepost.gnu.org> X-012-Sender: halo1@inter.net.il To: Glenn Morris Message-id: <83sibkuvze.fsf@gnu.org> References: <7cfv7lxnpr.fsf@fencepost.gnu.org> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 20445 Cc: 20445@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > From: Glenn Morris > Date: Mon, 27 Apr 2015 17:31:28 -0400 > > Does not happen with M-x byte-recompile-file. If you invoke byte-compile-file like this: M-: (byte-compile-file "org.el") RET then it flickers exactly like with the menu-bar invocation. Which is expected, since the menu bar invokes emacs-lisp-byte-compile, which does this: (defun emacs-lisp-byte-compile () "Byte compile the file containing the current buffer." (interactive) (if buffer-file-name (byte-compile-file buffer-file-name) (error "The buffer must be saved in a file first"))) The difference between "M-x byte-compile-file" and the invocation via M-: seems to be due to this trick in bytecomp.el: (defun byte-compile--message (format &rest args) "Like `message', except sometimes don't print to minibuffer. If the variable `byte-compile--interactive' is nil, the message is not displayed on the minibuffer." (apply #'message format args) (unless byte-compile--interactive (message nil))) And indeed, if I invoke byte-compile-file like this: M-: (let ((byte-compile--interactive t)) (byte-compile-file "org.el")) RET the flickering goes away. Now to the source of the flickering: it's the resizing of the echo area that causes that. We have this code in echo_area_display: window_height_changed_p = display_echo_area (w); [...] if (window_height_changed_p <<<<<<<<<<<<<<<<<<<<<<<<<<<<<< /* Don't do this if Emacs is shutting down. Redisplay needs to run hooks. */ && !NILP (Vrun_hooks)) { /* Must update other windows. Likewise as in other cases, don't let this update be interrupted by pending input. */ ptrdiff_t count = SPECPDL_INDEX (); specbind (Qredisplay_dont_pause, Qt); windows_or_buffers_changed = 44; <<<<<<<<<<<<<<<<<<<<<< redisplay_internal (); And a non-zero value of windows_or_buffers_changed causes a thorough redisplay, including, for example, the mode lines, the menu bar and the scroll bars. If I set resize-mini-windows to nil, the flickering disappears. I think what causes the frequent resizes of the echo area are those calls to (message nil) in byte-compile--message. Perhaps avoiding that would resolve the issue. Otherwise, I guess I'll have to say that this is the display engine "functioning as designed". > Does not happen with 24.5, even with the menu-bar. The trick with byte-compile--message and byte-compile--interactive is new on master, it didn't exist in Emacs 24. From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 28 11:23:24 2015 Received: (at 20445) by debbugs.gnu.org; 28 Apr 2015 15:23:24 +0000 Received: from localhost ([127.0.0.1]:42920 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yn7M4-0003e3-6u for submit@debbugs.gnu.org; Tue, 28 Apr 2015 11:23:24 -0400 Received: from mtaout28.012.net.il ([80.179.55.184]:37752) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yn7M2-0003dj-Bm for 20445@debbugs.gnu.org; Tue, 28 Apr 2015 11:23:23 -0400 Received: from conversion-daemon.mtaout28.012.net.il by mtaout28.012.net.il (HyperSendmail v2007.08) id <0NNI00700VH6BQ00@mtaout28.012.net.il> for 20445@debbugs.gnu.org; Tue, 28 Apr 2015 18:21:02 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout28.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NNI004HLVZ2LZ40@mtaout28.012.net.il>; Tue, 28 Apr 2015 18:21:02 +0300 (IDT) Date: Tue, 28 Apr 2015 18:22:07 +0300 From: Eli Zaretskii Subject: Re: bug#20445: excessive redisplay / echo area resizing during byte-compilation In-reply-to: <553F9886.6010207@gmx.at> X-012-Sender: halo1@inter.net.il To: martin rudalics Message-id: <83mw1suvkw.fsf@gnu.org> References: <7cfv7lxnpr.fsf@fencepost.gnu.org> <553F53FF.4030109@gmx.at> <553F9886.6010207@gmx.at> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 20445 Cc: 20445@debbugs.gnu.org, rgm@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Tue, 28 Apr 2015 16:26:14 +0200 > From: martin rudalics > > (defun byte-compile--message (format &rest args) > "Like `message', except sometimes don't print to minibuffer. > If the variable `byte-compile--interactive' is nil, the message > is not displayed on the minibuffer." > (apply #'message format args)) This effectively disables the log control executed via byte-compile--interactive. So the question is: how can we solve it without that adverse effect? From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 28 13:43:18 2015 Received: (at 20445) by debbugs.gnu.org; 28 Apr 2015 17:43:18 +0000 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 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 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 Message-ID: <553FC6A7.5070600@gmx.at> Date: Tue, 28 Apr 2015 19:43:03 +0200 From: martin rudalics MIME-Version: 1.0 To: Eli Zaretskii Subject: Re: bug#20445: excessive redisplay / echo area resizing during byte-compilation References: <7cfv7lxnpr.fsf@fencepost.gnu.org> <553F53FF.4030109@gmx.at> <553F9886.6010207@gmx.at> <83mw1suvkw.fsf@gnu.org> In-Reply-To: <83mw1suvkw.fsf@gnu.org> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:XiKubSz7qt9C/M6qIblciQU9WVgPizjiDsiZI/Tx3ty7U/SLNVD 07dHKcfcuttGBGDumt0jvxQHnC2ZhB8EuUfrKjCIFywYiEVfHLQBA8byaV0COCuvO8T+jY5 eB+okC2fqwmbADk5Vz2y3y2wx931/lPItYpOLNuKUDvEgPat/VOOoLmIMQCOS9+9OEyzoVy W32E77uL5fZ428Y49bOxQ== X-UI-Out-Filterresults: notjunk:1; X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 20445 Cc: 20445@debbugs.gnu.org, rgm@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) > 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 From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 28 14:00:56 2015 Received: (at 20445) by debbugs.gnu.org; 28 Apr 2015 18:00:56 +0000 Received: from localhost ([127.0.0.1]:42968 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yn9oV-0000XT-KL for submit@debbugs.gnu.org; Tue, 28 Apr 2015 14:00:56 -0400 Received: from mtaout26.012.net.il ([80.179.55.182]:36799) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yn9oS-0000XD-G6 for 20445@debbugs.gnu.org; Tue, 28 Apr 2015 14:00:53 -0400 Received: from conversion-daemon.mtaout26.012.net.il by mtaout26.012.net.il (HyperSendmail v2007.08) id <0NNJ00G0037CNO00@mtaout26.012.net.il> for 20445@debbugs.gnu.org; Tue, 28 Apr 2015 21:02:16 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout26.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NNJ0082P3FROO80@mtaout26.012.net.il>; Tue, 28 Apr 2015 21:02:16 +0300 (IDT) Date: Tue, 28 Apr 2015 21:00:33 +0300 From: Eli Zaretskii Subject: Re: bug#20445: excessive redisplay / echo area resizing during byte-compilation In-reply-to: <553FC6A7.5070600@gmx.at> X-012-Sender: halo1@inter.net.il To: martin rudalics Message-id: <83bni8uo8u.fsf@gnu.org> References: <7cfv7lxnpr.fsf@fencepost.gnu.org> <553F53FF.4030109@gmx.at> <553F9886.6010207@gmx.at> <83mw1suvkw.fsf@gnu.org> <553FC6A7.5070600@gmx.at> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 20445 Cc: 20445@debbugs.gnu.org, rgm@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Tue, 28 Apr 2015 19:43:03 +0200 > From: martin rudalics > CC: rgm@gnu.org, 20445@debbugs.gnu.org > > - (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"))) Maybe we should introduce an additional value for resize-mini-windows, which will never reset the echo area, even if it becomes empty. Then we could bind resize-mini-windows to that value in emacs-lisp-byte-compile. But I actually am not sure why (message nil) is used as a knob to control whether echo-area messages are or aren't displayed. Can you explain? From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 28 23:21:26 2015 Received: (at 20445) by debbugs.gnu.org; 29 Apr 2015 03:21:27 +0000 Received: from localhost ([127.0.0.1]:55393 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YnIYw-0002Ps-13 for submit@debbugs.gnu.org; Tue, 28 Apr 2015 23:21:26 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:23570) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YnIYs-0002Pd-JS for 20445@debbugs.gnu.org; Tue, 28 Apr 2015 23:21:24 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgUFAGvvdVS4rw4V/2dsb2JhbAA3gVOhb4EIgXYBBVYjEAsOJhIUGA0kqiSLcAIkEjwJAwODPgODcASjY4RY X-IPAS-Result: AgUFAGvvdVS4rw4V/2dsb2JhbAA3gVOhb4EIgXYBBVYjEAsOJhIUGA0kqiSLcAIkEjwJAwODPgODcASjY4RY X-IronPort-AV: E=Sophos;i="5.11,557,1422939600"; d="scan'208";a="117738273" Received: from 184-175-14-21.dsl.teksavvy.com (HELO pastel.home) ([184.175.14.21]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 28 Apr 2015 23:21:16 -0400 Received: by pastel.home (Postfix, from userid 20848) id ADEB04650; Tue, 28 Apr 2015 23:21:16 -0400 (EDT) From: Stefan Monnier To: Artur Malabarba Subject: Re: bug#20445: excessive redisplay / echo area resizing during byte-compilation Message-ID: References: <7cfv7lxnpr.fsf@fencepost.gnu.org> <83sibkuvze.fsf@gnu.org> Date: Tue, 28 Apr 2015 23:21:16 -0400 In-Reply-To: <83sibkuvze.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 28 Apr 2015 18:13:25 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 20445 Cc: 20445@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) > (apply #'message format args) > (unless byte-compile--interactive > (message nil))) This is the problem: in order to "not emit a message" this code emits the message and then immediately hides it by emitting "the empty message" on top of it. Since `message' redisplays right away (rather than waiting for the next "idle" moment to perform redisplay, as is the case for normal buffer changes), this result in a lot of wasted work, and it won't truly do what was intended: - If your machine/display is slow enough, you will see it - If your system "prints" messages by speaking them out loud (e.g. with emacspeak) you will hear them. Why not just do: (when byte-compile--interactive (apply #'message format args)) ? Stefan From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 29 03:11:24 2015 Received: (at 20445) by debbugs.gnu.org; 29 Apr 2015 07:11:24 +0000 Received: from localhost ([127.0.0.1]:55499 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YnM9T-00083D-R1 for submit@debbugs.gnu.org; Wed, 29 Apr 2015 03:11:24 -0400 Received: from mout.gmx.net ([212.227.15.15]:50807) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YnM9R-00082x-8q for 20445@debbugs.gnu.org; Wed, 29 Apr 2015 03:11:22 -0400 Received: from [93.82.73.211] ([93.82.73.211]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0MCLQ1-1YwSy83eq1-0095ax; Wed, 29 Apr 2015 09:11:13 +0200 Message-ID: <5540840D.2010803@gmx.at> Date: Wed, 29 Apr 2015 09:11:09 +0200 From: martin rudalics MIME-Version: 1.0 To: Eli Zaretskii Subject: Re: bug#20445: excessive redisplay / echo area resizing during byte-compilation References: <7cfv7lxnpr.fsf@fencepost.gnu.org> <553F53FF.4030109@gmx.at> <553F9886.6010207@gmx.at> <83mw1suvkw.fsf@gnu.org> <553FC6A7.5070600@gmx.at> <83bni8uo8u.fsf@gnu.org> In-Reply-To: <83bni8uo8u.fsf@gnu.org> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:XlNFnYt016PSoxKvXhOnoX1vj6sS+zu0SNwFRImZFS0yLm+fSgE 7tY0JQIJ4sgJCeYgUYIg+/Q40A/6JzXE5xu0OqdUqRXbxw5ZRVGqlkYlquFGkLcnffm3qZh NRaWu9oMaiT+OoEi+xf/4pQXNVAEbu7PM6A8ZJ+QNCgmbgsQEEJRuAafVoZrlO8UAx4dEig eUOehLA0iv5XQJNT8zMLg== X-UI-Out-Filterresults: notjunk:1; X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 20445 Cc: 20445@debbugs.gnu.org, rgm@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) > But I actually am not sure why (message nil) is used as a knob to > control whether echo-area messages are or aren't displayed. Can you > explain? Maybe (message nil) is supposed to suppress showing the previous message in the echo area (but still keep its log somewhere). If so, the concept fails miserably here. martin From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 29 03:11:48 2015 Received: (at 20445) by debbugs.gnu.org; 29 Apr 2015 07:11:48 +0000 Received: from localhost ([127.0.0.1]:55502 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YnM9r-00083p-Lp for submit@debbugs.gnu.org; Wed, 29 Apr 2015 03:11:47 -0400 Received: from mout.gmx.net ([212.227.15.18]:63073) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YnM9q-00083a-8O for 20445@debbugs.gnu.org; Wed, 29 Apr 2015 03:11:46 -0400 Received: from [93.82.73.211] ([93.82.73.211]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0MKHtm-1Yp0Jg01bC-001mQl; Wed, 29 Apr 2015 09:11:38 +0200 Message-ID: <55408425.5020409@gmx.at> Date: Wed, 29 Apr 2015 09:11:33 +0200 From: martin rudalics MIME-Version: 1.0 To: Stefan Monnier , Artur Malabarba Subject: Re: bug#20445: excessive redisplay / echo area resizing during byte-compilation References: <7cfv7lxnpr.fsf@fencepost.gnu.org> <83sibkuvze.fsf@gnu.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:KBGj6BVQYY8UGiljW9rJNoWUWl8EvoxpknYOBZTy61lco9UU+IB Ga1KRWty7M9MJnPwXQllg150UDWiOO5O6liCD+neO+f7kJ70sDLj12bGOqxuWgdsQ2ty8Jz u39GKpbzI4HHvtB3aunVjL5Ly1wvGBRlOT5a1a+52q8xskPNls2Lk82ClFoJlOZn/bRTHaO STZdYrPRcQVUvmWI2N6Og== X-UI-Out-Filterresults: notjunk:1; X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 20445 Cc: 20445@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) > This is the problem: in order to "not emit a message" this code emits > the message and then immediately hides it by emitting "the empty > message" on top of it. > > Since `message' redisplays right away (rather than waiting for the next > "idle" moment to perform redisplay, as is the case for normal buffer > changes), this result in a lot of wasted work, and it won't truly do > what was intended: > - If your machine/display is slow enough, you will see it > - If your system "prints" messages by speaking them out loud (e.g. with > emacspeak) you will hear them. > > Why not just do: > > (when byte-compile--interactive > (apply #'message format args)) > > ? But if there are no errors this would not display a message at all with Glenn's scenario. IMHO `byte-compile--interactive' puts the cart before the horse. Rather, displaying messages should be the default and the caller should be able to suppress them via a `byte-compile--no-message' variable or something the like. So I'd instead use (unless byte-compile--no-message (apply #'message format args))) martin From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 29 03:37:10 2015 Received: (at 20445) by debbugs.gnu.org; 29 Apr 2015 07:37:10 +0000 Received: from localhost ([127.0.0.1]:55554 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YnMYQ-0001kG-B7 for submit@debbugs.gnu.org; Wed, 29 Apr 2015 03:37:10 -0400 Received: from mail-lb0-f174.google.com ([209.85.217.174]:34591) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YnMYP-0001k4-2o for 20445@debbugs.gnu.org; Wed, 29 Apr 2015 03:37:09 -0400 Received: by lbcga7 with SMTP id ga7so13826081lbc.1 for <20445@debbugs.gnu.org>; Wed, 29 Apr 2015 00:37:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=KvZq9oF/0X78gTV5MDSg4wPs+HlwhBC/qGojPkWX/ko=; b=s/h6sN6NutkB7MsQZ6taUgXCPI0BANVbULg6WftS+husWJHF2LFSb/ajNUYEZ/1kwR 23qGZfkCAyJ5UQfX8/GlPR3qO0f5EV9EkMB1S6Wk1xhddTHCLt/TXgIYo4iA47ljyLiy I2Lcl62nu5QiSjpcjLRvRz7p6lk2EC+cpAoJLae/y+c6yXR6YUuQ7Mml77usDciss3E6 tIaQc3mG/TxqJUzP7Q2gvWeeyaI23EpS1kjHiplvEMaZkVXQc1AFGEPzjCs8BEB8Qv6o GU/39vZMJTY6XaUP3yk/iw+kFicC7r2QUc6VoGWOsDRZ5pNsc2NhIlgYGh7ySiugZtbO gsAQ== MIME-Version: 1.0 X-Received: by 10.112.222.133 with SMTP id qm5mr17857773lbc.86.1430293023088; Wed, 29 Apr 2015 00:37:03 -0700 (PDT) Received: by 10.25.150.1 with HTTP; Wed, 29 Apr 2015 00:37:03 -0700 (PDT) Received: by 10.25.150.1 with HTTP; Wed, 29 Apr 2015 00:37:03 -0700 (PDT) In-Reply-To: References: <7cfv7lxnpr.fsf@fencepost.gnu.org> <83sibkuvze.fsf@gnu.org> Date: Wed, 29 Apr 2015 08:37:03 +0100 X-Google-Sender-Auth: FWnfbAFr1lxVN6vfNz9wVAkHFys Message-ID: Subject: Re: bug#20445: excessive redisplay / echo area resizing during byte-compilation From: Artur Malabarba To: Stefan Monnier Content-Type: multipart/alternative; boundary=001a11346db090e7aa0514d80b13 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 20445 Cc: 20445@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: bruce.connor.am@gmail.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --001a11346db090e7aa0514d80b13 Content-Type: text/plain; charset=UTF-8 > > (apply #'message format args) > > (unless byte-compile--interactive > > (message nil))) > > This is the problem: in order to "not emit a message" this code emits > the message and then immediately hides it by emitting "the empty > message" on top of it. > > Why not just do: > > (when byte-compile--interactive > (apply #'message format args)) Don't we have a new inhibit-messages variable? Why not use it? (let ((inhibit-messages (not byte-compile--interactive))) (apply #'message format args)) --001a11346db090e7aa0514d80b13 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

> >=C2=A0 =C2=A0 =C2=A0(apply #'message format arg= s)
> >=C2=A0 =C2=A0 =C2=A0(unless byte-compile--interactive
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0(message nil)))
>
> This is the problem: in order to "not emit a message" this c= ode emits
> the message and then immediately hides it by emitting "the empty<= br> > message" on top of it.
>
> Why not just do:
>
> =C2=A0 =C2=A0 =C2=A0(when byte-compile--interactive
> =C2=A0 =C2=A0 =C2=A0 =C2=A0(apply #'message format args))

Don't we have a new inhibit-messages variable? Why not u= se it?

(let ((inhibit-messages (not byte-compile--interactive))) =C2=A0 (apply #'message format args))

--001a11346db090e7aa0514d80b13-- From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 29 04:56:18 2015 Received: (at 20445) by debbugs.gnu.org; 29 Apr 2015 08:56:18 +0000 Received: from localhost ([127.0.0.1]:55574 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YnNmz-0003aY-E2 for submit@debbugs.gnu.org; Wed, 29 Apr 2015 04:56:17 -0400 Received: from mail-la0-f51.google.com ([209.85.215.51]:32959) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YnNmw-0003aK-Uu for 20445@debbugs.gnu.org; Wed, 29 Apr 2015 04:56:15 -0400 Received: by layy10 with SMTP id y10so15005270lay.0 for <20445@debbugs.gnu.org>; Wed, 29 Apr 2015 01:56:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=K4pBYEqIvfdL1yNnahkOVhDjAVWRY34Vu03QGfKbOXw=; b=qtbsLUJpJ3EMLDU+3fVuASC2BH11aMuB2EwGXnuaEjvGyUY97jqQD7a3xVrHuF1a/c AAY2ta8RaJR708uEHwXphxv/7VDpEx1g05ANLMHQeo8PDCCu0jURKZUBW12tZrM9JTZD CnaW+J+bQUfTPOcV6Nd0A4DlophG7A6LFcA53IAczQIcBIiKM5xD2+Za/jSOlXTkP9PW 2iV7Q/mlIfT5PZ0BEomCBts4B4ecs9JHhoidUsqwtmZE2c2DlOZou5Pg+I4PhfKLQH6T 37/qMoPCdK3/a+oL41TjnBduHZ3Uh2fprMWqfLXHl06In9+ijmIOtmPF97GySigV02Ff CsYg== MIME-Version: 1.0 X-Received: by 10.152.203.233 with SMTP id kt9mr14204890lac.21.1430297769120; Wed, 29 Apr 2015 01:56:09 -0700 (PDT) Received: by 10.25.150.1 with HTTP; Wed, 29 Apr 2015 01:56:09 -0700 (PDT) In-Reply-To: <55408425.5020409@gmx.at> References: <7cfv7lxnpr.fsf@fencepost.gnu.org> <83sibkuvze.fsf@gnu.org> <55408425.5020409@gmx.at> Date: Wed, 29 Apr 2015 09:56:09 +0100 X-Google-Sender-Auth: n3kof9u97c3YPPh1vt1CS0lllxM Message-ID: Subject: Re: bug#20445: excessive redisplay / echo area resizing during byte-compilation From: Artur Malabarba To: martin rudalics Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 20445 Cc: 20445 <20445@debbugs.gnu.org>, Stefan Monnier X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: bruce.connor.am@gmail.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) 2015-04-29 8:11 GMT+01:00 martin rudalics : >> This is the problem: in order to "not emit a message" this code emits >> the message and then immediately hides it by emitting "the empty >> message" on top of it. >> >> Since `message' redisplays right away (rather than waiting for the next >> "idle" moment to perform redisplay, as is the case for normal buffer >> changes), this result in a lot of wasted work, and it won't truly do >> what was intended: >> - If your machine/display is slow enough, you will see it >> - If your system "prints" messages by speaking them out loud (e.g. with >> emacspeak) you will hear them. >> >> Why not just do: >> >> (when byte-compile--interactive >> (apply #'message format args)) >> >> ? > > But if there are no errors this would not display a message at all with > Glenn's scenario. IMHO `byte-compile--interactive' puts the cart before > the horse. Rather, displaying messages should be the default and the > caller should be able to suppress them via a `byte-compile--no-message' > variable or something the like. So I'd instead use > > (unless byte-compile--no-message > (apply #'message format args))) I just changed the current version to use `inhibit-messages' (sorry, forgot to reference the bug in it). I implemented `byte-compile--message' the way that made more sense to me, but I'm perfectly fine with your suggestion as well. Whatever we end up doing to it, please use `(let ((inhibit-messages byte-compile--no-message) ...)' instead of `(unless byte-compile--no-message ...)', as that will still log the messages somwhere. From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 29 04:58:27 2015 Received: (at 20445) by debbugs.gnu.org; 29 Apr 2015 08:58:28 +0000 Received: from localhost ([127.0.0.1]:55578 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YnNp5-0003dt-54 for submit@debbugs.gnu.org; Wed, 29 Apr 2015 04:58:27 -0400 Received: from mail-la0-f46.google.com ([209.85.215.46]:34040) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YnNp3-0003dg-3Z for 20445@debbugs.gnu.org; Wed, 29 Apr 2015 04:58:25 -0400 Received: by laat2 with SMTP id t2so14990025laa.1 for <20445@debbugs.gnu.org>; Wed, 29 Apr 2015 01:58:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=yhlrQtnTwYYex2LZKcDHJZUDKeKYihdO55Q40rYWno4=; b=KwWpTU4xSHvv0mwijgKhzVZeJgJcffzh5Cfe1O/2E9iyHhj3duh16yiGIBQCLBE+ZX m4OIfwXlDGC9/fGN8fI+AWpCEnGdWpY7aR3ENeofRoKpFtQJZf8H7Gh9oFXz17rJ4QBA EMzf6dtkeAM90MExfvkX91oMydgUZr+4wdAPLCvgYsQtQOcz30fnt0x3QhCGKtd6+cgJ hvphi8eNVRAHSRIBmLvQm1O02ZQHMcId1lIGu4D2/iVIBYkt/C75Uzs9dTjM/7WwlVDr GxjrebrRzlyB0fKVChYXRzUOYEl0P+vAz+Rwij37YQU/Gzo2+i8dvMrPEp+zBBaKYTuN 2yfA== MIME-Version: 1.0 X-Received: by 10.112.200.230 with SMTP id jv6mr18082557lbc.21.1430297899128; Wed, 29 Apr 2015 01:58:19 -0700 (PDT) Received: by 10.25.150.1 with HTTP; Wed, 29 Apr 2015 01:58:19 -0700 (PDT) In-Reply-To: References: <7cfv7lxnpr.fsf@fencepost.gnu.org> <83sibkuvze.fsf@gnu.org> <55408425.5020409@gmx.at> Date: Wed, 29 Apr 2015 09:58:19 +0100 X-Google-Sender-Auth: wuSu2DFt5E1U7msEzJtziOAHOPM Message-ID: Subject: Re: bug#20445: excessive redisplay / echo area resizing during byte-compilation From: Artur Malabarba To: martin rudalics Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 20445 Cc: 20445 <20445@debbugs.gnu.org>, Stefan Monnier X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: bruce.connor.am@gmail.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Actually, if we're going to make it so that the caller needs to explicitly silence the compiler, then we might as well just revert to the old behavior (no silencing) and let the caller use `inhibit-messages' himself instead of defining a new bytecomp-specific variable. From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 29 11:53:33 2015 Received: (at 20445) by debbugs.gnu.org; 29 Apr 2015 15:53:33 +0000 Received: from localhost ([127.0.0.1]:56559 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YnUIn-0008RB-2U for submit@debbugs.gnu.org; Wed, 29 Apr 2015 11:53:33 -0400 Received: from mtaout27.012.net.il ([80.179.55.183]:55937) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YnUIl-0008Qx-Be for 20445@debbugs.gnu.org; Wed, 29 Apr 2015 11:53:31 -0400 Received: from conversion-daemon.mtaout27.012.net.il by mtaout27.012.net.il (HyperSendmail v2007.08) id <0NNK00900RW01Y00@mtaout27.012.net.il> for 20445@debbugs.gnu.org; Wed, 29 Apr 2015 18:48:31 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout27.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NNK0005MRWVO980@mtaout27.012.net.il>; Wed, 29 Apr 2015 18:48:31 +0300 (IDT) Date: Wed, 29 Apr 2015 18:53:22 +0300 From: Eli Zaretskii Subject: Re: bug#20445: excessive redisplay / echo area resizing during byte-compilation In-reply-to: X-012-Sender: halo1@inter.net.il To: Stefan Monnier Message-id: <83r3r3szgt.fsf@gnu.org> References: <7cfv7lxnpr.fsf@fencepost.gnu.org> <83sibkuvze.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 20445 Cc: 20445@debbugs.gnu.org, bruce.connor.am@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > From: Stefan Monnier > Date: Tue, 28 Apr 2015 23:21:16 -0400 > Cc: 20445@debbugs.gnu.org > > Why not just do: > > (when byte-compile--interactive > (apply #'message format args)) This stops the flickering, but doesn't show any echo-area messages at all. Is that the intent? Also, there's a related issue: why should "M-x byte-compile-file RET" behave differently than "M-x emacs-lisp-byte-compile RET" wrt to messages displayed in the echo area? From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 29 14:35:42 2015 Received: (at 20445) by debbugs.gnu.org; 29 Apr 2015 18:35:42 +0000 Received: from localhost ([127.0.0.1]:56689 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YnWpi-0006xb-4P for submit@debbugs.gnu.org; Wed, 29 Apr 2015 14:35:42 -0400 Received: from mail-la0-f43.google.com ([209.85.215.43]:36122) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YnWpf-0006xC-9r for 20445@debbugs.gnu.org; Wed, 29 Apr 2015 14:35:40 -0400 Received: by lagv1 with SMTP id v1so26878717lag.3 for <20445@debbugs.gnu.org>; Wed, 29 Apr 2015 11:35:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=xTBoTnF5/7ct9AQkE15tqgMe2r2hGDSCJKc6R53bsAM=; b=RjCvuKJWL3+jRrYKzSIwLsIebTt7B8yKTaIyIpl1pJJl1/kd36RzoTQ4uLB9Zznvkx 2OXLoDB6co6JXwYNF/Pw8shUbPQK2GWj8R1R6OcYvEZIYq5X4SyQY3Nql2gC8ztWFmlv GNvzhNrIQx6PgpNfbymZSI6jpq6ZSOr/q+scbv4JQa+h4WU4L0lrN3GGPAAGxMDqBBqb 6ZXpgqH1lghNKIVrHSL/nLUtsUwvPIbAaBkE23/vHOEK9VWmZNGvy5IUCSwemgJSOY+V 5XHBRciHTJV407JkF59zRUW56Zxua/eA4FwFxvCgawh3gjnX8aVLgdCkgwST3/tvm7Ki HyeA== MIME-Version: 1.0 X-Received: by 10.153.8.167 with SMTP id dl7mr382000lad.86.1430332533122; Wed, 29 Apr 2015 11:35:33 -0700 (PDT) Received: by 10.25.150.1 with HTTP; Wed, 29 Apr 2015 11:35:33 -0700 (PDT) In-Reply-To: <83r3r3szgt.fsf@gnu.org> References: <7cfv7lxnpr.fsf@fencepost.gnu.org> <83sibkuvze.fsf@gnu.org> <83r3r3szgt.fsf@gnu.org> Date: Wed, 29 Apr 2015 19:35:33 +0100 X-Google-Sender-Auth: ua1Euz81iRvpcCNZiuHl5ezUR_k Message-ID: Subject: Re: bug#20445: excessive redisplay / echo area resizing during byte-compilation From: Artur Malabarba To: Eli Zaretskii Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 20445 Cc: 20445@debbugs.gnu.org, Stefan Monnier X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: bruce.connor.am@gmail.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) I can revert that commit completely if people prefer. Then everything should go back to what it was (and package.el will still be able to silence the compiler on its own). I'm all for negative coding, and I no longer think there's any use in having a specific variable just to silence the byte-compiler. From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 29 14:53:04 2015 Received: (at 20445) by debbugs.gnu.org; 29 Apr 2015 18:53:04 +0000 Received: from localhost ([127.0.0.1]:56696 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YnX6V-0007M8-QD for submit@debbugs.gnu.org; Wed, 29 Apr 2015 14:53:04 -0400 Received: from mail-la0-f52.google.com ([209.85.215.52]:33370) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YnX6T-0007Lf-U7 for 20445@debbugs.gnu.org; Wed, 29 Apr 2015 14:53:02 -0400 Received: by layy10 with SMTP id y10so27331669lay.0 for <20445@debbugs.gnu.org>; Wed, 29 Apr 2015 11:52:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=CCkPSFtWEYAzLo6Z4QqxmxXsRlJNjvURwKUxuqDgENg=; b=uybMvkvMUpyEg7ptV10uKNBMT2SSo2NhdJREAvErEOVLfwROLyBNC9ItpFOl3w+qyp PWl6UJYQ1rsDgUQso/IZgWAiiqm12loVK6QsQMGjVvsEUxzvwf7lSach+rMKFoI5e4+v pxnuoldk8YH4G6J5vCwSC2SZMdz8n/OibxHui4iJ1FseXaeM76AYh4lRsp+9V4eWkcii /5A/JaQ281mA1uMrriHjHkiJHQa/4LB5EUKkzAvxtXrr8vsdYtTcUNGSop7e7lbzzZcq SYWV4zZ1mJC3AKufmBHLGUiIpIUiPenpPyBxTiQutb/O9aU6UltWOQeO2bdaBijS+O5/ pxaw== MIME-Version: 1.0 X-Received: by 10.112.29.180 with SMTP id l20mr373582lbh.95.1430333575906; Wed, 29 Apr 2015 11:52:55 -0700 (PDT) Received: by 10.25.150.1 with HTTP; Wed, 29 Apr 2015 11:52:55 -0700 (PDT) In-Reply-To: References: <7cfv7lxnpr.fsf@fencepost.gnu.org> <83sibkuvze.fsf@gnu.org> <83r3r3szgt.fsf@gnu.org> Date: Wed, 29 Apr 2015 19:52:55 +0100 X-Google-Sender-Auth: NNpuHhmqnpjAgo3UBHbGBkOeogg Message-ID: Subject: Re: bug#20445: excessive redisplay / echo area resizing during byte-compilation From: Artur Malabarba To: Eli Zaretskii Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 20445 Cc: 20445 <20445@debbugs.gnu.org>, Stefan Monnier X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: bruce.connor.am@gmail.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On the oher hand, it would be nice to have a way of preventing the compilation buffer from popping up. 2015-04-29 19:35 GMT+01:00 Artur Malabarba : > I can revert that commit completely if people prefer. Then everything > should go back to what it was (and package.el will still be able to > silence the compiler on its own). > > I'm all for negative coding, and I no longer think there's any use in > having a specific variable just to silence the byte-compiler. From debbugs-submit-bounces@debbugs.gnu.org Fri May 01 06:42:05 2015 Received: (at 20445) by debbugs.gnu.org; 1 May 2015 10:42:06 +0000 Received: from localhost ([127.0.0.1]:58125 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yo8OT-000607-CS for submit@debbugs.gnu.org; Fri, 01 May 2015 06:42:05 -0400 Received: from mout.gmx.net ([212.227.15.19]:56997) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yo8OR-0005zN-2A for 20445@debbugs.gnu.org; Fri, 01 May 2015 06:42:03 -0400 Received: from [88.117.112.225] ([88.117.112.225]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0MRoyH-1YhDY40KPB-00Swvf; Fri, 01 May 2015 12:41:57 +0200 Message-ID: <5543586F.5010606@gmx.at> Date: Fri, 01 May 2015 12:41:51 +0200 From: martin rudalics MIME-Version: 1.0 To: bruce.connor.am@gmail.com, Eli Zaretskii Subject: Re: bug#20445: excessive redisplay / echo area resizing during byte-compilation References: <7cfv7lxnpr.fsf@fencepost.gnu.org> <83sibkuvze.fsf@gnu.org> <83r3r3szgt.fsf@gnu.org> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:WN48+MTN2w/IvPKxUtqJstZy0t0KftvPMIhmEmkv7E3uc3chHBj uph2Tp7yygREpLVfXO6QKWjhhzdQV44yXhDq6iekFuVdBSqhQgehIMEcHZCr9ohpmza2dk8 WqiZDADXjTbGi43VCKfu1BQmmXOUNv9Ip39GzzD7s6LuNndbFBoLYUPso18FPzg0tieCEjJ hTrKhY1BclfPjC3/AY2Pw== X-UI-Out-Filterresults: notjunk:1; X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 20445 Cc: 20445@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) > I can revert that commit completely if people prefer. Then everything > should go back to what it was (and package.el will still be able to > silence the compiler on its own). I think this would be better, yes. martin From debbugs-submit-bounces@debbugs.gnu.org Fri May 01 06:42:13 2015 Received: (at 20445) by debbugs.gnu.org; 1 May 2015 10:42:13 +0000 Received: from localhost ([127.0.0.1]:58128 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yo8Oa-00060R-To for submit@debbugs.gnu.org; Fri, 01 May 2015 06:42:13 -0400 Received: from mout.gmx.net ([212.227.15.18]:52189) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yo8OZ-00060D-9z for 20445@debbugs.gnu.org; Fri, 01 May 2015 06:42:11 -0400 Received: from [88.117.112.225] ([88.117.112.225]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0MOf5S-1Yt4bU270A-0065fe; Fri, 01 May 2015 12:42:02 +0200 Message-ID: <55435874.4080806@gmx.at> Date: Fri, 01 May 2015 12:41:56 +0200 From: martin rudalics MIME-Version: 1.0 To: bruce.connor.am@gmail.com, Eli Zaretskii Subject: Re: bug#20445: excessive redisplay / echo area resizing during byte-compilation References: <7cfv7lxnpr.fsf@fencepost.gnu.org> <83sibkuvze.fsf@gnu.org> <83r3r3szgt.fsf@gnu.org> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:Lzf8erEULZjQQz99L4S7z/doXx6549M5MtLzNo2l9Q9XXQie6d4 IMfjyoRhUxMwOjCj3/YycccfwJgZk5tHDGKBEsI/WadqMMlUL5+dlBt4zy45+iSf5F7p5T9 qACz8fh9WU0jqmR8VGcZLuKRtcKKrS2OiuNpzlHoRGY6Imm1wchR/V4DUH3PyQblqiNd3xC jGaV1jQnNPJ0Stn4+VZ3g== X-UI-Out-Filterresults: notjunk:1; X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 20445 Cc: 20445 <20445@debbugs.gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) > On the oher hand, it would be nice to have a way of preventing the > compilation buffer from popping up. Why? martin From debbugs-submit-bounces@debbugs.gnu.org Fri May 01 08:20:42 2015 Received: (at 20445) by debbugs.gnu.org; 1 May 2015 12:20:42 +0000 Received: from localhost ([127.0.0.1]:58188 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yo9vs-0001Ty-NL for submit@debbugs.gnu.org; Fri, 01 May 2015 08:20:41 -0400 Received: from mail-lb0-f178.google.com ([209.85.217.178]:35452) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yo9vq-0001Tk-BW for 20445@debbugs.gnu.org; Fri, 01 May 2015 08:20:39 -0400 Received: by lbbuc2 with SMTP id uc2so63746847lbb.2 for <20445@debbugs.gnu.org>; Fri, 01 May 2015 05:20:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=UFhMXFi7glMMSXtggdxfSkrbwlxK3eRV6HrXEMtI/zc=; b=clYIgh95UiXi3t6fYmQIqP6jWIFLbP4arAU40XEb5NhzIcTECYdqWnVoqmgjbkQ/xg YxIgpkqUHqz7TI5DU5v0XbWQvT5x6HLdLxRZoCffkBGGQzqnwn6PEwhmEMSg85Zt7T2x YQ1ieMa+1cSaIUSDo4gXFAaGxWSwzA8NOzUivNcc/l/59Sskdrr7kIqRXcs3sCpqbI7h mmSWrthG4kIaErgjKYfhrOV++UPZvS6NQYBpVyY/Z6+Bfe1L/4feEyOrfqWvrCQTpMN6 z2wcRQO6FQNTVrdgwjN0RNrIux7U2mNABxN0XpnVGAqgxteSeuKlEmqcphqpUo9k/kVE 7IPg== MIME-Version: 1.0 X-Received: by 10.112.125.138 with SMTP id mq10mr8154425lbb.35.1430482832375; Fri, 01 May 2015 05:20:32 -0700 (PDT) Received: by 10.25.150.1 with HTTP; Fri, 1 May 2015 05:20:32 -0700 (PDT) In-Reply-To: <55435874.4080806@gmx.at> References: <7cfv7lxnpr.fsf@fencepost.gnu.org> <83sibkuvze.fsf@gnu.org> <83r3r3szgt.fsf@gnu.org> <55435874.4080806@gmx.at> Date: Fri, 1 May 2015 13:20:32 +0100 X-Google-Sender-Auth: KTvxcvvFSfTCcyTn9ec0Co2Dc6U Message-ID: Subject: Re: bug#20445: excessive redisplay / echo area resizing during byte-compilation From: Artur Malabarba To: martin rudalics Content-Type: multipart/alternative; boundary=089e0115fe7c14c82d0515043dab X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 20445 Cc: 20445 <20445@debbugs.gnu.org>, Eli Zaretskii X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: bruce.connor.am@gmail.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --089e0115fe7c14c82d0515043dab Content-Type: text/plain; charset=UTF-8 On May 1, 2015 11:41 AM, "martin rudalics" wrote: > > > On the oher hand, it would be nice to have a way of preventing the > > compilation buffer from popping up. > > Why? Because package.el does the compilation on the user's computer, not the developer's. It would be nice to not bother the user with warnings that are not his fault. All it would take is a global var to prevent the compilation window popping up. (maybe this exists already and I don't know). The buffer can still be created, and it can still pop-up if there's an error, but if all we have are warnings we shouldn't be throwing them at the face of a user who's just trying to install a package. --089e0115fe7c14c82d0515043dab Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

On May 1, 2015 11:41 AM, "martin rudal= ics" <rudalics= @gmx.at> wrote:
>
> > On the oher hand, it would be nice to have a way of preventing th= e
> > compilation buffer from popping up.
>
> Why?

Because package.el does the compilation on the user's co= mputer, not the developer's.=C2=A0

It would be nice t= o not bother the user with warnings that are not his fault. All it would ta= ke is a global var to prevent the compilation window popping up. (maybe thi= s exists already and I don't know). The buffer can still be created, an= d it can still pop-up if there's an error, but if all we have are warni= ngs we shouldn't be throwing them at the face of a user who's just = trying to install a package.

--089e0115fe7c14c82d0515043dab-- From debbugs-submit-bounces@debbugs.gnu.org Fri May 01 09:46:01 2015 Received: (at 20445) by debbugs.gnu.org; 1 May 2015 13:46:01 +0000 Received: from localhost ([127.0.0.1]:58205 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YoBGS-0003Zw-Dw for submit@debbugs.gnu.org; Fri, 01 May 2015 09:46:00 -0400 Received: from mout.gmx.net ([212.227.15.18]:62585) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YoBGQ-0003Zh-DH for 20445@debbugs.gnu.org; Fri, 01 May 2015 09:45:59 -0400 Received: from [194.166.87.31] ([194.166.87.31]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0MXZ4Q-1YkSCG03MM-00WXjR; Fri, 01 May 2015 15:45:50 +0200 Message-ID: <55438386.9070302@gmx.at> Date: Fri, 01 May 2015 15:45:42 +0200 From: martin rudalics MIME-Version: 1.0 To: bruce.connor.am@gmail.com Subject: Re: bug#20445: excessive redisplay / echo area resizing during byte-compilation References: <7cfv7lxnpr.fsf@fencepost.gnu.org> <83sibkuvze.fsf@gnu.org> <83r3r3szgt.fsf@gnu.org> <55435874.4080806@gmx.at> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:xWn4RCkhjam6wfeqKkeqNcvtRzxHCNec38+fXvb+mNfS9YFj8Du wTG9iEqCbZURncrBoue7b1xpsuFGIMGFp1ZwVhl6FAhQI3HABNbVMqwGrwnexoWBvUY4HNC s/2VmVYUG5c6Y/wKmVHW71Ra+j9ACieklHLXzt73MESyKlAlTJRDSyGeu8OzLqXLlg+LQVi ivWgR5RKaGapiWNDR7u2Q== X-UI-Out-Filterresults: notjunk:1; X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 20445 Cc: 20445 <20445@debbugs.gnu.org>, Eli Zaretskii X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) > It would be nice to not bother the user with warnings that are not his > fault. All it would take is a global var to prevent the compilation window > popping up. (maybe this exists already and I don't know). Where and how does the compilation window get popped up? If it's via `display-buffer' we could try using an allow-no-window alist entry. martin From debbugs-submit-bounces@debbugs.gnu.org Fri May 01 10:19:52 2015 Received: (at 20445) by debbugs.gnu.org; 1 May 2015 14:19:52 +0000 Received: from localhost ([127.0.0.1]:58801 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YoBnD-0004VR-7h for submit@debbugs.gnu.org; Fri, 01 May 2015 10:19:51 -0400 Received: from mail-la0-f44.google.com ([209.85.215.44]:35959) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YoBnB-0004VF-B5 for 20445@debbugs.gnu.org; Fri, 01 May 2015 10:19:49 -0400 Received: by lagv1 with SMTP id v1so65008011lag.3 for <20445@debbugs.gnu.org>; Fri, 01 May 2015 07:19:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=wkeSFz78+CR4ZTOE4y1KDXehYTi5zaFqnOC3J2Pu/mI=; b=j/QrG6S3DIdxmK0HVM704zfu8J+yoyBQeSozZ1UO4Jr1vcmcinDxi/hJh3rd4S8t9o BWjG+8jze+91245iwScKGHHGGNE1A5oSh3+WDXllXm0OsVFYLyJOXUR66B+o41cUrotp a3xH6lf8T+vnhzqqnBuUVAZcD5CHngpP3SpI/KoVE/gpIj/fVNV8TtbEWlbeOqJlrhco zZAuehND9xB1MWaWpIN5brx5YMNUwg0MuqbHYt6qEtmm1AJzwsLGTDj+ohSA/NEHpaQm korNUeoJs1oun4q1zZpXm5VQ0EssdqVUFJlcMqkWUGP1aD+KEqZxK6ro1UWQZuNW5uzI ju+w== MIME-Version: 1.0 X-Received: by 10.112.25.69 with SMTP id a5mr8261357lbg.16.1430489983483; Fri, 01 May 2015 07:19:43 -0700 (PDT) Received: by 10.25.150.1 with HTTP; Fri, 1 May 2015 07:19:43 -0700 (PDT) In-Reply-To: <55438386.9070302@gmx.at> References: <7cfv7lxnpr.fsf@fencepost.gnu.org> <83sibkuvze.fsf@gnu.org> <83r3r3szgt.fsf@gnu.org> <55435874.4080806@gmx.at> <55438386.9070302@gmx.at> Date: Fri, 1 May 2015 15:19:43 +0100 X-Google-Sender-Auth: VoGw7arp0RKbQQwD_dr75-PBRGE Message-ID: Subject: Re: bug#20445: excessive redisplay / echo area resizing during byte-compilation From: Artur Malabarba To: martin rudalics Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 20445 Cc: 20445 <20445@debbugs.gnu.org>, Eli Zaretskii X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: bruce.connor.am@gmail.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) >> It would be nice to not bother the user with warnings that are not his >> fault. All it would take is a global var to prevent the compilation window >> popping up. (maybe this exists already and I don't know). > > Where and how does the compilation window get popped up? If it's via > `display-buffer' we could try using an allow-no-window alist entry. Yeah, I was doing that just now. :-) But I just found an easier way (let ((warning-minimum-level :error)) ...). In any case, I'll revert the messaging changes to byte-comp which started this discussion. From debbugs-submit-bounces@debbugs.gnu.org Fri May 01 12:28:39 2015 Received: (at 20445-done) by debbugs.gnu.org; 1 May 2015 16:28:39 +0000 Received: from localhost ([127.0.0.1]:58851 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YoDnr-00017v-0q for submit@debbugs.gnu.org; Fri, 01 May 2015 12:28:39 -0400 Received: from mail-la0-f44.google.com ([209.85.215.44]:34708) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YoDno-00017Z-Dr for 20445-done@debbugs.gnu.org; Fri, 01 May 2015 12:28:37 -0400 Received: by laat2 with SMTP id t2so67195747laa.1 for <20445-done@debbugs.gnu.org>; Fri, 01 May 2015 09:28:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=qnjvqrUepT8bRDAemuRkZKHFfdNa0nnQkAyVFncKNds=; b=Y5II3N40Kx0aLN9Vvw79C+y0P6hk7olNUM6RoaGJ0t3+0KiY8Ue17PAc6ysh6Yo8uf olyOb9oB2AFMqFe69oqNLmzCWvD95jgzwR7Y8Ga0dVlnmo278JY6/BuuByhrDqQJk1yx uAFFLn3SvEph0y13nwb7PDra/UTtnXt9QQe5DR4R6uKtxLGMUPJhBmDUEkRhG5g3krEr Dm7Z2FBrYKL5u5bqXR1LWDgI1hBVZRvo7RvBHpiizEkrRIha2ksrjbeGUJzAcAWNmT0d VAqKfHawH92W81tBuecI2gRDryL/gtVFeVSofAbN9qvFKoDxoCNZ6QiV0cAhmoNt2hbE nDXg== MIME-Version: 1.0 X-Received: by 10.112.222.133 with SMTP id qm5mr8854238lbc.86.1430497710317; Fri, 01 May 2015 09:28:30 -0700 (PDT) Received: by 10.25.150.1 with HTTP; Fri, 1 May 2015 09:28:30 -0700 (PDT) Received: by 10.25.150.1 with HTTP; Fri, 1 May 2015 09:28:30 -0700 (PDT) In-Reply-To: References: <7cfv7lxnpr.fsf@fencepost.gnu.org> <83sibkuvze.fsf@gnu.org> <83r3r3szgt.fsf@gnu.org> <55435874.4080806@gmx.at> <55438386.9070302@gmx.at> Date: Fri, 1 May 2015 17:28:30 +0100 X-Google-Sender-Auth: c1ql6pEQm3H3FrffdAC5235AxRU Message-ID: Subject: Re: bug#20445: excessive redisplay / echo area resizing during byte-compilation From: Artur Malabarba To: 20445-done@debbugs.gnu.org Content-Type: multipart/alternative; boundary=001a11346db0e02618051507b32c X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 20445-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: bruce.connor.am@gmail.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --001a11346db0e02618051507b32c Content-Type: text/plain; charset=UTF-8 Fixed by reverting the following commits. * lisp/emacs-lisp/bytecomp.el: Silence noninteractive compilations 9a7ddde977378cb5276a81476ae458889c403267. * lisp/emacs-lisp/bytecomp.el: Use `inhibit-message' 3c0ea587daf8b17960b90603a70e3ac4057d883d. --001a11346db0e02618051507b32c Content-Type: text/html; charset=UTF-8

Fixed by reverting the following commits.

* lisp/emacs-lisp/bytecomp.el: Silence noninteractive compilations 9a7ddde977378cb5276a81476ae458889c403267.

* lisp/emacs-lisp/bytecomp.el: Use `inhibit-message' 3c0ea587daf8b17960b90603a70e3ac4057d883d.

--001a11346db0e02618051507b32c-- From debbugs-submit-bounces@debbugs.gnu.org Sat May 02 05:00:48 2015 Received: (at 20445) by debbugs.gnu.org; 2 May 2015 09:00:48 +0000 Received: from localhost ([127.0.0.1]:59118 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YoTHy-0004r1-AW for submit@debbugs.gnu.org; Sat, 02 May 2015 05:00:47 -0400 Received: from mout.gmx.net ([212.227.17.21]:53650) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YoTHw-0004qR-2f for 20445@debbugs.gnu.org; Sat, 02 May 2015 05:00:44 -0400 Received: from [194.118.143.216] ([194.118.143.216]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0MF9WR-1Z4ih51YRn-00GGaR; Sat, 02 May 2015 11:00:36 +0200 Message-ID: <5544919C.8020909@gmx.at> Date: Sat, 02 May 2015 10:58:04 +0200 From: martin rudalics MIME-Version: 1.0 To: bruce.connor.am@gmail.com Subject: Re: bug#20445: excessive redisplay / echo area resizing during byte-compilation References: <7cfv7lxnpr.fsf@fencepost.gnu.org> <83sibkuvze.fsf@gnu.org> <83r3r3szgt.fsf@gnu.org> <55435874.4080806@gmx.at> <55438386.9070302@gmx.at> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:FO/vVFNB+Y+u6W7N9N8BVgHd6SAbyEUJF9rR142QaN6YKdrc/Fq aNX90YzC1ZL1C05ux17bbXZDSiR23cm67bnqrVzIsOO3JQf1HzHqMMsyy7CL8GoISIy8wNW Cp2j/kOohRUJtBvNL5LOuC60s1e+HfiuVHlmAHY+oZqvQvnLdgH8MMUymiwTdoPINwwB+jX lHOD/nfB/DaLaDHtDKFLQ== X-UI-Out-Filterresults: notjunk:1; X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 20445 Cc: 20445 <20445@debbugs.gnu.org>, Eli Zaretskii X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) > In any case, I'll revert the messaging changes to byte-comp which > started this discussion. Thank you. martin From unknown Fri Aug 22 01:33:44 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 30 May 2015 11:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator