all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.