all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Need help debuging my `.emacs` file
@ 2013-11-12  2:58 eccstartup
  2013-11-12  3:04 ` Emanuel Berg
  0 siblings, 1 reply; 6+ messages in thread
From: eccstartup @ 2013-11-12  2:58 UTC (permalink / raw
  To: help-gnu-emacs

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.




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

end of thread, other threads:[~2013-11-13  5:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-12  2:58 Need help debuging my `.emacs` file eccstartup
2013-11-12  3:04 ` 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

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.