|
From: | Sayth Renshaw |
Subject: | Re: Ruby and RubyOn Rails setup - Cannot enable indentation and snippets |
Date: | Sun, 6 Jan 2013 00:04:36 +1100 |
On Sat, Jan 5, 2013 at 4:42 PM, Dmitry Gutov <dgutov@yandex.ru> wrote:
On 05.01.2013 9:30, Sayth Renshaw wrote:Wonderful. Please uninstall it.
Okay so I have removed emacs-starter-kit I have nothing but ruby-mode
from marmalade installed.
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.Yep, we've already established the values of major-mode and indent-line-function. They are as they should be.
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
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 existsDebugger 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
[Prev in Thread] | Current Thread | [Next in Thread] |