From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.devel Subject: Re: Ellispes is not in utf-8? Date: Thu, 23 Dec 2010 10:26:48 +0800 Message-ID: <4D12B368.2010300@gnu.org> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1293071238 23833 80.91.229.12 (23 Dec 2010 02:27:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 23 Dec 2010 02:27:18 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 23 03:27:14 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PVatd-00087i-2a for ged-emacs-devel@m.gmane.org; Thu, 23 Dec 2010 03:27:13 +0100 Original-Received: from localhost ([127.0.0.1]:47840 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PVatc-0000ld-Gj for ged-emacs-devel@m.gmane.org; Wed, 22 Dec 2010 21:27:12 -0500 Original-Received: from [140.186.70.92] (port=57096 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PVatY-0000lY-1k for emacs-devel@gnu.org; Wed, 22 Dec 2010 21:27:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PVatW-00062k-Rl for emacs-devel@gnu.org; Wed, 22 Dec 2010 21:27:07 -0500 Original-Received: from mail-pw0-f41.google.com ([209.85.160.41]:62880) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PVatW-00062e-Jd for emacs-devel@gnu.org; Wed, 22 Dec 2010 21:27:06 -0500 Original-Received: by pwj8 with SMTP id 8so522425pwj.0 for ; Wed, 22 Dec 2010 18:27:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=xWaPf7yn2SWS8O2unFvXToJtm29+dZX/LK+xJQq9N3k=; b=ILqPxMuME9NExmeNAllEcRnmnPS8lw3Brc/kJ8y6yRM9mmPqJSLN4qyRPjilUv1NMv gL0uHt7Iq8ZSE99mmsOvjsVz4Yg8icVgTAYfEJs9T1p7Lr8Y+aAqT+9UIY+qeMJTJrH3 HTCO3SebNNx0FXTccB9480xa9EdK1sDiaCW6k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; b=rYqw4D9M2RhiychFm4TH7B5suuEXkHbQQiafFAKk+O/WHo9iNHfgSi26uxXcexQnd+ th+XNv7JXRK37sAdPrwZN/vJDSkWFEDV0rxpJWxMgAREk60/GvaFe/FfJ2OweC4DY0+2 89XKWeXn5Rz9hUJYlPmEZegv0O5TXyKXNaLEc= Original-Received: by 10.142.246.11 with SMTP id t11mr6074321wfh.362.1293071225273; Wed, 22 Dec 2010 18:27:05 -0800 (PST) Original-Received: from [10.1.1.54] ([61.4.103.130]) by mx.google.com with ESMTPS id w14sm9981894wfd.18.2010.12.22.18.27.01 (version=SSLv3 cipher=RC4-MD5); Wed, 22 Dec 2010 18:27:03 -0800 (PST) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:133912 Archived-At: On 23/12/2010 09:47, Lennart Borgman wrote: > I just copied ellipses from this page: > > http://en.wikipedia.org/wiki/Ellipsis > > and inserted them (with cua-paste) in a ruby file. At the end of this > file I added: > > # Local variables: > # coding: utf-8 > # End: > > This seems to be a bug in ruby-mode. It has a feature that automatically inserts a coding header to the start of the file, which is enabled by default. However, this does not respect the manual setting that you made in the buffer - nor does it respect any changes you make to the header that it has inserted. It seems you are forced to use C-x RET f to set the coding-system if you want ruby-mode to respect your request.