help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: minor annoyance with automatic insertion of encoding string


From: varro
Subject: Re: minor annoyance with automatic insertion of encoding string
Date: 30 Jan 2014 20:40:11 GMT
User-agent: slrn/1.0.1 (FreeBSD)

Stefan Monnier wrote:
>> I've noticed that when I insert a non-ASCII character into one of my
>> source files, Emacs automatically inserts an encoding directive like:
>> # -*- coding: utf-8 -*-
>> when I save the file.
>
> AFAIK, this should not happen with a vanilla Emacs, so it probably comes
> from one of the customizations you're using.

On further investigation, it seems to be feature of ruby-mode, and happens
even if I remove my .emacs file.

-- 
Will


reply via email to

[Prev in Thread] Current Thread [Next in Thread]