unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#3446: 23.0.94; Emacs manual: add an example of adding a dir to `load-path'
@ 2009-06-01 22:07 ` Drew Adams
  2009-06-04  3:20   ` bug#3446: marked as done (23.0.94; Emacs manual: add an example of adding a dir to `load-path') Emacs bug Tracking System
  0 siblings, 1 reply; 2+ messages in thread
From: Drew Adams @ 2009-06-01 22:07 UTC (permalink / raw)
  To: emacs-pretest-bug

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)'
 






^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#3446: marked as done (23.0.94; Emacs manual: add an example of adding a dir to `load-path')
  2009-06-01 22:07 ` bug#3446: 23.0.94; Emacs manual: add an example of adding a dir to `load-path' Drew Adams
@ 2009-06-04  3:20   ` Emacs bug Tracking System
  0 siblings, 0 replies; 2+ messages in thread
From: Emacs bug Tracking System @ 2009-06-04  3:20 UTC (permalink / raw)
  To: Chong Yidong

[-- Attachment #1: Type: text/plain, Size: 922 bytes --]


Your message dated Wed, 03 Jun 2009 23:14:08 -0400
with message-id <87eiu0y9kv.fsf@cyd.mit.edu>
and subject line Re: 23.0.94; Emacs manual: add an example of adding a dir to `load-path'
has caused the Emacs bug report #3446,
regarding 23.0.94; Emacs manual: add an example of adding a dir to `load-path'
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com
immediately.)


-- 
3446: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3446
Emacs Bug Tracking System
Contact owner@emacsbugs.donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 3466 bytes --]

From: "Drew Adams" <drew.adams@oracle.com>
To: <emacs-pretest-bug@gnu.org>
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>

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)'
 



[-- Attachment #3: Type: message/rfc822, Size: 1257 bytes --]

From: Chong Yidong <cyd@stupidchicken.com>
To: "Drew Adams" <drew.adams@oracle.com>
Cc: 3446-done@emacsbugs.donarmstrong.com
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>

> 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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-06-04  3:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <87eiu0y9kv.fsf@cyd.mit.edu>
2009-06-01 22:07 ` bug#3446: 23.0.94; Emacs manual: add an example of adding a dir to `load-path' Drew Adams
2009-06-04  3:20   ` bug#3446: marked as done (23.0.94; Emacs manual: add an example of adding a dir to `load-path') Emacs bug Tracking System

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).