From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: David Wende Newsgroups: gmane.emacs.help Subject: ruby-mode not started automatically Date: Wed, 18 Jun 2003 16:45:34 +0200 Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1255" X-Trace: main.gmane.org 1055944211 8772 80.91.224.249 (18 Jun 2003 13:50:11 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 18 Jun 2003 13:50:11 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Wed Jun 18 15:50:04 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19SdK7-0002GS-00 for ; Wed, 18 Jun 2003 15:50:04 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19SdIR-0004zt-Qz for gnu-help-gnu-emacs@m.gmane.org; Wed, 18 Jun 2003 09:48:19 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19SdHv-0004to-Ro for help-gnu-emacs@gnu.org; Wed, 18 Jun 2003 09:47:47 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19SdHg-00048B-Ug for help-gnu-emacs@gnu.org; Wed, 18 Jun 2003 09:47:39 -0400 Original-Received: from [212.150.197.235] (helo=kerberos.lynxpn.com) by monty-python.gnu.org with esmtp (Exim 4.20) id 19SdHI-0003HH-36 for help-gnu-emacs@gnu.org; Wed, 18 Jun 2003 09:47:08 -0400 Original-Received: from atlas.lynxpn.com (unverified) by kerberos.lynxpn.com for ; Wed, 18 Jun 2003 15:54:22 +0200 Original-Received: by ATLAS with Internet Mail Service (5.5.2653.19) id ; Wed, 18 Jun 2003 16:45:34 +0200 Original-To: "'help-gnu-emacs@gnu.org'" X-Mailer: Internet Mail Service (5.5.2653.19) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:11050 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:11050 Using emacs 21.2.1 under Win2K. Problem: When I visit a ruby file (*.rb) the ruby mode is NOT entered automatically. The file "ruby-mode.el" is apparently in the correct place since a doing M-: (load "ruby-mode") does work and start the mode. I have the following 2 lines in my .emacs (add-to-list 'auto-mode-alist '("\\.rb$" . ruby-mode)) (autoload 'ruby-mode "Ruby mode" "Ruby mode" t) but this apparently does not work. HELP!! David Wende