unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Coding system question(s)
@ 2011-03-27 15:19 B. T. Raven
  2011-03-27 17:31 ` Eli Zaretskii
       [not found] ` <mailman.1.1301247103.12231.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 3+ messages in thread
From: B. T. Raven @ 2011-03-27 15:19 UTC (permalink / raw)
  To: help-gnu-emacs

Coding system for saving file?(default nil)is always the prompt in the
mini-buffer when I do C-x ret f even though I have all these set in .emacs:

   (set-language-environment               'utf-8)
        (set-default-coding-systems             'utf-8)
        (setq file-name-coding-system           'utf-8)
        (setq default-buffer-file-coding-system 'utf-8)
        (setq coding-system-for-write           'utf-8)
        (set-keyboard-coding-system             'utf-8)
        (set-terminal-coding-system          'utf-8)
        (set-clipboard-coding-system            'utf-8)
        (set-selection-coding-system            'utf-8)
        (prefer-coding-system                   'utf-8)
        ;; (set-buffer-process-coding-system 'utf-8 'utf-8)
        (modify-coding-system-alist 'process
"[cC][mM][dD][pP][rR][oO][xX][yY]" 'utf-8-dos)

With w32 build of Emacs what do I have to do to ensure that all plain
text files (.txt, .tex, .el, etc.) are read in and written out in utf-8
encoding? I also have this cookie at the start of all such files:

;; -*- coding: utf-8 -*-
;;  Time-stamp: "2011-02-24 13:07:25 EC"

I have had .emacs this way for a couple of years but I am having
problems editing files created with ver. 22.3 in ver. 23.3
??

Thanks,

Ed


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

end of thread, other threads:[~2011-03-27 18:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-27 15:19 Coding system question(s) B. T. Raven
2011-03-27 17:31 ` Eli Zaretskii
     [not found] ` <mailman.1.1301247103.12231.help-gnu-emacs@gnu.org>
2011-03-27 18:04   ` B. T. Raven

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