From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?iso-8859-1?Q?Jochen_K=FCpper?= Newsgroups: gmane.emacs.help Subject: Re: select 'mode' from command line? Date: Thu, 30 Jun 2005 11:39:25 +0200 Organization: Fritz-Haber-Institut der MPG Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1120126076 30849 80.91.229.2 (30 Jun 2005 10:07:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 30 Jun 2005 10:07:56 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Thu Jun 30 12:07:51 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DnvxH-0003vs-Dh for geh-help-gnu-emacs@m.gmane.org; Thu, 30 Jun 2005 12:07:35 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dnw5U-0000nU-Au for geh-help-gnu-emacs@m.gmane.org; Thu, 30 Jun 2005 06:16:04 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DnvwA-0007Q9-4Y for help-gnu-emacs-mXXj517/zsQ@public.gmane.org; Thu, 30 Jun 2005 06:06:26 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Dnvw7-0007PR-I8 for help-gnu-emacs-mXXj517/zsQ@public.gmane.org; Thu, 30 Jun 2005 06:06:24 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dnvud-0006oU-0E for help-gnu-emacs-mXXj517/zsQ@public.gmane.org; Thu, 30 Jun 2005 06:04:51 -0400 Original-Received: from [151.189.21.45] (helo=mail-in-01.arcor-online.net) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1Dnvav-0005if-4h for help-gnu-emacs-mXXj517/zsQ@public.gmane.org; Thu, 30 Jun 2005 05:44:29 -0400 Original-Received: from mail-in-07-z2.arcor-online.net (mail-in-07-z2.arcor-online.net [151.189.8.19]) by mail-in-01.arcor-online.net (Postfix) with ESMTP id 11CF034578 for ; Thu, 30 Jun 2005 11:39:26 +0200 (CEST) Original-Received: from mail-in-08.arcor-online.net (mail-in-08.arcor-online.net [151.189.21.48]) by mail-in-07-z2.arcor-online.net (Postfix) with ESMTP id 12A9D1310AE for ; Thu, 30 Jun 2005 11:39:25 +0200 (CEST) Original-Received: from doze.jochen-kuepper.de.fhi-berlin.mpg.de (dsl-082-082-202-097.arcor-ip.net [82.82.202.97]) by mail-in-08.arcor-online.net (Postfix) with ESMTP id 9415152B96 for ; Thu, 30 Jun 2005 11:39:25 +0200 (CEST) Original-To: help-gnu-emacs-mXXj517/zsQ@public.gmane.org In-Reply-To: (Gustavo Seabra's message of "Wed, 29 Jun 2005 19:25:06 +0000 (UTC)") Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAMFBMVEUcGRSqioSCPi7Cwbxu Vk5MQjycXkxMKiQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFG2qEAAAB5klEQVR42nXUwY7aMBAA UK8E4tqpI/fMKIWzFdBewcwm10WA9tpksz6zFci/37GdxF7a+mLwi2fGQ4yo/jPE9AkaIcRM/gU7 EcfTA/zgtWsuEfRmWPVjlsOryMYpAYgvYz9B8RXmhxHEw/gcQD+sz/cDbMLXhbu7a6j6Nob6FuDW U21+uje8nuUA/rnXxR4ArCWi5jhWJSJUmoWop7HckPt+Bz6PsrYmexgg5HY3CDvKuq/lAM9hB4VQ HfZEMt8xj2BLSrD1cDlThNJMoXSEWnroDJr3HM5nDtUbRIPuluDqLlx8YdYuh0o87S6+DWANUrn+ Pf0eO7vh1Awf98XKXi/jAatnCwU/Bebl5pZqjRNs2xa4IcoqdEuN5QSbFn3pYLkqqbtyLLfSEbQi XEn4jsvpZRiAO7UCUCYBhE7zhAgSclAyToiSO5xgA+8RONYqD6X3YYdWnakJU1WVPsaI0LXU5VBF kMr6aJTBPk4KfP5SJoAYEXpE5/4FVnVrpHQ/tny/pAduZl/bBDsGLbkqD7ZN0PgbCfwucPL49gzd pZmPw22SoPoc+iZkAL+J6nRrdQEHf+4Qqm4TFJJ8idxYrumY/QEAFHQI65xhcZqgOEHhTAhk6WUu jgPohnc4wgD21+zN+c79AZmNym6Cgz4IAAAAAElFTkSuQmCC X-Archive: encrypt X-Attribution: Jochen OpenPGP: id=CC1B0B4D; url=http://jochen-kuepper.de/computer/keys.asc X-Request-PGP: http://jochen-kuepper.de/computer/keys.asc X-URL: http://jochen-kuepper.de Original-Lines: 23 X-BeenThere: help-gnu-emacs-mXXj517/zsQ@public.gmane.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-mXXj517/zsQ@public.gmane.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Xref: news.gmane.org gmane.emacs.help:27730 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:27730 Gustavo Seabra writes: > I'm working witha code that has both fortran 77 and fortran 90 parts. All= the=20 > files, however, are named *.f, and emacs always opens them with the 'fort= ran=20 > mode', which is actually more fortran77. So, I wonder if there's a way to= tell=20 > emacs to use a specific 'mode' from the command line, overriding the defa= ult=20 > definition.=20 Can you put Local Variable "cookies" into these files? ,----[ (info "(emacs)File Variables") ] | A file can specify local variable values for use when you edit the file | with Emacs. Visiting the file checks for local variable | specifications; it automatically makes these variables local to the | buffer, and sets them to the values specified in the file. `---- Greetings, Jochen --=20 Einigkeit und Recht und Freiheit http://www.Jochen-Kuepper.de Libert=E9, =C9galit=E9, Fraternit=E9 GnuPG key: CC1B0B4D (Part 3 you find in my messages before fall 2003.)