From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Werner LEMBERG Newsgroups: gmane.emacs.devel Subject: file variables and man pages with preprocessors Date: Tue, 06 Nov 2007 08:50:31 +0100 (CET) Message-ID: <20071106.085031.202539455.wl@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1194337342 30853 80.91.229.12 (6 Nov 2007 08:22:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 6 Nov 2007 08:22:22 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 06 09:22:24 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IpJhX-0002t7-7u for ged-emacs-devel@m.gmane.org; Tue, 06 Nov 2007 09:22:24 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IpJhM-0000O5-2q for ged-emacs-devel@m.gmane.org; Tue, 06 Nov 2007 03:22:12 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IpJhI-0000Lw-IR for emacs-devel@gnu.org; Tue, 06 Nov 2007 03:22:08 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IpJhD-0000Cn-Rj for emacs-devel@gnu.org; Tue, 06 Nov 2007 03:22:08 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IpJhD-0000Cb-Nk for emacs-devel@gnu.org; Tue, 06 Nov 2007 03:22:03 -0500 Original-Received: from mx20.gnu.org ([199.232.41.8]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IpJhD-0001tG-Fn for emacs-devel@gnu.org; Tue, 06 Nov 2007 03:22:03 -0500 Original-Received: from moutng.kundenserver.de ([212.227.126.171]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IpJhC-0006fS-1G for emacs-devel@gnu.org; Tue, 06 Nov 2007 03:22:02 -0500 Original-Received: from localhost (p54AFB46C.dip0.t-ipconnect.de [84.175.180.108]) by mrelayeu.kundenserver.de (node=mrelayeu5) with ESMTP (Nemesis) id 0ML25U-1IpJh93bmk-0004rc; Tue, 06 Nov 2007 09:22:00 +0100 X-Mailer: Mew version 5.2.50 on Emacs 22.0.97.1 / Mule 5.0 (SAKAKI) X-Provags-ID: V01U2FsdGVkX1+VFepz0gS/ILeToRKSRPU+viUJnfjoHoDHKcG Lps5P8GkVRGB+menAtbgLfqR8SXqLq2VTsFsUlzoxLDAcx0sWs qdPPMUnTAaAeiudzq8ugw== X-detected-kernel: by mx20.gnu.org: Linux 2.6? (barebone, rare!) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:82629 Archived-At: There is a convention in man pages to mark them whether a preprocessor has to be used or not. The first line must resemble '\" where is a combination of letters which identify the used preprocessor. For example, `p' and `t' stand for pic and tbl, respectively: '\" tp However, if a man page starts with such a comment, local file variables can't be placed into the first line and are no longer recognized by Emacs. I thus ask to handle files which start with '\" similar to shell scripts, this is, to take the *second* line for file variables. Another reason for this request is the forthcoming release of groff which contains a preprocessor, preconv, to handle man pages in various input encodings, and which recognizes Emacs coding tags (within a file variable at the top of a file). Werner