unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Always use UTF-8 mode with certain files
@ 2013-04-23 12:25 Juha Nieminen
  2013-04-23 17:07 ` Steven Degutis
  2013-04-23 19:02 ` Peter Dyballa
  0 siblings, 2 replies; 3+ messages in thread
From: Juha Nieminen @ 2013-04-23 12:25 UTC (permalink / raw)
  To: help-gnu-emacs

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...)



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-04-23 19:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-23 12:25 Always use UTF-8 mode with certain files Juha Nieminen
2013-04-23 17:07 ` Steven Degutis
2013-04-23 19:02 ` Peter Dyballa

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).