all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* minor annoyance with automatic insertion of encoding string
@ 2014-01-30  0:37 varro
  2014-01-30  1:42 ` Stefan Monnier
       [not found] ` <mailman.13141.1391046319.10748.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 3+ messages in thread
From: varro @ 2014-01-30  0:37 UTC (permalink / raw)
  To: help-gnu-emacs

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.  I assume this has something to do with my
having:

(setq-default buffer-file-coding-system 'utf-8-unix)

in my .emacs file, but I don't understand the reason for this and find
it a bit annoying.  Can anyone enlighten me on why this is happening?

-- 
Will


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

end of thread, other threads:[~2014-01-30 20:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-30  0:37 minor annoyance with automatic insertion of encoding string varro
2014-01-30  1:42 ` Stefan Monnier
     [not found] ` <mailman.13141.1391046319.10748.help-gnu-emacs@gnu.org>
2014-01-30 20:40   ` varro

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.