From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: Translated from Japanese - how should the header look? Date: Thu, 27 Oct 2005 10:33:27 +0900 Message-ID: References: <435F2D21.7060000@student.lu.se> <435FA746.5000203@student.lu.se> Reply-To: snogglethorpe@gmail.com, miles@gnu.org NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1130377074 10985 80.91.229.2 (27 Oct 2005 01:37:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 27 Oct 2005 01:37:54 +0000 (UTC) Cc: Lennart Borgman , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 27 03:37:49 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EUwht-0002ID-2G for ged-emacs-devel@m.gmane.org; Thu, 27 Oct 2005 03:37:29 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EUwhs-0001Ib-9f for ged-emacs-devel@m.gmane.org; Wed, 26 Oct 2005 21:37:28 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EUwe2-0006ca-Ga for emacs-devel@gnu.org; Wed, 26 Oct 2005 21:33:30 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EUwe0-0006bp-My for emacs-devel@gnu.org; Wed, 26 Oct 2005 21:33:29 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EUwe0-0006bk-IH for emacs-devel@gnu.org; Wed, 26 Oct 2005 21:33:28 -0400 Original-Received: from [64.233.184.199] (helo=wproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EUwe0-0002Dh-Kt for emacs-devel@gnu.org; Wed, 26 Oct 2005 21:33:28 -0400 Original-Received: by wproxy.gmail.com with SMTP id 36so113470wra for ; Wed, 26 Oct 2005 18:33:27 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=GCGAkTr4g4qCU00+Rz4O1Jj3RMYnwBS4JTbH+aOSaMF/1x7Lw5Om/IaupOdjHaoWBEvG1GY52zS1JVaxRJQcpT8shUecT0GBRYSUqdHxgIbzHxcZjpy5LngbSp4s1cjE4Puv7nSZRUGBIczR1HGHDCoqO07Hg3Co68FhxdCWFgs= Original-Received: by 10.54.132.9 with SMTP id f9mr747591wrd; Wed, 26 Oct 2005 18:33:27 -0700 (PDT) Original-Received: by 10.54.160.6 with HTTP; Wed, 26 Oct 2005 18:33:27 -0700 (PDT) Original-To: Kenichi Handa In-Reply-To: Content-Disposition: inline X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:44939 Archived-At: 2005/10/27, Kenichi Handa : > > Thanks, I see. The --*-- spec should be on the same line as the descrip= tion: > > > ;;; cmd-mode.el --- Editing of MS Windows cmd and bat files ;; -*- Mode= : > > Emacs-Lisp ; coding: sjis-dos -*- > > You don't need "mode: Emacs-Lisp" because the file has > extension ".el". Such a file is automatically visitted in > emacs-lisp mode. And if the first line gets too longer, > you can put coding: sjis-dos at the end of a file using > locale variable section. BTW, wouldn't it make sense to have checkdoc allow a "two line" header too? It seems kind of silly to force all that stuff on one line when a two-line version is arguably more readable (in those cases where you need a long description). I mean something like what Lennart originally tried: ;;; -*- Mode: Emacs-Lisp ; coding: sjis-dos -*- ;;; cmd-mode.el --- Editing of MS Windows cmd and bat files I.e., the first line is just the mode vars, and the real header is the 2nd = line. [of course maybe it's not necessary in this case,, if Mode: Emacs-Lisp is removed.] -miles -- Do not taunt Happy Fun Ball.