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

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

Re: What are 'mode' and 'coding'?


From: Charles philip Chan
Subject: Re: What are 'mode' and 'coding'?
Date: Sat, 25 Nov 2006 02:55:42 -0500
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.91 (gnu/linux)

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


reply via email to

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