all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tim X <timx@nospam.dev.null>
To: help-gnu-emacs@gnu.org
Subject: Re: coding systems
Date: Tue, 03 Nov 2009 18:31:46 +1100	[thread overview]
Message-ID: <874opcvzbx.fsf@lion.rapttech.com.au> (raw)
In-Reply-To: 87k4y8xwvb.fsf@kzsu.stanford.edu

Joseph Brenner <doom@kzsu.stanford.edu> writes:

> What is the simplest possible thing I can do to convince emacs
> to never, ever, bug me about what coding system a file should be
> saved under?
>
> For extra points, a solution that minimizes data lossage would be
> nice, but not strictly necessary from my point of view.  I just
> want the "Select a coding system" question to go away.
>

What version of emacs? There have been considerable changes, especially
in emacs 23 that may affect what solution is best. 

It has been a long time since I've even seen this question. From memory,
when I moved from emacs 21 to emacs 22, I seem to remember an issue
related to coding systems. It turned out to be due to a configuration in
my .emacs that I required for emacs 21, but caused confusion for emacs
22. However, at about that time, I also moved from a C locale on my
system to a UTF-8 one. From memory, current-language-environment was, in
emacs 21, "en" and in emacs 22 and later, is "UTF-8". I don't know for
sure if it was the changing to a UTF-8 locale or the changes in my
.emacs or both that helped emacs determine the correct coding system. I
have also changed jobs and now get fewer files with different coding
systems, so its hard to tell for certain.

Given the improvements in emacs 23 for coding systems, I'd recommend
upgrading to emacs 23 if your not already using it and then start
diagnosing the issue to find a solution. 


Tim

-- 
tcross (at) rapttech dot com dot au


  parent reply	other threads:[~2009-11-03  7:31 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-03  0:42 coding systems Joseph Brenner
2009-11-03  4:06 ` Eli Zaretskii
     [not found] ` <mailman.9963.1257221220.2239.help-gnu-emacs@gnu.org>
2009-11-03  7:23   ` Joseph Brenner
2009-11-03  9:35     ` Peter Dyballa
2009-11-03 18:53     ` Eli Zaretskii
     [not found]     ` <mailman.9970.1257240951.2239.help-gnu-emacs@gnu.org>
2009-11-03 20:25       ` Joseph Brenner
2009-11-03 21:10         ` Drew Adams
     [not found]         ` <mailman.9998.1257282634.2239.help-gnu-emacs@gnu.org>
2009-11-04  0:30           ` Joseph Brenner
2009-11-05  5:52         ` convenience in c programming question: ifdefs Maindoor
2009-11-03  7:31 ` Tim X [this message]
2009-11-03 19:11   ` coding systems Joseph Brenner
2009-11-03 21:20     ` Eli Zaretskii

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874opcvzbx.fsf@lion.rapttech.com.au \
    --to=timx@nospam.dev.null \
    --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.
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.