To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.dat.partsOpen lugnet.cad.dat.parts in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / LDraw Files / Parts / 3063
3062  |  3064
Subject: 
Re: Bendible Objects?
Newsgroups: 
lugnet.cad.dat.parts
Date: 
Sun, 18 Nov 2001 10:22:17 GMT
Viewed: 
1055 times
  
"Da Byte" <DaByte@hotmail.com> writes:

3) this is what my .emacs file looks like since the ldraw directory
is also in my f-root:

(load-file "f:\ldraw-mode.elc")
(global-font-lock-mode t)
(setq ldraw-base-dir "f:\ldraw")


Generally, you may want to replace backward slashes with forward ones
when talking with Emacs.  However, I believe that Emacs is generally
clever enough to understand what you mean, so I don't think this is what
stops your progress.  Still, you may want to replace the text above
with:

  (load-file "f:/ldraw-mode.elc")
  (global-font-lock-mode t)
  (setq ldraw-base-dir "f:/ldraw")


1) emacs is on my f-drive under
"F:\emacs-20.7-fullbin-i386\emacs-20.7\bin/";


This should be just fine.


2) the ".emacs" file is in the root (F:\), so is the compiled
"ldraw-mode.elc" file;


I think this is what stops LDraw-mode from loading upon starting up
Emacs.  I believe that Emacs searches for the ".emacs" file in C:\ and in
your "home directory", if that concept exists in your OS.  I think that
you may want to move the .emacs file from F:\ to C:\.


Before changing anything, though, you can try to see if your Emacs can
load LDraw-mode at all.  After starting up Emacs, try to press and
release ESC and then press "X".  This should give the prompt "M-x" in
the mini buffer.  Emacs is now ready for a command, so type in
"load-file" and press return.  You are prompted for a file to load.
Type in the path to the ldraw-mode.elc file: "F:/ldraw-mode.elc" and
press return.  Does this work?  If so, the problem you had was probably
that Emacs did not scan F:\ for the .emacs file.  Moving .emacs to C:\
should fix your problem.


If you have more questions, please don't hestitate to ask.


Fredrik



Message has 1 Reply:
  Re: Bendible Objects?
 
Thanks, Fred! That was fast! :-o Putting .emacs in C:\ fixed the problem (I even see the font in colors :-)). Now onto bending a piece of straw/hose from my Mindstorms Vision Command Set! BTW: d'you have any idea on how long (ldraw units) this part (...) (23 years ago, 18-Nov-01, to lugnet.cad.dat.parts)

Message is in Reply To:
  Re: Bendible Objects?
 
(...) I have followed all the instructions, but LDraw-mode won't load in my emacs under Windows 2000. Overview: 1) emacs is on my f-drive under "F:\emacs-20.7-fullb...0.7\bin/"; 2) the ".emacs" file is in the root (F:\), so is the compiled (...) (23 years ago, 18-Nov-01, to lugnet.cad.dat.parts)

13 Messages in This Thread:





Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR