From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: Tips to suppress compilation warnings Date: Fri, 27 May 2005 12:57:59 +0300 Organization: JURTA Message-ID: <871x7t0xqy.fsf@jurta.org> References: <87psve50hh.fsf@olgas.newt.com> <87k6llrk4m.fsf-monnier+emacs@gnu.org> <87vf55p97e.fsf@vh213602.truman.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1117191413 761 80.91.229.2 (27 May 2005 10:56:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 27 May 2005 10:56:53 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri May 27 12:56:45 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DbcUm-0006XE-U0 for ged-emacs-devel@m.gmane.org; Fri, 27 May 2005 12:55:18 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DbcZ1-0007iI-95 for ged-emacs-devel@m.gmane.org; Fri, 27 May 2005 06:59:39 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DbcW8-0006nV-SE for emacs-devel@gnu.org; Fri, 27 May 2005 06:56:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DbcU2-00067n-BC for emacs-devel@gnu.org; Fri, 27 May 2005 06:54:30 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DbcU0-000602-03 for emacs-devel@gnu.org; Fri, 27 May 2005 06:54:28 -0400 Original-Received: from [194.126.101.99] (helo=MXR-3.estpak.ee) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DbcIN-0006Z6-Vn for emacs-devel@gnu.org; Fri, 27 May 2005 06:42:28 -0400 Original-Received: from mail.neti.ee (80-235-33-24-dsl.mus.estpak.ee [80.235.33.24]) by MXR-3.estpak.ee (Postfix) with ESMTP id AC831146FFB; Fri, 27 May 2005 13:41:20 +0300 (EEST) Original-To: belanger@truman.edu In-Reply-To: <87vf55p97e.fsf@vh213602.truman.edu> (Jay Belanger's message of "Thu, 26 May 2005 23:46:29 -0500") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-Virus-Scanned: by amavisd-new-2.2.1 (20041222) (Debian) at neti.ee X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:37765 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:37765 >>> However, if Info-goto-node is a useful thing to use from outside Info, >>> perhaps it should be defined as autoloaded in info.el rather than in mh-e. >> >> No. Elisp packages that want to invoke info this way should use the `info' >> function, which can be called just the same: (info "(mh-e)Draft Editing"). > > Info-goto-node is already autoloaded in info.el. I wonder why there is the warning in mh-customize.el if Info-goto-node currently has an autoload cookie in info.el? > (This looks recent.) autoload for Info-goto-node was added in info.el to avoid errors in packages that don't call (require info) and don't autoload Info-goto-node before calling Info-goto-node. If `info' is the preferred method instead of `Info-goto-node', autoload could be removed from info.el after replacing `Info-goto-node' with `info' in all places in Emacs source code and mentioning the preferred method in the NEWS file and Info documentation. -- Juri Linkov http://www.jurta.org/emacs/