From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.help Subject: Re: Ruby and RubyOn Rails setup - Cannot enable indentation and snippets Date: Sat, 05 Jan 2013 09:42:55 +0400 Message-ID: <50E7BD5F.6030803@yandex.ru> References: <558f5257-18a8-46c4-8a41-71ea6066449e@googlegroups.com> <87bod6mjkv.fsf@yandex.ru> <87r4m2cn6a.fsf@yandex.ru> <50E6FF49.8010305@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1357366183 25076 80.91.229.3 (5 Jan 2013 06:09:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 5 Jan 2013 06:09:43 +0000 (UTC) To: Sayth Renshaw , "help-gnu-emacs@gnu.org" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jan 05 07:09:59 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TrMxC-00013z-Jj for geh-help-gnu-emacs@m.gmane.org; Sat, 05 Jan 2013 07:09:58 +0100 Original-Received: from localhost ([::1]:40294 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TrMwx-0005iE-8e for geh-help-gnu-emacs@m.gmane.org; Sat, 05 Jan 2013 01:09:43 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:43180) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TrMwo-0005i5-UN for help-gnu-emacs@gnu.org; Sat, 05 Jan 2013 01:09:38 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TrMX0-0002X1-A2 for help-gnu-emacs@gnu.org; Sat, 05 Jan 2013 00:43:13 -0500 Original-Received: from mail-la0-f51.google.com ([209.85.215.51]:63412) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TrMWz-0002SO-Oe for help-gnu-emacs@gnu.org; Sat, 05 Jan 2013 00:42:53 -0500 Original-Received: by mail-la0-f51.google.com with SMTP id fj20so10950099lab.38 for ; Fri, 04 Jan 2013 21:42:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=Zwp5E1EN/9Rmtq4bxf3PmTTi1JaWfma7cQ/+aAYuye0=; b=Vibb3SIYXAGMxQebh7kT3RugkESwNt9xOD1jeXqffQVf2BpmHIoZ4tcKzdscPGB88s X+cL3R6iE+glFyEQpmF195PeXK2aI7+VZWmH77AzVIoOaLNO1qL3peTNAX1V0y4zQXSW NNppKNi2zKuAgArj5Q2HEVfrUH1k3ETNyW7mb4e2OdqYaW2EkXhy4RKOdxzYqtjtSdzm DsHnlsXAH5mBR5osm/LJ+ZeWbUmgHhBb3S8bHDhNiu0Hb2aCAFfLihqvKHJTjrDJiNzv 6IzXVSv6n5TN6SQReTEvUGc56r0HG9PWOiutXWJBaqsLnQH5A547WXTSJlYu1FkJc3in ldfQ== X-Received: by 10.152.132.69 with SMTP id os5mr51779713lab.15.1357364572614; Fri, 04 Jan 2013 21:42:52 -0800 (PST) Original-Received: from [127.0.0.1] ([178.252.98.87]) by mx.google.com with ESMTPS id ja10sm20090344lab.6.2013.01.04.21.42.50 (version=SSLv3 cipher=OTHER); Fri, 04 Jan 2013 21:42:51 -0800 (PST) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.215.51 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:88466 Archived-At: 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.