unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* How can I load path in MS WindowsXP
@ 2008-10-21 13:29 liyue.bluray
  2008-10-21 14:49 ` Drew Adams
       [not found] ` <mailman.1712.1224600561.25473.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 4+ messages in thread
From: liyue.bluray @ 2008-10-21 13:29 UTC (permalink / raw)
  To: help-gnu-emacs

I get the emacs-22.3-bin-i386.zip from ftp.gnu.org/pub/GNU/emacs/
windows, set the environmental variable 'HOME = C:\Documents and
Settings\MyName' , write
"(setq load-path (append load-path '(" ~/Emacs_tools/com-el")))
  (require 'browse-kill-ring)"
in the file  C:\Documents and Settings\MyName\.emacs. And put the file
browse-kill-ring.el in “C:\Documents and Settings\MyName\Emacs_tools
\com-el”.

Then I run the emacs --debug-init, and a error happened. It shows like
this :
"Debugger entered--Lisp error: (file-error "Cannot open load file"
"browse-kill-ring")
  require(browse-kill-ring)
  eval-buffer(#<buffer  *load*> nil "c:/Documents and Settings/
Jebel/.emacs" nil t)  ; Reading at buffer position 1126
  load-with-code-conversion("c:/Documents and Settings/Jebel/.emacs"
"c:/Documents and Settings/Jebel/.emacs" t t)
  load("~/.emacs" t t)"

I have also tried (setq load-path (append load-path '(" c:/Documents
and Settings/Jebel/Emacs_tools/com-el"))) , and it doesn't work too.
How can I load the path? Thanks a lot.



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

* RE: How can I load path in MS WindowsXP
  2008-10-21 13:29 How can I load path in MS WindowsXP liyue.bluray
@ 2008-10-21 14:49 ` Drew Adams
       [not found] ` <mailman.1712.1224600561.25473.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 4+ messages in thread
From: Drew Adams @ 2008-10-21 14:49 UTC (permalink / raw)
  To: liyue.bluray, help-gnu-emacs

> "(setq load-path (append load-path '(" ~/Emacs_tools/com-el")))

Lose the space after ".

> I have also tried (setq load-path (append load-path '(" c:/Documents
> and Settings/Jebel/Emacs_tools/com-el"))) , and it doesn't work too.
> How can I load the path? Thanks a lot.

Lose the space after ".





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

* Re: How can I load path in MS WindowsXP
       [not found] ` <mailman.1712.1224600561.25473.help-gnu-emacs@gnu.org>
@ 2008-10-22  2:03   ` liyue.bluray
  2008-10-22  2:56     ` Drew Adams
  0 siblings, 1 reply; 4+ messages in thread
From: liyue.bluray @ 2008-10-22  2:03 UTC (permalink / raw)
  To: help-gnu-emacs

On Oct 21, 10:49 pm, "Drew Adams" <drew.ad...@oracle.com> wrote:
> > "(setq load-path (append load-path '(" ~/Emacs_tools/com-el")))
>
> Lose the space after ".
>
> > I have also tried (setq load-path (append load-path '(" c:/Documents
> > and Settings/Jebel/Emacs_tools/com-el"))) , and it doesn't work too.
> > How can I load the path? Thanks a lot.
>
> Lose the space after ".

Oh, you are right, there is a otiose space after ".
Thank you very much, it works very well.


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

* RE: How can I load path in MS WindowsXP
  2008-10-22  2:03   ` liyue.bluray
@ 2008-10-22  2:56     ` Drew Adams
  0 siblings, 0 replies; 4+ messages in thread
From: Drew Adams @ 2008-10-22  2:56 UTC (permalink / raw)
  To: liyue.bluray, help-gnu-emacs

> > > "(setq load-path (append load-path '(" ~/Emacs_tools/com-el")))
> >
> > Lose the space after ".
> >
> > > I have also tried (setq load-path (append load-path '(" 
> > > c:/Documents and Settings/Jebel/Emacs_tools/com-el"))) ,
> > > and it doesn't work too. How can I load the path?
> >
> > Lose the space after ".
> 
> Oh, you are right, there is a otiose space after ".
> Thank you very much, it works very well.

Thank _you_, for making me aware of the word "otiose".





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

end of thread, other threads:[~2008-10-22  2:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-21 13:29 How can I load path in MS WindowsXP liyue.bluray
2008-10-21 14:49 ` Drew Adams
     [not found] ` <mailman.1712.1224600561.25473.help-gnu-emacs@gnu.org>
2008-10-22  2:03   ` liyue.bluray
2008-10-22  2:56     ` Drew Adams

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