From xemacs-m  Thu Feb 27 14:38:09 1997
Received: from altair.xemacs.org (steve@xemacs.miranova.com [206.190.83.19])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id OAA08660
	for <xemacs-beta@xemacs.org>; Thu, 27 Feb 1997 14:38:08 -0600 (CST)
Received: (from steve@localhost)
	by altair.xemacs.org (8.8.5/8.8.5) id MAA22548;
	Thu, 27 Feb 1997 12:49:47 -0800
Mail-Copies-To: never
To: xemacs-beta@xemacs.org
Subject: Re: Several minor bugs.
References: <kig914axpbk.fsf@jagor.srce.hr> <rjlo8adwrw.fsf@zuse.dina.kvl.dk> <m2afoqujmb.fsf@altair.xemacs.org> <rjbu96dn75.fsf@zuse.dina.kvl.dk>
X-Url: http://www.miranova.com/%7Esteve/
X-Face: #!T9!#9s-3o8)*uHlX{Ug[xW7E7Wr!*L46-OxqMu\xz23v|R9q}lH?cRS{rCNe^'[`^sr5"
 f8*@r4ipO6Jl!:Ccq<xoV[Qz2u8<8-+Vwf2gzJ44lf_/y9OaQ`@#Q65{U4/TC)i2`~/M&QI$X>p:9I
 OSS'2{-)-4wBnVeg0S\O4Al@)uC[pD|+
X-Attribution: sb
From: Steven L Baur <steve@miranova.com>
In-Reply-To: Per Abrahamsen's message of 27 Feb 1997 21:10:54 +0100
Mime-Version: 1.0 (generated by tm-edit 7.105)
Content-Type: text/plain; charset=US-ASCII
Date: 27 Feb 1997 12:49:43 -0800
Message-ID: <m2ybca55zs.fsf@altair.xemacs.org>
Lines: 35
X-Mailer: Gnus v5.4.15/XEmacs 20.1

Per Abrahamsen writes:

> Steven L Baur <steve@miranova.com> writes:

>> What about Stig's objection?

> `eval-after-load' works fine when you load a library normally.

> People who load libraries in weird ways don't expect `eval-after-load'
> to work, at least I haven't seen a bug report stating otherwise in the
> years `eval-after-load' have been in GNU Emacs.  So don't expect to be
> overwhelmed by bug reports from confused users if you add it.

O.K.

> Even if the function is somehow bad karma, it should be available in
> obsolete.el as a compatibility function.

That was my thinking, but I had to ask about the objection first.
``Flawed but usable'' seems to sum it up.

C-h f eval-after-load
eval-after-load: (file form)
  -- a compiled Lisp function.
Emacs Compatible; Flawed but usable

Arrange that, if FILE is ever loaded, FORM will be run at that time.
This makes or adds to an entry on `after-load-alist'.
If FILE is already loaded, evaluate FORM right now.
It does nothing if FORM is already on the list for FILE.
FILE should be the name of a library, with no directory name.

-- 
steve@miranova.com baur
Unsolicited commercial e-mail will be billed at $250/message.

