all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* file variables and man pages with preprocessors
@ 2007-11-06  7:50 Werner LEMBERG
  2007-11-07  0:15 ` Richard Stallman
  0 siblings, 1 reply; 14+ messages in thread
From: Werner LEMBERG @ 2007-11-06  7:50 UTC (permalink / raw)
  To: emacs-devel


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

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2007-11-13 11:32 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-06  7:50 file variables and man pages with preprocessors Werner LEMBERG
2007-11-07  0:15 ` 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

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.