help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Ruby and RubyOn Rails setup - Cannot enable indentation and snippets


From: Sayth Renshaw
Subject: Re: Ruby and RubyOn Rails setup - Cannot enable indentation and snippets
Date: Sat, 5 Jan 2013 23:53:25 +1100



On Sat, Jan 5, 2013 at 4:42 PM, Dmitry Gutov <address@hidden> wrote:
On 05.01.2013 9:30, Sayth Renshaw wrote:
Okay so I have removed emacs-starter-kit I have nothing but ruby-mode
from marmalade installed.

Wonderful. Please uninstall it.

Like I mentioned in one of the previous messages, ruby-mode from Marmalade has been reported to cause problems with indentation.

Emacs already has ruby-mode bundled.

And you can reinstall emacs-starter-kit packages (to be safe, better do it after you make sure ruby-mode is working), maybe except the Ruby one.


The outputs of the commands appear to work now but I have no line indenting.

Making completion list...
ruby-mode
You can run the command `eval-last-sexp' with C-x C-e
Mark set [2 times]
Entering debugger...
Auto-saving...done
ruby-mode
You can run the command `eval-last-sexp' with C-x C-e
ruby-indent-line
You can run the command `eval-last-sexp' with C-x C-e

Yep, we've already established the values of major-mode and indent-line-function. They are as they should be.

I don't understand why (find-library-name "ruby-mode") still signals error, but hopefully after you uninstall ruby-mode from Marmalade the problem goes away, so we won't have to dig deeper.


After uninstalling ruby-mode the problem still exists

Debugger entered--Lisp error: (void-function find-library-name)
  (find-library-name "ruby-mode")
  eval((find-library-name "ruby-mode") nil)
  eval-last-sexp-1(nil)
  eval-last-sexp(nil)
  call-interactively(eval-last-sexp t nil)
  execute-extended-command(nil)
  call-interactively(execute-extended-command nil nil)

Sayth


reply via email to

[Prev in Thread] Current Thread [Next in Thread]