From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: pjb@informatimago.com (Pascal J. Bourguignon) Newsgroups: gmane.emacs.help Subject: Re: I do not want to select a coding system Date: Fri, 05 Feb 2010 06:59:26 +0100 Organization: Informatimago Message-ID: <873a1gp6ip.fsf@galatea.lan.informatimago.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1265365987 17417 80.91.229.12 (5 Feb 2010 10:33:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 5 Feb 2010 10:33:07 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Feb 05 11:33:03 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NdLTc-00032G-AZ for geh-help-gnu-emacs@m.gmane.org; Fri, 05 Feb 2010 11:31:52 +0100 Original-Received: from localhost ([127.0.0.1]:47186 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NdHs4-00055b-PI for geh-help-gnu-emacs@m.gmane.org; Fri, 05 Feb 2010 01:40:52 -0500 Original-Path: news.stanford.edu!usenet.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 41 Original-X-Trace: individual.net sjFsVucuCznM9XLULnRSpg1EvNimKlMH8wF2cM9lWMq8ZobsWj Cancel-Lock: sha1:ZDM1MzM3ZDM1OGNjOGI4ZmQyMjhjZGIwMjZkMDA0OWE3OTgxNjc3Nw== sha1:uwDtBv0p2eAmjUwJ6Kn1pgq+HuM= Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAQMAAABtzGvEAAAABlBMVEUAAAD///+l2Z/dAAAA oElEQVR4nK3OsRHCMAwF0O8YQufUNIQRGIAja9CxSA55AxZgFO4coMgYrEDDQZWPIlNAjwq9 033pbOBPtbXuB6PKNBn5gZkhGa86Z4x2wE67O+06WxGD/HCOGR0deY3f9Ijwwt7rNGNf6Oac l/GuZTF1wFGKiYYHKSFAkjIo1b6sCYS1sVmFhhhahKQssRjRT90ITWUk6vvK3RsPGs+M1RuR mV+hO/VvFAAAAABJRU5ErkJggg== X-Accept-Language: fr, es, en X-Disabled: X-No-Archive: no User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (darwin) Original-Xref: news.stanford.edu gnu.emacs.help:176630 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:71702 Archived-At: "B. T. Raven" 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_ >> <> >> _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__