help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: I do not want to select a coding system


From: Pascal J. Bourguignon
Subject: Re: I do not want to select a coding system
Date: Fri, 05 Feb 2010 06:59:26 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (darwin)

"B. T. Raven" <nihil@nihilo.net> writes:

> Bruce Korb wrote:
>> 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.
>> 
>> Regards, Bruce
>> 
>> 
>
>
> us-ascii and iso-safe are coding systems. Maybe putting
>
> ;; -*- coding: iso-safe -*-
>
> at the top of your files would work.


The OP wants ASCII, so:

;; -*- coding:us-ascii -*-


-- 
__Pascal Bourguignon__


reply via email to

[Prev in Thread] Current Thread [Next in Thread]