logo       

Re: Absolute beginners problem with Preferences.el: msg#00031

emacs.macintosh.osx

Subject: Re: Absolute beginners problem with Preferences.el

Hi again.

I have now removed the (require 'pag-ged) line and then I tried to do
a load-file inside emacs of my Preferences.el and now my Erlang mode
works!
Current Preferences.el:
(setq load-path (cons "/opt/local/lib/erlang/lib/tools-2.5.2/emacs"
load-path))
(setq erlang-root-dir "/opt/local/lib/erlang")
(setq exec-path (cons "/opt/local/bin" exec-path))
(require 'erlang-start)

So for some strange reason my ~/Library/Preferences/Aquamacs
Emacs/Preferences.el is not loaded at start-up... or?

Any clues?

Cheers,
Torben


On 12/10/06, Torben Hoffmann <torben.lehoff@xxxxxxxxxxxxxx> wrote:
Hi,

I have just installed Aquamacs Emacs and it looks very nice,
but I cannot figure out how to use the Erlang mode from the Erlang/OTP
distribution from http://erlang.org";. I have
inserted the following code in my ~/Library/Preferences/Aquamacs
Emacs/Preferences.el file:
(setq load-path (cons "/opt/local/lib/erlang/lib
/tools-2.5.2/emacs"
load-path))
(setq erlang-root-dir "/opt/local/lib/erlang")
(setq exec-path (cons "/opt/local/bin" exec-path))
(require 'erlang-start)

That did not work - then I read the
http://www.emacswiki.org/cgi-bin/wiki/PreferencesInAquamacs"; and
reasoned that I had to move the
el files to a directory under ~/Library/Application Support/Aquamacs
Emacs, so I created a erlang directory there, copied the .el files over
and created a site-start.el file in that directory that contained nothing but:
(load "erlang-start.el" nil t t)

Nothing happend.

Stunned by this total lack of success I resorted to malicious
debugging and added the following line to my Preferences.el file:
(require 'pap-ged)
stoped Emacs and restarted it... without a warning or anything!!
(In case you should wonder pap-ged is a cardboard goat - not the most
likely package name ;-))


I am totally baffled by this and have wasted 3 hours trying various
things and reading information on the internet to no avail so now I am
hoping that there is a kind soul that
can help me out on this mailing list.

Cheers,
Torben

---------------------------- Info -----------------------------
List Post: <mailto:macosx-emacs@xxxxxxxxxxxxxxxxx>
List Archives: <http://dir.gmane.org/gmane.emacs.macintosh.osx>




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise