From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Jean-Christophe Helary Newsgroups: gmane.emacs.devel Subject: Re: "Emacs Lisp Packages" chapter in the Emacs manual Date: Mon, 11 May 2020 00:05:00 +0900 Message-ID: References: <11437E00-8970-4908-A900-0438A248428D@traduction-libre.org> <75254771-9303-4982-AB60-F92AF7AC6454@traduction-libre.org> <11AC1ECE-C120-4CBE-93C7-6FD82AF12299@traduction-libre.org> Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="44982"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Emacs developers To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun May 10 17:05:51 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jXnWY-000Baa-QN for ged-emacs-devel@m.gmane-mx.org; Sun, 10 May 2020 17:05:50 +0200 Original-Received: from localhost ([::1]:53760 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jXnWX-0000YO-Bc for ged-emacs-devel@m.gmane-mx.org; Sun, 10 May 2020 11:05:49 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49766) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jXnVx-0008Cv-BM for emacs-devel@gnu.org; Sun, 10 May 2020 11:05:13 -0400 Original-Received: from relay4-d.mail.gandi.net ([217.70.183.196]:42879) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jXnVv-0003vK-Gp for emacs-devel@gnu.org; Sun, 10 May 2020 11:05:12 -0400 X-Originating-IP: 128.53.210.217 Original-Received: from [10.0.1.13] (pl6361.ag0304.nttpc.ne.jp [128.53.210.217]) (Authenticated sender: jean.christophe.helary@traduction-libre.org) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 4BA5CE0005; Sun, 10 May 2020 15:05:04 +0000 (UTC) In-Reply-To: X-Mailer: Apple Mail (2.3608.80.23.2.2) Received-SPF: pass client-ip=217.70.183.196; envelope-from=jean.christophe.helary@traduction-libre.org; helo=relay4-d.mail.gandi.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/10 11:05:06 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:249663 Archived-At: > On May 10, 2020, at 23:17, Stefan Monnier = wrote: >=20 >> 2) add a reference to "require" in the Features section of the manual = in building.texi >>=20 >> To automatically load code that you have installed in the load = path, >> you can use `require' in your init file. *Note Features: >> (elisp)Features. For example, here's how to automatically load the >> features provided by file `feature.el' installed in your load path: >>=20 >> (require 'feature) >=20 > While it can be useful to `require` a file from `.emacs` in particular > cases, it's *usually* a bad idea which will just slow down your = startup. > So I don't think we should promote this. >=20 > Most packages installed "the old way" have a little blurb in their = `;;; > Commentary:` section (or `INSTALL` file or somewhere) which shows what = to > add to your `.emacs`. Thank you Stefan. I guess the first part is good enough then ? Jean-Christophe Helary ----------------------------------------------- http://mac4translators.blogspot.com @brandelune