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#15940: 24.3.50; doc string of `lwarn' refers to undefined variables Date: Sat, 08 Feb 2014 11:11:48 +0200 Message-ID: <83y51mvui3.fsf@gnu.org> References: <87eh3e9u06.fsf@building.gnus.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1391850789 16954 80.91.229.3 (8 Feb 2014 09:13:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 8 Feb 2014 09:13:09 +0000 (UTC) Cc: 15940@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 08 10:13:16 2014 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 1WC3yN-0005rB-Fh for geb-bug-gnu-emacs@m.gmane.org; Sat, 08 Feb 2014 10:13:15 +0100 Original-Received: from localhost ([::1]:45715 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WC3yM-00088t-Tj for geb-bug-gnu-emacs@m.gmane.org; Sat, 08 Feb 2014 04:13:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42119) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WC3yF-000887-No for bug-gnu-emacs@gnu.org; Sat, 08 Feb 2014 04:13:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WC3yA-0007ss-OQ for bug-gnu-emacs@gnu.org; Sat, 08 Feb 2014 04:13:07 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42385) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WC3yA-0007so-MR for bug-gnu-emacs@gnu.org; Sat, 08 Feb 2014 04:13:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WC3yA-000807-6W for bug-gnu-emacs@gnu.org; Sat, 08 Feb 2014 04:13:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 08 Feb 2014 09:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15940 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 15940-submit@debbugs.gnu.org id=B15940.139185073830686 (code B ref 15940); Sat, 08 Feb 2014 09:13:02 +0000 Original-Received: (at 15940) by debbugs.gnu.org; 8 Feb 2014 09:12:18 +0000 Original-Received: from localhost ([127.0.0.1]:56404 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WC3xO-0007yo-6K for submit@debbugs.gnu.org; Sat, 08 Feb 2014 04:12:17 -0500 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:63393) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WC3xH-0007ya-Gr for 15940@debbugs.gnu.org; Sat, 08 Feb 2014 04:12:11 -0500 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0N0O005006CU6W00@a-mtaout20.012.net.il> for 15940@debbugs.gnu.org; Sat, 08 Feb 2014 11:12:06 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N0O005MD6W56G10@a-mtaout20.012.net.il>; Sat, 08 Feb 2014 11:12:05 +0200 (IST) In-reply-to: <87eh3e9u06.fsf@building.gnus.org> X-012-Sender: halo1@inter.net.il 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:84920 Archived-At: > From: Lars Ingebrigtsen > Date: Fri, 07 Feb 2014 19:13:29 -0800 > Cc: 15940@debbugs.gnu.org > > Drew Adams writes: > > > C-h f lwarn > > > > The doc string says: > > > > "(but see `warning-minimum-level' and `warning-minimum-log-level')" > > > > That's impossible, before warning.el has been loaded - the variables are > > undefined. > > Yeah, it's unfortunate that autoloaded functions can't really refer to > other variables from its "home package" in the help system. > > Would it make sense for the help system to always load the package an > autoloaded function is defined in? Especially if the doc string refers > to other `...' items? Why not simply auto-load those variables, especially if the doc string refers to them?