From: Werner LEMBERG <wl@gnu.org>
To: emacs-devel@gnu.org
Subject: file variables and man pages with preprocessors
Date: Tue, 06 Nov 2007 08:50:31 +0100 (CET) [thread overview]
Message-ID: <20071106.085031.202539455.wl@gnu.org> (raw)
There is a convention in man pages to mark them whether a preprocessor
has to be used or not. The first line must resemble
'\" <string>
where <string> 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
next reply other threads:[~2007-11-06 7:50 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-06 7:50 Werner LEMBERG [this message]
2007-11-07 0:15 ` file variables and man pages with preprocessors Richard Stallman
2007-11-07 4:01 ` Glenn Morris
2007-11-07 16:39 ` Richard Stallman
2007-11-08 0:54 ` Werner LEMBERG
2007-11-08 17:39 ` Richard Stallman
2007-11-09 7:27 ` Werner LEMBERG
2007-11-09 20:16 ` Glenn Morris
2007-11-10 17:54 ` Richard Stallman
2007-11-12 6:45 ` Werner LEMBERG
2007-11-12 8:50 ` Glenn Morris
2007-11-12 11:20 ` Werner LEMBERG
2007-11-12 20:13 ` Glenn Morris
2007-11-13 11:32 ` Werner LEMBERG
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20071106.085031.202539455.wl@gnu.org \
--to=wl@gnu.org \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.