unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: "Stephen J. Turnbull" <stephen@xemacs.org>
Cc: emacs-devel@gnu.org, Nobuyoshi Nakada <nobu@ruby-lang.org>,
	Leo <sdl.web@gmail.com>
Subject: Re: ruby-mode : ruby-mode-set-encoding
Date: Tue, 03 Mar 2009 23:07:42 -0500	[thread overview]
Message-ID: <jwv8wnmnd8a.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <878wnm9h65.fsf@xemacs.org> (Stephen J. Turnbull's message of "Wed, 04 Mar 2009 11:05:06 +0900")

>> So you're saying that Ruby uses the same "-*- coding: <foo> -*-" 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




  reply	other threads:[~2009-03-04  4:07 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-03 13:46 ruby-mode : ruby-mode-set-encoding Paul R
2009-03-03 13:55 ` Leo
2009-03-03 16:30   ` Stefan Monnier
2009-03-04  0:23     ` Nobuyoshi Nakada
2009-03-04  1:14       ` Stefan Monnier
2009-03-04  2:05         ` Stephen J. Turnbull
2009-03-04  4:07           ` Stefan Monnier [this message]
2009-03-04  6:10             ` Stephen J. Turnbull
2009-03-04 14:10               ` Stefan Monnier
2009-03-04 15:07                 ` Stephen J. Turnbull
2009-03-04 16:40                   ` Stefan Monnier
2009-03-04  8:25       ` Paul R
2009-03-04 14:13         ` Stefan Monnier
2009-03-04 14:56         ` Nobuyoshi Nakada

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwv8wnmnd8a.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=nobu@ruby-lang.org \
    --cc=sdl.web@gmail.com \
    --cc=stephen@xemacs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).