Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have recently added the file ac-R.el to /usr/local/share/emacs/site-lisp, along with (require 'ac-R) to ~/.emacs

Now, when I open emacs with --debug-init, I get the error

    Debugger entered--Lisp error: (void-variable ac-modes)
  add-to-list(ac-modes ess-mode)
  eval-buffer(#<buffer  *load*<2>> nil "/usr/local/share/emacs/site-lisp/ac-R.el" nil t)  ; Reading at buffer position 7191
  load-with-code-conversion("/usr/local/share/emacs/site-lisp/ac-R.el" "/usr/local/share/emacs/site-lisp/ac-R.el" nil t)
  eval-buffer(#<buffer  *load*> nil "/home/dlebauer/.emacs" nil t)  ; Reading at buffer position 3548
  load-with-code-conversion("/home/dlebauer/.emacs" "/home/dlebauer/.emacs" t t)
  load("~/.emacs" t t)
  #[nil "\205\264

and when clicking on load-with-code-conversion, it says

Can't find library /usr/share/emacs/23.1.50/lisp/international/mule.el

even though I have installed mule via synaptic (I am using Ubuntu 10.04)

How can I get the mule library in the right place?

share|improve this question
your problem is not missing mule, but that ac-R.el is a HTML file and not a Lisp file. Make sure you have saved the correct file there. :-) – mihi Feb 23 '11 at 21:14
@mihi thanks; I retrieved the file with wget but now I see that is the correct link – David LeBauer Feb 23 '11 at 21:57
@mihi I have changed the error message to the one that I get when using the Lisp file ... – David LeBauer Feb 23 '11 at 22:05

You must log in to answer this question.

Browse other questions tagged .