From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Reuben Thomas Newsgroups: gmane.emacs.bugs Subject: bug#7986: 23.2.91; Remove unwise advice from manual Date: Fri, 4 Feb 2011 23:59:59 +0000 Message-ID: References: <878vxv1ivm.fsf@sc3d.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1296864365 16200 80.91.229.12 (5 Feb 2011 00:06:05 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 5 Feb 2011 00:06:05 +0000 (UTC) Cc: 7986@debbugs.gnu.org To: Lennart Borgman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 05 01:06:00 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PlVf6-00082T-0G for geb-bug-gnu-emacs@m.gmane.org; Sat, 05 Feb 2011 01:06:00 +0100 Original-Received: from localhost ([127.0.0.1]:51274 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PlVf4-0006Tq-Ud for geb-bug-gnu-emacs@m.gmane.org; Fri, 04 Feb 2011 19:05:58 -0500 Original-Received: from [140.186.70.92] (port=49314 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PlVey-0006Qm-TC for bug-gnu-emacs@gnu.org; Fri, 04 Feb 2011 19:05:53 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PlVex-0007sA-Qy for bug-gnu-emacs@gnu.org; Fri, 04 Feb 2011 19:05:52 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36271) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PlVex-0007s6-Pa for bug-gnu-emacs@gnu.org; Fri, 04 Feb 2011 19:05:51 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PlVRZ-0001XG-JX; Fri, 04 Feb 2011 18:52:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Reuben Thomas Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 04 Feb 2011 23:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7986 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 7986-submit@debbugs.gnu.org id=B7986.12968634935867 (code B ref 7986); Fri, 04 Feb 2011 23:52:01 +0000 Original-Received: (at 7986) by debbugs.gnu.org; 4 Feb 2011 23:51:33 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PlVR6-0001Wa-ML for submit@debbugs.gnu.org; Fri, 04 Feb 2011 18:51:32 -0500 Original-Received: from exprod7og120.obsmtp.com ([64.18.2.18]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1PlVR4-0001WN-TO for 7986@debbugs.gnu.org; Fri, 04 Feb 2011 18:51:32 -0500 Original-Received: from source ([209.85.214.181]) (using TLSv1) by exprod7ob120.postini.com ([64.18.6.12]) with SMTP ID DSNKTUyTAPPbcEV/zGQhS8y7lGWRk8pjXoll@postini.com; Fri, 04 Feb 2011 16:00:08 PST Original-Received: by iwn3 with SMTP id 3so2872977iwn.12 for <7986@debbugs.gnu.org>; Fri, 04 Feb 2011 16:00:00 -0800 (PST) Original-Received: by 10.231.157.205 with SMTP id c13mr13789184ibx.103.1296863999909; Fri, 04 Feb 2011 15:59:59 -0800 (PST) Original-Received: by 10.231.19.73 with HTTP; Fri, 4 Feb 2011 15:59:59 -0800 (PST) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 04 Feb 2011 18:52:01 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:43954 Archived-At: On 4 February 2011 23:57, Lennart Borgman wrote= : > On Sat, Feb 5, 2011 at 12:26 AM, Reuben Thomas wrote: >> >> =A0 Normally, well-designed Lisp programs should not use >> `eval-after-load'. =A0If you need to examine and set the variables >> defined in another library (those meant for outside use), you can do it >> immediately--there is no need to wait until the library is loaded. =A0If >> you need to call functions defined by that library, you should load the >> library, preferably with `require' (*note Named Features::). > > You can't do that. Just imagine you write a library with one single > purpose: doing something after another library is loaded. I don't think that is at odds with the advice "Normally, well-designed Lisp programs should not use `eval-after-load'." But if it is, then the manual should be corrected. However, that does not affect my suggestion that the advice about writing code for "personal customizations" be removed. --=20 http://rrt.sc3d.org