From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#11612: 24.1; Defaults create warning on startup Date: Sat, 25 Jun 2016 11:16:17 +0300 Message-ID: <834m8h1y5q.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1466842713 11654 80.91.229.3 (25 Jun 2016 08:18:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 25 Jun 2016 08:18:33 +0000 (UTC) Cc: not.com@gmail.com, lekktu@gmail.com, mblischke@att.net, 11612@debbugs.gnu.org, jasonr@gnu.org To: Noam Postavsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jun 25 10:18:20 2016 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 1bGinD-0000VZ-Pw for geb-bug-gnu-emacs@m.gmane.org; Sat, 25 Jun 2016 10:18:20 +0200 Original-Received: from localhost ([::1]:48981 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGinC-0000wW-Mc for geb-bug-gnu-emacs@m.gmane.org; Sat, 25 Jun 2016 04:18:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42730) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGin0-0000uN-8i for bug-gnu-emacs@gnu.org; Sat, 25 Jun 2016 04:18:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bGimw-0002vN-0j for bug-gnu-emacs@gnu.org; Sat, 25 Jun 2016 04:18:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:42545) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGimv-0002vF-TO for bug-gnu-emacs@gnu.org; Sat, 25 Jun 2016 04:18:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bGimv-0002aZ-PA for bug-gnu-emacs@gnu.org; Sat, 25 Jun 2016 04:18:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 25 Jun 2016 08:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11612 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11612-submit@debbugs.gnu.org id=B11612.14668426479905 (code B ref 11612); Sat, 25 Jun 2016 08:18:01 +0000 Original-Received: (at 11612) by debbugs.gnu.org; 25 Jun 2016 08:17:27 +0000 Original-Received: from localhost ([127.0.0.1]:54882 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bGimN-0002Zh-Cf for submit@debbugs.gnu.org; Sat, 25 Jun 2016 04:17:27 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51596) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bGimL-0002ZS-Vj for 11612@debbugs.gnu.org; Sat, 25 Jun 2016 04:17:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bGimF-0002n2-RC for 11612@debbugs.gnu.org; Sat, 25 Jun 2016 04:17:20 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:47273) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGilx-0002lY-MG; Sat, 25 Jun 2016 04:17:01 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4613 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bGilw-0005Ym-Iv; Sat, 25 Jun 2016 04:17:01 -0400 In-reply-to: (message from Noam Postavsky on Fri, 24 Jun 2016 23:28:55 -0400) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:120039 Archived-At: > From: Noam Postavsky > Date: Fri, 24 Jun 2016 23:28:55 -0400 > Cc: yary , Juanma Barranquero , > Michael , Jason Rumney > > So it's just a matter of changing the warning message to something a > little more informative, right? What's the best way of referencing the > a manual node in a warning message? In Lisp I could make a hyperlink > like this: > > (display-warning 'initialization > (concat "Use of `C:\\.emacs' to define `HOME' is > deprecated, see " > (make-text-button "HOME and Startup > Directories on MS-Windows" nil > :type 'help-info > 'help-args '("(emacs) > Windows HOME")))) > > it's a bit more awkward from C, and I'm not sure if make-text-button > can be called that early in the initialization process. It wouldn't have helped anyway. However, nowadays this warning is added to delayed-warnings-list, whose display is handled in Lisp. FWIW, repeating the OP's recipe, Emacs now starts with a split-window configuration, with the selected window showing the *scratch* buffer, and the *Warnings* buffer displaying the above-mentioned warning. So I'm not sure the original complaint is still valid.