From: Sayth Renshaw <flebber.crue@gmail.com>
To: Dmitry Gutov <dgutov@yandex.ru>
Cc: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: Re: Ruby and RubyOn Rails setup - Cannot enable indentation and snippets
Date: Sun, 6 Jan 2013 00:04:36 +1100 [thread overview]
Message-ID: <CAN2of03eFsws1-hgJn=L7_9Ztpgwz2jDfOhz=OrU=faXS2jCAg@mail.gmail.com> (raw)
In-Reply-To: <CAN2of00qj4x5po07q8h8FoKs66P274bWacBwL4vsMJfWS-L8ig@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1958 bytes --]
On Sat, Jan 5, 2013 at 11:53 PM, Sayth Renshaw <flebber.crue@gmail.com>wrote:
>
>
> On Sat, Jan 5, 2013 at 4:42 PM, Dmitry Gutov <dgutov@yandex.ru> 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
>
>
So I installed ruby-mode from melpa and it now works. I installed robe and
ruby-electric all seems to work.
Sayth
[-- Attachment #2: Type: text/html, Size: 3090 bytes --]
next prev parent reply other threads:[~2013-01-05 13:04 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-01 12:27 Ruby and RubyOn Rails setup - Cannot enable indentation and snippets Sayth Renshaw
2013-01-01 14:24 ` Dmitry Gutov
[not found] ` <mailman.16475.1357050313.855.help-gnu-emacs@gnu.org>
2013-01-02 13:24 ` Sayth Renshaw
2013-01-02 14:52 ` Dmitry Gutov
[not found] ` <mailman.16528.1357138350.855.help-gnu-emacs@gnu.org>
2013-01-03 6:25 ` Sayth Renshaw
2013-01-03 14:23 ` Dmitry Gutov
2013-01-03 15:15 ` Dmitry Gutov
2013-01-04 11:11 ` Sayth Renshaw
2013-01-04 16:11 ` Dmitry Gutov
[not found] ` <CAN2of03ausUrsd9LNqoN=r4o3YmD8YF=8ObiHqQxEx4QaUvKHw@mail.gmail.com>
2013-01-05 5:42 ` Dmitry Gutov
2013-01-05 12:53 ` Sayth Renshaw
2013-01-05 13:04 ` Sayth Renshaw [this message]
2013-01-05 14:59 ` Dmitry Gutov
2013-01-05 21:07 ` Sayth Renshaw
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAN2of03eFsws1-hgJn=L7_9Ztpgwz2jDfOhz=OrU=faXS2jCAg@mail.gmail.com' \
--to=flebber.crue@gmail.com \
--cc=dgutov@yandex.ru \
--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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).