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: I do not want to select a coding system
Date: Fri, 05 Feb 2010 10:18:21 +1100	[thread overview]
Message-ID: <87k4usmvya.fsf@lion.rapttech.com.au> (raw)
In-Reply-To: mailman.710.1265323295.14305.help-gnu-emacs@gnu.org

Bruce Korb <bruce.korb@gmail.com> writes:

> Hi,
>
> Every now and then, it becomes completely impossible to save the
> contents of a new file I am creating.  Emacs demands I select a
> coding system and none of them are plain old vanilla ASCII text..
> It seems really nice and clever and egalitarian to allow for so many
> coding systems.  It is really wonderful.  But compilers want ASCII and
> I cannot get plain ascii.  In the end, I go into a shell and type:
>
> cat > myfile.c <<\_EOF_
> <<paste-a-gazillion-lines>>
> _EOF_
>
> and revisit "myfile.c".  Works like a charm, but is an incredible hassle.
>
> I only want ASCII.  I've waded through the bazillion lines of configurable
> stuff, too, and there is no obvious to me selection to say, "I always,
> always, always edit ASCII text".  What is the magic?  Thanks.
>

What platform?
What version of emacs?
What is your locale setting?
What does emacs say is the current language environment when it starts
up?

Generally, if things are not working correctly, either your locale is
not set correctly or you have stuff in your .emacs that is confusing
emacs. Note also that UTF-8 is rapidly becoming the default and many
compilers can handle that fine. Are you working with a version control
system? Issues can arise if the version control systm isn't configured
correctly and you are working with others who are on different platforms
etc. 

I do a lot of coding and have to deal with gcc/g++ and a number of
scripting languages etc. On the whole, I don't run into any issues these
days and my environment is pretty much UTF-8 across the borad. I'm
running on a Debian system with emacs 23.

Note also that the handling of character encoding in emacs 23 has been
improved a lot. Worth considering upgrading if your not htere yet.

Tim

-- 
tcross (at) rapttech dot com dot au


  parent reply	other threads:[~2010-02-04 23:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.710.1265323295.14305.help-gnu-emacs@gnu.org>
2010-02-04 23:02 ` I do not want to select a coding system B. T. Raven
2010-02-05  0:25   ` Peter Dyballa
2010-02-05  5:59   ` Pascal J. Bourguignon
2010-02-04 23:17 ` Jason Rumney
2010-02-04 23:18 ` Tim X [this message]
2010-02-04 22:41 Bruce Korb

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=87k4usmvya.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.