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: Fri, 04 Jan 2013 20:11:53 +0400 Message-ID: <50E6FF49.8010305@yandex.ru> References: <558f5257-18a8-46c4-8a41-71ea6066449e@googlegroups.com> <87bod6mjkv.fsf@yandex.ru> <87r4m2cn6a.fsf@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 1357315934 5673 80.91.229.3 (4 Jan 2013 16:12:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 4 Jan 2013 16:12:14 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Sayth Renshaw Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jan 04 17:12:30 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 1Tr9sh-0000GV-9T for geh-help-gnu-emacs@m.gmane.org; Fri, 04 Jan 2013 17:12:27 +0100 Original-Received: from localhost ([::1]:42002 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tr9sR-0006jf-W6 for geh-help-gnu-emacs@m.gmane.org; Fri, 04 Jan 2013 11:12:11 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:34953) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tr9sF-0006e3-Tb for help-gnu-emacs@gnu.org; Fri, 04 Jan 2013 11:12:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tr9sA-0006Du-UZ for help-gnu-emacs@gnu.org; Fri, 04 Jan 2013 11:11:59 -0500 Original-Received: from mail-la0-f47.google.com ([209.85.215.47]:33867) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tr9sA-0006Dh-Mf for help-gnu-emacs@gnu.org; Fri, 04 Jan 2013 11:11:54 -0500 Original-Received: by mail-la0-f47.google.com with SMTP id fh20so9774049lab.6 for ; Fri, 04 Jan 2013 08:11:53 -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 :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=Eg+zEZ1K9jWt+WQBAe4HD5Pu3hu24vjr/EvaxUA8JbU=; b=Bs15X3BAH5Y6MmfXuYo8uEeuLXW60rM61ENy8yPz3lbnpYSN/as6JMOQR/Qg0e73z1 PZ1Rbkofy0TXl+lL14jMHRL6xkSXv00Ec+TnKpdpp6aRLp0bJKne1zbmh2AVZyqqWRx0 jcQvJgFmuFXPqgQI0esZemZIixGvzPrayQe57gXkfvBqI7hAzfTIlv2QQRtem05Al/AD uvmIT6F5dA1/Vo7ws7ZSpFCMs/B7max/C/0TeCbMYy2Jk5iouRrwyLsDgCII6eWe1fGT DlNWL7mRzZFs5XCX94pmmwl2NkZfjEVljo3/PHE+8zG4FcfUAp/INhhfinl/D1K9PF9P 8kLg== X-Received: by 10.152.148.40 with SMTP id tp8mr50426464lab.30.1357315913289; Fri, 04 Jan 2013 08:11:53 -0800 (PST) Original-Received: from [127.0.0.1] ([178.252.98.87]) by mx.google.com with ESMTPS id if8sm19574434lab.1.2013.01.04.08.11.51 (version=SSLv3 cipher=OTHER); Fri, 04 Jan 2013 08:11: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.47 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:88444 Archived-At: On 04.01.2013 15:11, Sayth Renshaw wrote: > >> inf-ruby-proc: No current process. See variable inf-ruby-buffer > > > > > Is this you trying to make Robe completion work? Because it does not > > look related to the expressions I asked you to evaluate. > > Sorry, I've just now realized that this is probably the result of you > typing `C-x C-e' is a ruby-mode buffer with inf-ruby initialized. > > inf-ruby rebinds this key combination, but you can do `M-x > eval-last-sexp', or, since you have starter-kit installed, > `M-x esk-eval-and-replace'. > > > major mode = ruby-mode > indent-line-function = ruby-indent-line > > (find-library-name "ruby-mode") > 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 record nil) > command-execute(eval-last-sexp record) > smex-read-and-run(("eval-last-sexp" "esk-eval-and-replace" > "package-list-packages" "package-install" "cd" "df" "5x5" "ecb-activate" > "all" "arp" "dbx" "dig" "erc" "ert" "ftp" "gdb" "irc" "jdb" "man" "mpc" > "pdb" "pwd" "rsh" "sdb" "tld" "xdb" "yow" "calc" "diff" "ffap" "ffip" > "gnus" "grep" "help" "ielm" "info" "life" "mail" "mpuz" "ping" "pong" > "rake" "smex" "talk" "term" "undo" "yank" "zone" "align" "bruce" ...)) > smex() > call-interactively(smex nil nil) Very well, please evaluate (require 'find-func), and then try the last expression again.