From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: ruby-mode : ruby-mode-set-encoding Date: Tue, 03 Mar 2009 23:07:42 -0500 Message-ID: References: <87tz6ak9bq.fsf@gmail.com> <49adca00.14098e0a.2c79.ffff83d1@mx.google.com> <878wnm9h65.fsf@xemacs.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1236139678 15783 80.91.229.12 (4 Mar 2009 04:07:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 4 Mar 2009 04:07:58 +0000 (UTC) Cc: emacs-devel@gnu.org, Nobuyoshi Nakada , Leo To: "Stephen J. Turnbull" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 04 05:09:15 2009 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.50) id 1LeiPx-0000iQ-PM for ged-emacs-devel@m.gmane.org; Wed, 04 Mar 2009 05:09:14 +0100 Original-Received: from localhost ([127.0.0.1]:47114 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LeiOc-0001wk-Bo for ged-emacs-devel@m.gmane.org; Tue, 03 Mar 2009 23:07:50 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LeiOX-0001wB-Tu for emacs-devel@gnu.org; Tue, 03 Mar 2009 23:07:45 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LeiOV-0001vz-WB for emacs-devel@gnu.org; Tue, 03 Mar 2009 23:07:45 -0500 Original-Received: from [199.232.76.173] (port=47450 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LeiOV-0001vw-SC for emacs-devel@gnu.org; Tue, 03 Mar 2009 23:07:43 -0500 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182]:14769 helo=ironport2-out.teksavvy.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LeiOV-0002dw-FB for emacs-devel@gnu.org; Tue, 03 Mar 2009 23:07:43 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApAFADONrUnO+KX2/2dsb2JhbACBTtR5hAgGhAE X-IronPort-AV: E=Sophos;i="4.38,298,1233550800"; d="scan'208";a="34666830" Original-Received: from 206-248-165-246.dsl.teksavvy.com (HELO ceviche.home) ([206.248.165.246]) by ironport2-out.teksavvy.com with ESMTP; 03 Mar 2009 23:07:42 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id 5B1BEB40C3; Tue, 3 Mar 2009 23:07:42 -0500 (EST) In-Reply-To: <878wnm9h65.fsf@xemacs.org> (Stephen J. Turnbull's message of "Wed, 04 Mar 2009 11:05:06 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.90 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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:109432 Archived-At: >> So you're saying that Ruby uses the same "-*- coding: -*-" as used >> by Emacs? That makes sense, then, thank you, > As does Python, and it is mandatory in Python for non-ASCII IIRC. See > PEP 263 for details. AFAIK Python modes don't try to enforce it > (yet), but they might in the future, for the same reasons that > ruby-mode does. Interesting. Why don't they just force the use of some arbitrarily chosen variant of Unicode? Stefan