From: pjb@informatimago.com (Pascal J. Bourguignon)
To: help-gnu-emacs@gnu.org
Subject: Re: I do not want to select a coding system
Date: Fri, 05 Feb 2010 06:59:26 +0100 [thread overview]
Message-ID: <873a1gp6ip.fsf@galatea.lan.informatimago.com> (raw)
In-Reply-To: N-GdnXa8dIO_z_bWnZ2dnUVZ_gJi4p2d@sysmatrix.net
"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__
next prev parent reply other threads:[~2010-02-05 5:59 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 [this message]
2010-02-04 23:17 ` Jason Rumney
2010-02-04 23:18 ` Tim X
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=873a1gp6ip.fsf@galatea.lan.informatimago.com \
--to=pjb@informatimago.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.
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.