From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: select 'mode' from command line? Date: Thu, 30 Jun 2005 16:04:22 +0200 Message-ID: <57743567b2416be7eac3d9859654015e@Web.DE> References: <7db78fe19f8ca2a7f1668ac6c7ba5654@Web.DE> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v622) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1120140548 10536 80.91.229.2 (30 Jun 2005 14:09:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 30 Jun 2005 14:09:08 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jun 30 16:09:00 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DnziG-0003Ni-8d for geh-help-gnu-emacs@m.gmane.org; Thu, 30 Jun 2005 16:08:20 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DnzqW-00058Y-Cf for geh-help-gnu-emacs@m.gmane.org; Thu, 30 Jun 2005 10:16:52 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Dnzpf-0004rK-Kr for help-gnu-emacs@gnu.org; Thu, 30 Jun 2005 10:16:00 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DnzpY-0004oa-1r for help-gnu-emacs@gnu.org; Thu, 30 Jun 2005 10:15:53 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DnzpX-0004hK-UU for help-gnu-emacs@gnu.org; Thu, 30 Jun 2005 10:15:51 -0400 Original-Received: from [217.72.192.209] (helo=smtp05.web.de) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DnzjN-00066Z-Fi for help-gnu-emacs@gnu.org; Thu, 30 Jun 2005 10:09:29 -0400 Original-Received: from [84.245.189.182] (helo=[192.168.1.2]) by smtp05.web.de with asmtp (TLSv1:RC4-SHA:128) (WEB.DE 4.105 #297) id 1DnzeR-0006um-00; Thu, 30 Jun 2005 16:04:24 +0200 In-Reply-To: Original-To: Gustavo Seabra X-Mailer: Apple Mail (2.622) X-Sender: Peter_Dyballa@web.de 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:27733 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:27733 Am 30.06.2005 um 00:24 schrieb Gustavo Seabra: > I had to use: > > !C -*- mode: f90; coding: iso-8859-15; -*- > > instead. Otherwise the f90 compiler complains (the "C" on the 1st line > is not understood as a comment in F90, "!" is. Ahemm, my FORTRAN seems to be from '66! I thought you still have to put a C in column 6 ... Actually Emacs reads what's between the -*- markers, the C is not part of the syntax, as Miles Bader remarks! -- Greetings Pete "Computers are good at following instructions, but not at reading your mind." D. E. Knuth, The TeXbook, Addison-Wesley 1984, 1986, 1996, p. 9