From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Radomir Hejl Newsgroups: gmane.emacs.help Subject: Re: specifying coding system on the first/second line Date: Tue, 11 Oct 2005 21:49:20 +0200 Organization: Czech Technical University Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1129061276 9734 80.91.229.2 (11 Oct 2005 20:07:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 11 Oct 2005 20:07:56 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Oct 11 22:07:47 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EPQNF-0004Cs-Dn for geh-help-gnu-emacs@m.gmane.org; Tue, 11 Oct 2005 22:05:21 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EPQNE-00062L-OV for geh-help-gnu-emacs@m.gmane.org; Tue, 11 Oct 2005 16:05:20 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.cw.net!news-FFM2.ecrc.de!news.cesnet.cz!crax.cesnet.cz!news.felk.cvut.cz!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 27 Original-NNTP-Posting-Host: 195.93.broadband2.iol.cz Original-X-Trace: ns.felk.cvut.cz 1129060160 52305 83.208.93.195 (11 Oct 2005 19:49:20 GMT) Original-X-Complaints-To: usenet@news.felk.cvut.cz Original-NNTP-Posting-Date: Tue, 11 Oct 2005 19:49:20 +0000 (UTC) User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (windows-nt) Cancel-Lock: sha1:QXggBFOu+omwHryqw05HoBp4mtk= Original-Xref: shelby.stanford.edu gnu.emacs.help:134563 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:30143 Archived-At: Reiner Steib writes: > > ,----[ (info "(emacs)File Variables") ] > | In shell scripts, the first line is used to identify the script > | interpreter, so you cannot put any local variables there. To > | accommodate for this, when Emacs visits a shell script, it looks for > | local variable specifications in the _second_ line. > | > | A "local variables list" goes near the end of the file, in the last > | page. (It is often best to put it on a page by itself.) The local > | variables list starts with a line containing the string `Local > | Variables:', and ends with a line containing the string `End:'. In > | between come the variable names and values, one set per line, as > | `VARIABLE: VALUE'. The VALUEs are not evaluated; they are used > | literally. If a file has both a local variables list and a `-*-' line, > | Emacs processes _everything_ in the `-*-' line first, and _everything_ > | in the local variables list afterward. > | > | Here is an example of a local variables list: [...] > `---- > Thanks, a "local variables list" works. I expected a '-*-' construct on the second line will work too. -- Radek