From: diegofmonaco <diegofmonaco@hotmail.com>
To: Help-gnu-emacs@gnu.org
Subject: cant stop emacs automatically adding # -*- coding: utf-8 -* when saving files
Date: Thu, 22 Oct 2009 22:11:34 -0700 (PDT) [thread overview]
Message-ID: <26021004.post@talk.nabble.com> (raw)
When I try to save some files in emacs it automatically inserts the
following comment in the first line of the buffer : # -*- coding: utf-8 -*,
and I cant get rid off it!!!!, if I erase it when I save the file emacs
inserts it again!
I have tried everything I have found about emacs and coding systems but
nothing seems to work, I have even tried different versions of emacs 23.0
from ubuntu repositories, 23.1 compiled form source , 23.1 snapshot and with
all its the same problem.
The problem its only with some files but I dont know why!
Please Help! I have been googling for days and nothing.
Thanks in advance!
--
View this message in context: http://www.nabble.com/cant-stop-emacs-automatically-adding----*--coding%3A-utf-8--*-when-saving-files-tp26021004p26021004.html
Sent from the Emacs - Help mailing list archive at Nabble.com.
next reply other threads:[~2009-10-23 5:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-23 5:11 diegofmonaco [this message]
2009-10-23 15:19 ` cant stop emacs automatically adding # -*- coding: utf-8 -* when saving files Peter Dyballa
2009-10-23 15:39 ` diegofmonaco
[not found] ` <mailman.9336.1256312396.2239.help-gnu-emacs@gnu.org>
2009-11-18 10:27 ` moktin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=26021004.post@talk.nabble.com \
--to=diegofmonaco@hotmail.com \
--cc=Help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).