From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: How to set a file major mode in elisp Date: Fri, 2 Nov 2007 22:10:01 +0100 Message-ID: <380E2463-04FB-4F3E-8411-B9AA3490243D@Web.DE> References: <1194007331.617716.265210@19g2000hsx.googlegroups.com> <1194022459.106954.3760@o80g2000hse.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=WINDOWS-1252; delsp=yes; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1194037839 28331 80.91.229.12 (2 Nov 2007 21:10:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 2 Nov 2007 21:10:39 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Mirko Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Nov 02 22:10:42 2007 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.50) id 1Io3mi-0003xe-4l for geh-help-gnu-emacs@m.gmane.org; Fri, 02 Nov 2007 22:10:32 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Io3mX-0002Qg-WD for geh-help-gnu-emacs@m.gmane.org; Fri, 02 Nov 2007 17:10:22 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Io3mI-0002QQ-RN for help-gnu-emacs@gnu.org; Fri, 02 Nov 2007 17:10:06 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Io3mG-0002QD-N5 for help-gnu-emacs@gnu.org; Fri, 02 Nov 2007 17:10:05 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Io3mG-0002QA-II for help-gnu-emacs@gnu.org; Fri, 02 Nov 2007 17:10:04 -0400 Original-Received: from fmmailgate03.web.de ([217.72.192.234]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Io3mG-0000AD-8f for help-gnu-emacs@gnu.org; Fri, 02 Nov 2007 17:10:04 -0400 Original-Received: from smtp05.web.de (fmsmtp05.dlan.cinetic.de [172.20.4.166]) by fmmailgate03.web.de (Postfix) with ESMTP id 9B721A97F2F0; Fri, 2 Nov 2007 22:10:03 +0100 (CET) Original-Received: from [195.4.208.215] (helo=[192.168.1.2]) by smtp05.web.de with asmtp (TLSv1:AES128-SHA:128) (WEB.DE 4.108 #208) id 1Io3mF-00035r-00; Fri, 02 Nov 2007 22:10:03 +0100 In-Reply-To: <1194022459.106954.3760@o80g2000hse.googlegroups.com> X-Mailer: Apple Mail (2.752.2) X-Sender: Peter_Dyballa@web.de X-Provags-ID: V01U2FsdGVkX1+kxd80AMCumtVxB3GkONZDkZSUdjq3iZm2xCga 2rExSZyWg0FsHInmXi+qKVETD1yBwYQrQuC/mQwWAVw1XgHl1y I67SWPXmgOPoT5TChGGA== X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 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:48995 Archived-At: Am 02.11.2007 um 17:54 schrieb Mirko: > I don't want to mess with the diary file format if I can avoid it. You don't mess with the file format if you add local variables =96 you =20= just make it clear to GNU Emacs what is obvious for you! I, for example, make clear that the diary file is in UTF-8: ;; Local variables: ;; coding: utf-8 ;; End: and you can add ;; mode: diary -- Greetings Pete ...And always remember the last words of my grandfather, who said: =93A truck!=94 =97 Emo Phillips