From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Charles philip Chan" Newsgroups: gmane.emacs.help Subject: Re: What are 'mode' and 'coding'? Date: Sat, 25 Nov 2006 02:55:42 -0500 Organization: Linux Private Site Message-ID: <87odqw0xkx.fsf@MagnumOpus.khem> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: sea.gmane.org 1164444061 22990 80.91.229.2 (25 Nov 2006 08:41:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 25 Nov 2006 08:41:01 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Nov 25 09:41:00 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Gnt5d-0003vh-WE for geh-help-gnu-emacs@m.gmane.org; Sat, 25 Nov 2006 09:40:50 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gnt5d-00043Y-H9 for geh-help-gnu-emacs@m.gmane.org; Sat, 25 Nov 2006 03:40:49 -0500 Original-Newsgroups: gnu.emacs.help Original-Lines: 17 Original-NNTP-Posting-Host: xVyl3joQDa76ozPzgli9qQ.user.aioe.server.aioe.org Original-X-Complaints-To: abuse@aioe.org X-Face: G; Z,`sm>)4t4LB/GUrgH$W`!AmfHMj,LG)Z}X0ax@s9:0>0)B&@vcm{v-le)wng)?|o]D\Z}0:6X Cancel-Lock: sha1:Kibb1QDVVqEEsSQyfyvc47Zd8Iw= User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.91 (gnu/linux) Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!multikabel.net!feed20.multikabel.net!newsfeed.freenet.de!newsfeed.x-privat.org!aioe.org!MagnumOpus.khem!news Original-Xref: shelby.stanford.edu gnu.emacs.help:143337 Original-To: help-gnu-emacs@gnu.org 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:38953 Archived-At: On 23 Nov 2006, sdl.web@gmail.com wrote: > One can write "-*-mode:emacs-lisp;coding:utf-8;-*-" on the head of a > file to force emacs to use emacs-lisp-mode and utf-8 coding. I am > wondering what are `mode' and `coding'. I use 'C-h v' on them and > there are no such variables. Mode is the Major Mode that the file opens to when it is visited in Emacs. Coding is the encoding on the file, ie. UTF-8, Latin1, etc... Charles -- /* Binary compatibility is good American knowhow fuckin' up. */ linux-2.2.16/arch/sparc/kernel/sunos_ioctl.c