From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: specifying coding system on the first/second line Date: Wed, 12 Oct 2005 11:44:09 -0400 Organization: Bell Sympatico Message-ID: <873bn668sg.fsf-monnier+gnu.emacs.help@gnu.org> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1129132047 13525 80.91.229.2 (12 Oct 2005 15:47:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 12 Oct 2005 15:47:27 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Oct 12 17:47:26 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EPinA-0000uW-LI for geh-help-gnu-emacs@m.gmane.org; Wed, 12 Oct 2005 17:45:20 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EPin9-0000h9-A0 for geh-help-gnu-emacs@m.gmane.org; Wed, 12 Oct 2005 11:45:19 -0400 Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:75rANBX0cMbFj7cZfQeIOsYl470= Original-Lines: 13 Original-NNTP-Posting-Host: 70.48.81.29 Original-X-Complaints-To: abuse@sympatico.ca Original-X-Trace: news20.bellglobal.com 1129131849 70.48.81.29 (Wed, 12 Oct 2005 11:44:09 EDT) Original-NNTP-Posting-Date: Wed, 12 Oct 2005 11:44:09 EDT Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news3.google.com!news.glorb.com!news.louisville.edu!tor-nx1!webster!nf1.bellglobal.com!nf2.bellglobal.com!news20.bellglobal.com.POSTED!not-for-mail Original-Xref: shelby.stanford.edu gnu.emacs.help:134591 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:30172 Archived-At: > On the second line of my file I have the following text: > # -*- coding: utf-8;-*- > The first line is an interpreter command. > Nevertheless when the file is loaded, it preserves its default coding. > Running emacs on unix is ok and putting the construct on the first line > is ok as well. > GNU Emacs 21.3.1 (i386-mingw-nt5.1.2600) Presuming that by "interpreter command" you mean that the first line starts with #!, then it sounds like a bug. Try M-x report-emacs-bug Stefan