all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: eccstartup <zhiwudazhanjiangshi@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Need help debuging my `.emacs` file
Date: Mon, 11 Nov 2013 18:58:35 -0800 (PST)	[thread overview]
Message-ID: <97eff3ec-fba9-4ef4-8f45-2b53d58d0b23@googlegroups.com> (raw)

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(#<buffer  *load*> 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.




             reply	other threads:[~2013-11-12  2:58 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-12  2:58 eccstartup [this message]
2013-11-12  3:04 ` Need help debuging my `.emacs` file Emanuel Berg
     [not found]   ` <CAKcmqqyS0JTy70p7bF3eCxfXuUPLF4CWFfoJyF_3PqZT6EUCEA@mail.gmail.com>
2013-11-12  3:29     ` Emanuel Berg
2013-11-12  7:37   ` Glyn Millington
2013-11-13  5:47     ` Jude DaShiell
     [not found]   ` <mailman.5871.1384243303.10748.help-gnu-emacs@gnu.org>
2013-11-12 21:14     ` Emanuel Berg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=97eff3ec-fba9-4ef4-8f45-2b53d58d0b23@googlegroups.com \
    --to=zhiwudazhanjiangshi@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.