unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Jason Rumney <jasonr@gnu.org>
To: emacs-devel@gnu.org
Subject: Re: Ellispes is not in utf-8?
Date: Thu, 23 Dec 2010 10:26:48 +0800	[thread overview]
Message-ID: <4D12B368.2010300@gnu.org> (raw)
In-Reply-To: <AANLkTin_PEWjHhy8RxaM22OK+KEO_4LZkHcxBimNuQ_6@mail.gmail.com>

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.





  reply	other threads:[~2010-12-23  2:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-23  1:47 Ellispes is not in utf-8? Lennart Borgman
2010-12-23  2:26 ` Jason Rumney [this message]
2010-12-23  2:38   ` Lennart Borgman
2010-12-23 14:33     ` Stefan Monnier

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=4D12B368.2010300@gnu.org \
    --to=jasonr@gnu.org \
    --cc=emacs-devel@gnu.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).