From unknown Mon Jun 23 15:00:59 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#3446: 23.0.94; Emacs manual: add an example of adding a dir to `load-path' Reply-To: "Drew Adams" , 3446@debbugs.gnu.org Resent-From: "Drew Adams" Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 01 Jun 2009 22:10:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: report 3446 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.124389406413066 (code B ref -1); Mon, 01 Jun 2009 22:10:04 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 1 Jun 2009 22:07:44 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.2 required=4.0 tests=AWL,FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n51M7eIq013060 for ; Mon, 1 Jun 2009 15:07:41 -0700 Received: from mx10.gnu.org ([199.232.76.166]:47384) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1MBFfQ-0000wY-30 for emacs-pretest-bug@gnu.org; Mon, 01 Jun 2009 18:07:40 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1MBFfO-0008OH-4S for emacs-pretest-bug@gnu.org; Mon, 01 Jun 2009 18:07:39 -0400 Received: from rcsinet12.oracle.com ([148.87.113.124]:22171 helo=rgminet12.oracle.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MBFfN-0008Nx-Oe for emacs-pretest-bug@gnu.org; Mon, 01 Jun 2009 18:07:37 -0400 Received: from rgminet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by rgminet12.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n51M7Ntb030414 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 1 Jun 2009 22:07:24 GMT Received: from abhmt003.oracle.com (abhmt003.oracle.com [141.146.116.12]) by rgminet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n51M7b0Y023149 for ; Mon, 1 Jun 2009 22:07:37 GMT Received: from dradamslap1 (/141.144.65.100) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 01 Jun 2009 15:07:32 -0700 From: "Drew Adams" To: Date: Mon, 1 Jun 2009 15:07:50 -0700 Message-ID: <40628DC37BEA4D0CB2C21B81135157D1@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Thread-Index: AcnjBWdi/emjRQUiT/SjV726CclIJg== X-Source-IP: abhmt003.oracle.com [141.146.116.12] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090206.4A245125.00F3:SCFSTAT5015188,ss=1,fgs=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) A newbie in help-gnu-emacs tried to load an init file that had (require 'foobar) in it, and foobar.el wasn't in his load-path. He then needed to know how to add a directory to the load-path. I wanted to point him to the manual, to teach him to fish, but I found nothing in the manual about this. Everything in the manual about `load-path' just assumes you know how to add a directory to it. A simple example in the init-file section, would help: (add-to-list 'load-path "/my/directory/") And load-path should be indexed to the init-file node. In GNU Emacs 23.0.94.1 (i386-mingw-nt5.1.2600) of 2009-05-24 on SOFT-MJASON Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4)' From unknown Mon Jun 23 15:00:59 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: owner@emacsbugs.donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: "Drew Adams" Subject: bug#3446 closed by Chong Yidong (Re: 23.0.94; Emacs manual: add an example of adding a dir to `load-path') Message-ID: References: <87eiu0y9kv.fsf@cyd.mit.edu> <40628DC37BEA4D0CB2C21B81135157D1@us.oracle.com> X-Emacs-PR-Message: they-closed 3446 X-Emacs-PR-Package: emacs Reply-To: 3446@debbugs.gnu.org Date: Thu, 04 Jun 2009 03:20:04 +0000 Content-Type: multipart/mixed; boundary="----------=_1244085604-750-1" This is a multi-part message in MIME format... ------------=_1244085604-750-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs package: #3446: 23.0.94; Emacs manual: add an example of adding a dir to `load-path' It has been closed by Chong Yidong . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Chong Yidong by replying to this email. --=20 3446: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D3446 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1244085604-750-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 3446-done) by emacsbugs.donarmstrong.com; 4 Jun 2009 03:14:10 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-1.8 required=4.0 tests=AWL autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n543E64c032547 for <3446-done@emacsbugs.donarmstrong.com>; Wed, 3 Jun 2009 20:14:08 -0700 Received: by cyd.mit.edu (Postfix, from userid 1000) id 2D57857E259; Wed, 3 Jun 2009 23:14:08 -0400 (EDT) From: Chong Yidong To: "Drew Adams" Cc: 3446-done@debbugs.gnu.org Subject: Re: 23.0.94; Emacs manual: add an example of adding a dir to `load-path' Date: Wed, 03 Jun 2009 23:14:08 -0400 Message-ID: <87eiu0y9kv.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > A simple example in the init-file section, > would help: > > (add-to-list 'load-path "/my/directory/") > > And load-path should be indexed to the init-file node. Fixed, thanks. ------------=_1244085604-750-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 1 Jun 2009 22:07:44 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.2 required=4.0 tests=AWL,FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n51M7eIq013060 for ; Mon, 1 Jun 2009 15:07:41 -0700 Received: from mx10.gnu.org ([199.232.76.166]:47384) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1MBFfQ-0000wY-30 for emacs-pretest-bug@gnu.org; Mon, 01 Jun 2009 18:07:40 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1MBFfO-0008OH-4S for emacs-pretest-bug@gnu.org; Mon, 01 Jun 2009 18:07:39 -0400 Received: from rcsinet12.oracle.com ([148.87.113.124]:22171 helo=rgminet12.oracle.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MBFfN-0008Nx-Oe for emacs-pretest-bug@gnu.org; Mon, 01 Jun 2009 18:07:37 -0400 Received: from rgminet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by rgminet12.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n51M7Ntb030414 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 1 Jun 2009 22:07:24 GMT Received: from abhmt003.oracle.com (abhmt003.oracle.com [141.146.116.12]) by rgminet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n51M7b0Y023149 for ; Mon, 1 Jun 2009 22:07:37 GMT Received: from dradamslap1 (/141.144.65.100) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 01 Jun 2009 15:07:32 -0700 From: "Drew Adams" To: Subject: 23.0.94; Emacs manual: add an example of adding a dir to `load-path' Date: Mon, 1 Jun 2009 15:07:50 -0700 Message-ID: <40628DC37BEA4D0CB2C21B81135157D1@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Thread-Index: AcnjBWdi/emjRQUiT/SjV726CclIJg== X-Source-IP: abhmt003.oracle.com [141.146.116.12] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090206.4A245125.00F3:SCFSTAT5015188,ss=1,fgs=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) A newbie in help-gnu-emacs tried to load an init file that had (require 'foobar) in it, and foobar.el wasn't in his load-path. He then needed to know how to add a directory to the load-path. I wanted to point him to the manual, to teach him to fish, but I found nothing in the manual about this. Everything in the manual about `load-path' just assumes you know how to add a directory to it. A simple example in the init-file section, would help: (add-to-list 'load-path "/my/directory/") And load-path should be indexed to the init-file node. In GNU Emacs 23.0.94.1 (i386-mingw-nt5.1.2600) of 2009-05-24 on SOFT-MJASON Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4)' ------------=_1244085604-750-1--