From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: eccstartup Newsgroups: gmane.emacs.help Subject: Need help debuging my `.emacs` file Date: Mon, 11 Nov 2013 18:58:35 -0800 (PST) Message-ID: <97eff3ec-fba9-4ef4-8f45-2b53d58d0b23@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1384225347 8912 80.91.229.3 (12 Nov 2013 03:02:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 12 Nov 2013 03:02:27 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Nov 12 04:02:34 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Vg4FM-00045P-K5 for geh-help-gnu-emacs@m.gmane.org; Tue, 12 Nov 2013 04:02:32 +0100 Original-Received: from localhost ([::1]:40573 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vg4FM-0006q6-13 for geh-help-gnu-emacs@m.gmane.org; Mon, 11 Nov 2013 22:02:32 -0500 X-Received: by 10.66.144.133 with SMTP id sm5mr10820266pab.5.1384225116550; Mon, 11 Nov 2013 18:58:36 -0800 (PST) X-Received: by 10.50.126.100 with SMTP id mx4mr337482igb.10.1384225116363; Mon, 11 Nov 2013 18:58:36 -0800 (PST) Original-Path: usenet.stanford.edu!z6no6894689pbz.1!news-out.google.com!9ni23748qaf.0!nntp.google.com!i2no21545408qav.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=117.32.153.137; posting-account=1P43_goAAAAcG0l8yDndT7dBtoYz0V1c Original-NNTP-Posting-Host: 117.32.153.137 User-Agent: G2/1.0 Injection-Date: Tue, 12 Nov 2013 02:58:36 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:202187 X-Mailman-Approved-At: Mon, 11 Nov 2013 22:02:21 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:94457 Archived-At: This is my ".emacs" file https://gist.github.com/eccstartup/7424617 My emacs version 24.3. I have installed "haskell-mode" and "erlang" from http://marmalade-repo.org/ . All I have done is do according to the website. (require 'package) (add-to-list 'package-archives '("marmalade" . "http://marmalade-repo.org/packages/")) (package-initialize) 1. However, when I start it, I get An error has occurred while loading `/Users/eccstartup/.emacs': File error: Cannot open load file, package To ensure normal operation, you should investigate and remove the cause of the error in your initialization file. Start Emacs with the `--debug-init' option to view a complete error backtrace. 2. Well, I typed "emacs --debug-init" in the terminal, I get Debugger entered--Lisp error: (file-error "Cannot open load file" "package") require(package) eval-buffer(# nil "/Users/eccstartup/.emacs" nil t) ; Reading at buffer position 19 load-with-code-conversion("/Users/eccstartup/.emacs" "/Users/eccstartup/.emacs" t t) load("~/.emacs" t t) #[nil "^H\205\276^@ \306=\203^Q^@\307^H\310Q\202A^@ \311=\2033^@\312\307\313\314#\203#^@\315\202A^@\312\307\313\316#\203/^@\317\202A^@\315\202A^@ \320=\203=^@\321\202A^@\307^H\322Q^Z\323^S\324\n\32$ command-line() normal-top-level() 3. So, What is the problem? Should I download a package.el from http://marmalade-repo.org/ ? Thanks, I tried to make it readable.