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: Wed, 12 Oct 2005 21:49:21 +0200 Organization: Czech Technical University Message-ID: References: <873bn668sg.fsf-monnier+gnu.emacs.help@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1129151321 16676 80.91.229.2 (12 Oct 2005 21:08:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 12 Oct 2005 21:08:41 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Oct 12 23:08:40 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EPnob-0000NS-83 for geh-help-gnu-emacs@m.gmane.org; Wed, 12 Oct 2005 23:07:10 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EPngm-0000Fs-IH for geh-help-gnu-emacs@m.gmane.org; Wed, 12 Oct 2005 16:59:04 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news1.google.com!newsread.com!news-xfer.newsread.com!nntp.abs.net!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: 19 Original-NNTP-Posting-Host: 195.93.broadband2.iol.cz Original-X-Trace: ns.felk.cvut.cz 1129146561 434 83.208.93.195 (12 Oct 2005 19:49:21 GMT) Original-X-Complaints-To: usenet@news.felk.cvut.cz Original-NNTP-Posting-Date: Wed, 12 Oct 2005 19:49:21 +0000 (UTC) User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (windows-nt) Cancel-Lock: sha1:dodEKTcA34tDhQCrVWF+zsKC9Po= Original-Xref: shelby.stanford.edu gnu.emacs.help:134601 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:30182 Archived-At: Stefan Monnier writes: >> 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 Yes, I will (report a bug). -- Radek