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

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

Re: Always use UTF-8 mode with certain files


From: Steven Degutis
Subject: Re: Always use UTF-8 mode with certain files
Date: Tue, 23 Apr 2013 12:07:38 -0500

This isn't a direct answer to the question, but I would point you to
tip #1 in https://github.com/sdegutis/using-emacs#tips-about-pragmaticism

-Steven

On Tue, Apr 23, 2013 at 7:25 AM, Juha Nieminen <juha.nieminen@gmail.com> wrote:
> Hello.
>
> I would like for emacs to always use UTF-8 mode when opening certain
> files (similarly as to what happens if I do a C-x C-m r utf-8, but
> just when normally opening a file.) For example I would like this to
> be the case when opening files with extensions .m, .mm and .h.
>
> I don't know what to write in the .emacs file for this to happen. (And
> obviously it shouldn't interfere with any other hooks that are
> triggered when opening such files...)
>



reply via email to

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