From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: aaron@avalon.pascal-central.com (Aaron Davies) Newsgroups: gmane.emacs.help Subject: Re: Customizing default-buffer-file-coding-system Date: Tue, 29 Jul 2003 21:56:23 -0500 Organization: Columbia University Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <1fyvovy.76ses030yfcyN%aaron@avalon.pascal-central.com> References: <1fyvdqg.1axx6024unr80N%aaron@avalon.pascal-central.com> NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1059534119 32047 80.91.224.249 (30 Jul 2003 03:01:59 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 30 Jul 2003 03:01:59 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jul 30 05:01:57 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19hhDd-0008JA-00 for ; Wed, 30 Jul 2003 05:01:37 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19hhCa-0005yJ-RT for geh-help-gnu-emacs@m.gmane.org; Tue, 29 Jul 2003 23:00:32 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!cyclone.bc.net!newsfeed.telusplanet.net!newsfeed.telus.net!news3.optonline.net!rip!c03.atl99!news.webusenet.com!pc01.webusenet.com!fe05.atl2.webusenet.com.POSTED!aaron Original-Newsgroups: gnu.emacs.help User-Agent: MacSOUP/2.5b2 (Mac OS X version 10.2.6) Original-Lines: 38 Original-X-Complaints-To: abuse@usenetserver.com X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly. Original-NNTP-Posting-Date: Tue, 29 Jul 2003 22:48:23 EDT Original-Xref: shelby.stanford.edu gnu.emacs.help:115547 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:11465 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:11465 Thanks, but I'm not sure those have anything to do with what I want. They seem to be ways to specify the coding system to use when reading existing files; I want to specify the coding system for new files. martin wrote: > hi, > > i didn't do this before myself. i just found the variables > auto-coding-regexp-alist and auto-coding-alist by > > M-x apropos-variable RET -coding- RET > > martin > > "AD" == Aaron Davies writes: > AD> Newsgroups: gnu.emacs.help > AD> Organization: Columbia University > AD> Date: Tue, 29 Jul 2003 17:56:48 -0500 > AD> > AD> How do I specify unix as the default coding system for new files? I'm > AD> running emacs 21 under cygwin, and I want new files to be created > AD> unix-mode, not dos-mode. I can't figure out how to change the variable > AD> though. > AD> -- > AD> Aaron Davies > AD> Opinions expressed are solely those of a random number generator. > AD> "I don't know if it's real or not but it is a myth." > AD> -Jami JoAnne of alt.folklore.urban, showing her grasp on reality. > AD> > AD> -- Aaron Davies Opinions expressed are solely those of a random number generator. "I don't know if it's real or not but it is a myth." -Jami JoAnne of alt.folklore.urban, showing her grasp on reality.