From: Lute Kamstra <Lute.Kamstra@cwi.nl>
Subject: Re: ruby-mode not started automatically
Date: Wed, 18 Jun 2003 16:50:10 +0200 [thread overview]
Message-ID: <sgdisr3cue5.fsf@occarina.pna.cwi.nl> (raw)
In-Reply-To: <mailman.8153.1055944086.21513.help-gnu-emacs@gnu.org> (David Wende's message of "Wed, 18 Jun 2003 16:45:34 +0200")
David Wende <dwende@lynxpn.com> writes:
> 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.
Does this work?
(add-to-list 'auto-mode-alist '("\\.rb\\'" . ruby-mode))
(autoload 'ruby-mode "ruby-mode" "Ruby mode" t)
Lute.
--
(spook) => "S Box jihad supercomputer"
(insert-file-contents "~/.signature") => (error "`~/.signature' too rude")
next parent reply other threads:[~2003-06-18 14:50 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.8153.1055944086.21513.help-gnu-emacs@gnu.org>
2003-06-18 14:50 ` Lute Kamstra [this message]
2005-01-20 3:41 ` ruby-mode not started automatically Sergei Gnezdov
2005-01-20 5:53 ` Daniel Pittman
2005-01-20 10:23 ` Peter Dyballa
2003-06-18 15:05 ` John Paul Wallington
2003-06-18 16:34 ` Kai Großjohann
2003-06-18 14:45 David Wende
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=sgdisr3cue5.fsf@occarina.pna.cwi.nl \
--to=lute.kamstra@cwi.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).