From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xue Fuqiao Newsgroups: gmane.emacs.devel Subject: Re: trunk r112976: * lisp/subr.el (with-eval-after-load): New Date: Sat, 15 Jun 2013 11:23:44 +0800 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1371266631 24597 80.91.229.3 (15 Jun 2013 03:23:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 15 Jun 2013 03:23:51 +0000 (UTC) Cc: emacs-devel To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jun 15 05:23:53 2013 Return-path: Envelope-to: ged-emacs-devel@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 1Unh5k-0003rl-3Q for ged-emacs-devel@m.gmane.org; Sat, 15 Jun 2013 05:23:52 +0200 Original-Received: from localhost ([::1]:50593 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Unh5j-00027O-Kh for ged-emacs-devel@m.gmane.org; Fri, 14 Jun 2013 23:23:51 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55657) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Unh5f-000277-9C for emacs-devel@gnu.org; Fri, 14 Jun 2013 23:23:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Unh5d-0002ti-Oc for emacs-devel@gnu.org; Fri, 14 Jun 2013 23:23:47 -0400 Original-Received: from mail-ie0-x232.google.com ([2607:f8b0:4001:c03::232]:50137) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Unh5d-0002tY-Jy for emacs-devel@gnu.org; Fri, 14 Jun 2013 23:23:45 -0400 Original-Received: by mail-ie0-f178.google.com with SMTP id u16so3067097iet.9 for ; Fri, 14 Jun 2013 20:23:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:cc:content-type; bh=w0bxEwLUKYWPUVuXBOWtY8nGqpG9RDdk92K1NudqSws=; b=j7TNz9AmAXIQZQvnNMOckMVW7c3wQUy0AUWFkw0kvA4qBNawgihUQwQOjSMtViOs75 DiqYbWxi5l2dlehYj/7/qu4IBDN1P4vur9YWz06Si7b2VRhNzmHLp8U0YwQrBWSnT8bx 4FkAHF86j0SgSuH1mvov53dREO7hb7b2U4TqnV8wVj30PgpffkWD4CqWJi/4WaeD7kr8 LjRBDLq+Gt8wXJDqSpGhbCb9HTm7P+zKGIC8bNr9n5hJv04dnQ7Rw1w18PvCdsG5QQiq N8c6xSZi031GEKAXA5cEMP8zlJqC2NORDABXMymk1d7YnJEpzg6/sqjP8XyWOF9b3cvI CV/w== X-Received: by 10.50.29.107 with SMTP id j11mr208741igh.105.1371266624864; Fri, 14 Jun 2013 20:23:44 -0700 (PDT) Original-Received: by 10.42.159.68 with HTTP; Fri, 14 Jun 2013 20:23:44 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4001:c03::232 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:160442 Archived-At: Stefan Monnier wrote: > * doc/lispref/loading.texi (Hooks for Loading): Document with-eval-after-load > instead of eval-after-load. Don't document after-load-alist. I think loading.texi needs some further changes. The last paragraph ("Normally, well-designed Lisp programs should not use `eval-after-load'...") is superfluous. My reasons: 1. `eval-after-load' isn't documented any more. This paragraph is somewhat suprising to readers who did not know this function before; 2. (info "(elisp) Coding Conventions") has already stated that the use of `eval-after-load' isn't recommended. -- Best regards, Xue Fuqiao. http://www.gnu.org/software/emacs/