unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
Cc: emacs-devel@gnu.org
Subject: Re: Tips to suppress compilation warnings
Date: Fri, 27 May 2005 12:57:59 +0300	[thread overview]
Message-ID: <871x7t0xqy.fsf@jurta.org> (raw)
In-Reply-To: <87vf55p97e.fsf@vh213602.truman.edu> (Jay Belanger's message of "Thu, 26 May 2005 23:46:29 -0500")

>>> 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/

  reply	other threads:[~2005-05-27  9:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87psve50hh.fsf@olgas.newt.com>
2005-05-26 14:54 ` Tips to suppress compilation warnings Richard Stallman
2005-05-26 17:08   ` Stefan Monnier
2005-05-27  1:08     ` Bill Wohler
2005-05-27  4:46     ` Jay Belanger
2005-05-27  9:57       ` Juri Linkov [this message]
2005-05-25 23:50 Bill Wohler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871x7t0xqy.fsf@jurta.org \
    --to=juri@jurta.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).