From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: robert.thorpe@antenova.com Newsgroups: gmane.emacs.help Subject: Re: modes not doing much Date: 12 Aug 2006 07:56:26 -0700 Organization: http://groups.google.com Message-ID: <1155394585.932047.158200@i3g2000cwc.googlegroups.com> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1155397261 28501 80.91.229.2 (12 Aug 2006 15:41:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 12 Aug 2006 15:41:01 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Aug 12 17:41:00 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GBvbb-00043a-NS for geh-help-gnu-emacs@m.gmane.org; Sat, 12 Aug 2006 17:40:56 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GBvbb-0003g5-1Z for geh-help-gnu-emacs@m.gmane.org; Sat, 12 Aug 2006 11:40:55 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!i3g2000cwc.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 27 Original-NNTP-Posting-Host: 163.244.62.65 Original-X-Trace: posting.google.com 1155394589 31328 127.0.0.1 (12 Aug 2006 14:56:29 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sat, 12 Aug 2006 14:56:29 +0000 (UTC) In-Reply-To: User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6,gzip(gfe),gzip(gfe) X-HTTP-Via: 1.0 EMF1ASPROXY03 Complaints-To: groups-abuse@google.com Injection-Info: i3g2000cwc.googlegroups.com; posting-host=163.244.62.65; posting-account=hWoAPxMAAAAnBKSBz1ZivwUPPjEuve7bvVCHZQ8rhrluPfwcBJd92w Original-Xref: shelby.stanford.edu gnu.emacs.help:141008 Original-To: help-gnu-emacs@gnu.org 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:36635 Archived-At: YAD wrote: > So far I've used Ruby mode and HTML mode. > No colors, no auto-indent on . > > So what are the modes doing? Vim and even the > Firefox source viewer have syntax-based colors. > Isn't Emacs supposed to do that too? > > Also, Lisp .cl files and Python .py files are coming up in > Fundamental mode, while OCaml .ml files come up in Lisp mode. > What the heck is going on? :( In addition to what others have said : * Common Lisp files normally end in .lsp or .lisp this is what Emacs expects * You're probably using an old Emacs with no Python support. This will be fixed in the v22. Until then you can install python mode from the python distribution. * Indentation in Emacs is via tab, hit tab and it will auto indent the current like to whatever the mode considers the right indentation. You can get the same behaviour by ending lines with M-j. It doesn't do it automatically so the user has the choice to ignore what the mode thinks is right easily.