GNU bug report logs - #11612
24.1; Defaults create warning on startup

Previous Next

Package: emacs;

Reported by: yary <not.com <at> gmail.com>

Date: Sat, 2 Jun 2012 19:07:03 UTC

Severity: minor

Found in version 24.1

Fixed in version 25.1

Done: Noam Postavsky <npostavs <at> users.sourceforge.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Noam Postavsky <npostavs <at> users.sourceforge.net>
Cc: not.com <at> gmail.com, lekktu <at> gmail.com, mblischke <at> att.net, 11612 <at> debbugs.gnu.org, jasonr <at> gnu.org
Subject: bug#11612: 24.1; Defaults create warning on startup
Date: Sat, 25 Jun 2016 11:16:17 +0300
> From: Noam Postavsky <npostavs <at> users.sourceforge.net>
> Date: Fri, 24 Jun 2016 23:28:55 -0400
> Cc: yary <not.com <at> gmail.com>, Juanma Barranquero <lekktu <at> gmail.com>,
> 	Michael <mblischke <at> att.net>, Jason Rumney <jasonr <at> gnu.org>
> 
> 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.




This bug report was last modified 9 years and 25 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.