From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sayth Renshaw Newsgroups: gmane.emacs.help Subject: Re: Ruby and RubyOn Rails setup - Cannot enable indentation and snippets Date: Sun, 6 Jan 2013 08:07:06 +1100 Message-ID: References: <558f5257-18a8-46c4-8a41-71ea6066449e@googlegroups.com> <87bod6mjkv.fsf@yandex.ru> <87r4m2cn6a.fsf@yandex.ru> <50E6FF49.8010305@yandex.ru> <50E7BD5F.6030803@yandex.ru> <50E83FE2.1000509@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=bcaec550b3367bacc204d290fa3f X-Trace: ger.gmane.org 1357420040 23923 80.91.229.3 (5 Jan 2013 21:07:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 5 Jan 2013 21:07:20 +0000 (UTC) Cc: "help-gnu-emacs@gnu.org" To: Dmitry Gutov Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jan 05 22:07:37 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 1Traxq-0007Qp-T7 for geh-help-gnu-emacs@m.gmane.org; Sat, 05 Jan 2013 22:07:35 +0100 Original-Received: from localhost ([::1]:60302 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Traxb-0005Bk-Dg for geh-help-gnu-emacs@m.gmane.org; Sat, 05 Jan 2013 16:07:19 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:48566) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TraxS-0005Bb-OV for help-gnu-emacs@gnu.org; Sat, 05 Jan 2013 16:07:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TraxP-0001B5-U4 for help-gnu-emacs@gnu.org; Sat, 05 Jan 2013 16:07:10 -0500 Original-Received: from mail-la0-f49.google.com ([209.85.215.49]:43211) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TraxP-0001B0-Fc for help-gnu-emacs@gnu.org; Sat, 05 Jan 2013 16:07:07 -0500 Original-Received: by mail-la0-f49.google.com with SMTP id fk20so11797077lab.22 for ; Sat, 05 Jan 2013 13:07:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=WdizdGHsuC8R6/eFQXTN4b5+LEk7Iv8JBovA12pt2wU=; b=gt8MEt9ULLVY9LSnQQ0QzBslXzhpxvrt9BouX4AygZiOyzgn/GAYh1gKzmpV0/4FJl aYInLMwR7yiglK24/Eyg6PbY9gaM1vVMyOd9QDngnmzOtvOoJu8/6C42dqss3WMwki9s vfh/j3MgeYPnJqb9mPC2c7T6TOKUd52a7cwgPZOEB1GEiLau4jDIo2v5kPQuS9e5Jfns ZnNlF9WeDDBuy/ixlmBlbGWCAhxavGsyD/kOnseZwQVp/WjfC5MYC1NWdVMmx+89W9Q5 /Dyzg5tbQlT524lU0y81qjooRnLOj59RjoZBIQD58lPKUBT9UeGWCl1K73dEZ7xIOhaM 5rCg== Original-Received: by 10.152.45.229 with SMTP id q5mr53432444lam.34.1357420026375; Sat, 05 Jan 2013 13:07:06 -0800 (PST) Original-Received: by 10.114.24.37 with HTTP; Sat, 5 Jan 2013 13:07:06 -0800 (PST) In-Reply-To: <50E83FE2.1000509@yandex.ru> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.215.49 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:88475 Archived-At: --bcaec550b3367bacc204d290fa3f Content-Type: text/plain; charset=ISO-8859-1 On Sunday, January 6, 2013, Dmitry Gutov wrote: > On 05.01.2013 16:53, Sayth Renshaw wrote: > >> 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) >> > > This error says is can't find the function find-library-name, which should > be fixed with (require 'find-func). > > But we're trying to solve the problem with indentation, not this. > > > So I installed ruby-mode from melpa and it now works. I installed robe > and ruby-electric all seems to work. > > Well, that's good. But are you saying that stuff didn't work before you > installed it? > > The Fedora emacs-common package has a byte-compiled ruby-mode included: > > http://pkgs.org/fedora-**rawhide/fedora-i386/emacs-** > common-24.2-7.fc19.i686.rpm.**html > > (Which is, I guess, the reason we couldn't find the library, uncompiled > sources are in separate package: http://pkgs.org/fedora-** > rawhide/fedora-i386/emacs-el-**24.2-7.fc19.noarch.rpm.html > ) > > I guess the ruby-mode from Melpa is good enough for now, but please don't > forget to uninstall it when Emacs 24.3 comes out. > Ok Thanks for your patient help. Sayth --bcaec550b3367bacc204d290fa3f Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Sunday, January 6, 2013, Dmitry Gutov wrote:
On 05.01.2013 16:53, Sayth Renshaw wrote:
=A0 =A0 I don't understand why (find-library-name "ruby-mode"= ) still signals
=A0 =A0 error, but hopefully after you uninstall ruby-mode from Marmalade =A0 =A0 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)
=A0 =A0(find-library-name "ruby-mode")
=A0 =A0eval((find-library-name "ruby-mode") nil)
=A0 =A0eval-last-sexp-1(nil)
=A0 =A0eval-last-sexp(nil)
=A0 =A0call-interactively(eval-last-sexp t nil)
=A0 =A0execute-extended-command(nil)
=A0 =A0call-interactively(execute-extended-command nil nil)

This error says is can't find the function find-library-name, which sho= uld be fixed with (require 'find-func).

But we're trying to solve the problem with indentation, not this.

> So I installed ruby-mode from melpa and it now works. I installed robe= and ruby-electric all seems to work.

Well, that's good. But are you saying that stuff didn't work before= you installed it?

The Fedora emacs-common package has a byte-compiled ruby-mode included:

http://pkgs.org/fedora-rawhide/= fedora-i386/emacs-common-24.2-7.fc19.i686.rpm.html

(Which is, I guess, the reason we couldn't find the library, uncompiled= sources are in separate package: http:/= /pkgs.org/fedora-rawhide/fedora-i386/emacs-el-24.2-7.fc19.noa= rch.rpm.html)

I guess the ruby-mode from Melpa is good enough for now, but please don'= ;t forget to uninstall it when Emacs 24.3 comes out.

Ok=A0

Thanks for = your patient help.

Sayth=A0
--bcaec550b3367bacc204d290fa3f--