From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 03 19:24:08 2014 Received: (at submit) by debbugs.gnu.org; 3 Jul 2014 23:24:08 +0000 Received: from localhost ([127.0.0.1]:42102 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X2qMJ-0007sC-Dh for submit@debbugs.gnu.org; Thu, 03 Jul 2014 19:24:07 -0400 Received: from eggs.gnu.org ([208.118.235.92]:37612) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X2qMH-0007rd-40 for submit@debbugs.gnu.org; Thu, 03 Jul 2014 19:24:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X2qM2-0007JO-5c for submit@debbugs.gnu.org; Thu, 03 Jul 2014 19:23:59 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:59480) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X2qM2-0007JK-2O for submit@debbugs.gnu.org; Thu, 03 Jul 2014 19:23:50 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39334) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X2qLu-0007r1-Gj for bug-gnu-emacs@gnu.org; Thu, 03 Jul 2014 19:23:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X2qLn-0007Iz-08 for bug-gnu-emacs@gnu.org; Thu, 03 Jul 2014 19:23:42 -0400 Received: from alc-vshost7.dreamhost.com ([69.163.216.107]:50219 helo=ps18281.dreamhostps.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X2qLm-0007Is-Qf for bug-gnu-emacs@gnu.org; Thu, 03 Jul 2014 19:23:34 -0400 Received: from localhost.jurta.org (ps18281.dreamhostps.com [69.163.222.226]) by ps18281.dreamhostps.com (Postfix) with ESMTP id C1873348328E36 for ; Thu, 3 Jul 2014 16:23:32 -0700 (PDT) From: Juri Linkov To: bug-gnu-emacs@gnu.org Subject: 24.3.92; Warnings for init file are not visible after loading the desktop Organization: JURTA Date: Fri, 04 Jul 2014 02:22:19 +0300 Message-ID: <87mwcq3u50.fsf@mail.jurta.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 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 (-----) When an error occurs while loading the init file, the *Warnings* buffer is displayed but hidden immediately when the desktop restores the previous window configuration by running `desktop-read' from `after-init-hook'. A possible solution is to postpone displaying the *Warnings* buffer to the end of `after-init-hook': === modified file 'lisp/startup.el' --- lisp/startup.el 2014-06-08 23:41:43 +0000 +++ lisp/startup.el 2014-07-03 23:15:54 +0000 @@ -1182,6 +1182,9 @@ (defun command-line () (funcall inner) (setq init-file-had-error nil)) (error + (add-hook + 'after-init-hook + (lambda () (display-warning 'initialization (format "An error occurred while loading `%s':\n\n%s%s%s\n\n\ @@ -1193,7 +1196,8 @@ (defun command-line () (if (cdr error) ": " "") (mapconcat (lambda (s) (prin1-to-string s t)) (cdr error) ", ")) - :warning) + :warning)) + t) (setq init-file-had-error t)))) (if (and deactivate-mark transient-mark-mode) From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 08 05:18:18 2014 Received: (at 17927-done) by debbugs.gnu.org; 8 Jul 2014 09:18:18 +0000 Received: from localhost ([127.0.0.1]:46584 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X4RXV-0002cU-Em for submit@debbugs.gnu.org; Tue, 08 Jul 2014 05:18:18 -0400 Received: from alc-vshost7.dreamhost.com ([69.163.216.107]:40637 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X4RXT-0002cL-0M for 17927-done@debbugs.gnu.org; Tue, 08 Jul 2014 05:18:15 -0400 Received: from localhost.jurta.org (ps18281.dreamhostps.com [69.163.222.226]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 11AFF317A6C2D5 for <17927-done@debbugs.gnu.org>; Tue, 8 Jul 2014 02:18:12 -0700 (PDT) From: Juri Linkov To: 17927-done@debbugs.gnu.org Subject: Re: bug#17927: 24.3.92; Warnings for init file are not visible after loading the desktop Organization: JURTA References: <87mwcq3u50.fsf@mail.jurta.org> Date: Tue, 08 Jul 2014 12:17:35 +0300 In-Reply-To: <87mwcq3u50.fsf@mail.jurta.org> (Juri Linkov's message of "Fri, 04 Jul 2014 02:22:19 +0300") Message-ID: <87mwck2or4.fsf@mail.jurta.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 2.4 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Version: 24.3.92 > When an error occurs while loading the init file, the > *Warnings* buffer is displayed but hidden immediately > when the desktop restores the previous window configuration > by running `desktop-read' from `after-init-hook'. > > A possible solution is to postpone displaying the > *Warnings* buffer to the end of `after-init-hook': [...] Content analysis details: (2.4 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.6 RCVD_IN_BRBL_LASTEXT RBL: RCVD_IN_BRBL_LASTEXT [69.163.216.107 listed in bb.barracudacentral.org] 0.7 RCVD_IN_XBL RBL: Received via a relay in Spamhaus XBL [69.163.216.107 listed in zen.spamhaus.org] X-Debbugs-Envelope-To: 17927-done 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: 2.4 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Version: 24.3.92 > When an error occurs while loading the init file, the > *Warnings* buffer is displayed but hidden immediately > when the desktop restores the previous window configuration > by running `desktop-read' from `after-init-hook'. > > A possible solution is to postpone displaying the > *Warnings* buffer to the end of `after-init-hook': [...] Content analysis details: (2.4 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.7 RCVD_IN_XBL RBL: Received via a relay in Spamhaus XBL [69.163.216.107 listed in zen.spamhaus.org] 1.6 RCVD_IN_BRBL_LASTEXT RBL: RCVD_IN_BRBL_LASTEXT [69.163.216.107 listed in bb.barracudacentral.org] Version: 24.3.92 > When an error occurs while loading the init file, the > *Warnings* buffer is displayed but hidden immediately > when the desktop restores the previous window configuration > by running `desktop-read' from `after-init-hook'. > > A possible solution is to postpone displaying the > *Warnings* buffer to the end of `after-init-hook': Fixed in the emacs-24 branch since it's a regression. From unknown Thu Jun 19 14:04:41 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 05 Aug 2014 11:24:03 +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