From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: snack Newsgroups: gmane.emacs.help Subject: problems configuring xemacs for rails on ubuntu Date: Sat, 8 Mar 2008 18:17:29 -0800 (PST) Organization: http://groups.google.com Message-ID: <17d3aa79-edac-464c-8118-7321d2aaeccc@e6g2000prf.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1205038184 28773 80.91.229.12 (9 Mar 2008 04:49:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 9 Mar 2008 04:49:44 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Mar 09 05:50:11 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JYDU8-0006Xm-TV for geh-help-gnu-emacs@m.gmane.org; Sun, 09 Mar 2008 05:50:09 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JYDTa-0005Za-SU for geh-help-gnu-emacs@m.gmane.org; Sat, 08 Mar 2008 23:49:34 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!e6g2000prf.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 88 Original-NNTP-Posting-Host: 208.120.67.252 Original-X-Trace: posting.google.com 1205029050 17060 127.0.0.1 (9 Mar 2008 02:17:30 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sun, 9 Mar 2008 02:17:30 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: e6g2000prf.googlegroups.com; posting-host=208.120.67.252; posting-account=Gs-tWQoAAAC_ij35KMkW-wy85nqCYDX5 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3) Gecko/20061201 Firefox/2.0.0.3 (Ubuntu-feisty),gzip(gfe),gzip(gfe) Original-Xref: shelby.stanford.edu gnu.emacs.help:156802 X-Mailman-Approved-At: Sat, 08 Mar 2008 23:48:38 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:52176 Archived-At: i set out to install emacs for ruby/rails. after poking around a bit, i came up with the following packages of emacs add-ons (which either seemed helpful in and of themselves, or were depended on by other helpful bits.): ecb (code browser) ruby-elisp (ruby-mode etc) emacs-rails (rails minor mode ect) mmm (multiple major mode) snippets find-recursive this is all pretty much new territory for me, including the linux box on which i'm experimenting. on the other hand, i don't mind getting my hands dirty (that's sort of the point, at least as far as i am able). the above list was gleaned from five or six different websites/blogs, and each has its own prescription for appropriate additions to my .emacs -- so i'm having to sort of collage all these authors imput together. i think i've integrated most of the suggestions that came with these packages, and i'm smoothed out various issues such as: * moved all lisp into ~/.elisp/ (probably not necessary, but it seemed it couldn't hurt...) * enumerated subdirs in the load-path with ~/.elisp/subdirs.el * expanded pathnames in my home directory to make them xemacs compliant ie, (add-to-list 'load-path (expand-file-name "~/.elisp")) in other words i've caught everything that leaped out at me. but i still get emacs telling me that it can't find things. currently it give this message: File error: Cannot open load file, mmm-compat run-hooks: Cannot open load file: semantic-el if i run emacs with the --debug-init flag, i get this: Debugger entered--Lisp error: (file-error "Cannot open load file" "mmm-compat") require(mmm-compat) byte-code("=C3=80=C3=81!!!!!!!!!=C2=87" [require cl font-lock mmm-compat = mmm-utils mmm-vars mmm-auto mmm-region mmm-class mmm-univ] 2) load("/home/matokie/.elisp/site-lisp/mmm-mode/mmm-mode.elc" nil nil t) load-file("/home/matokie/.elisp/site-lisp/mmm-mode/mmm-mode.elc") eval-buffer(# nil "/home/matokie/.emacs" nil t) ; Reading at buffer position 703 load-with-code-conversion("/home/matokie/.emacs" "/home/ matokie/.emacs" t t) load("~/.emacs" t t) #[nil "=08=E0=B8=9E up to this point, i could always add an explicit load-file for whatever was missing, and it emacs would then tell me the next missing thing. ie, (load-file (expand-file-name "~/.elisp/site-lisp/mmm-mode/mmm-compat.elc")) Unfortunately, it seems i've reached a dead end, as this tactic won't work for mmm-compat, and i don't really understand the run-hooks error. i hope i don't sound like too much of a neophyte for anyone to even bother with -- i'd really appreciate any input or tactics that anyone could suggest. thanks, josh