groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Groff] Re: man page encoding


From: Zvezdan Petkovic
Subject: Re: [Groff] Re: man page encoding
Date: Thu, 7 Jul 2005 12:49:25 -0400
User-agent: Mutt/1.4.2i

On Wed, Jul 06, 2005 at 01:50:31PM +0200, Bruno Haible wrote:
> Thanks, then let's go for the proposed
>    .\" t  -*- coding: EUC-JP -*-
> syntax.

or a Vim syntax, replacing vim (vi, ex) with groff.

        .\" groff:option1:option2=value:option3

Notice that in vim syntax : can be replaced with a space between the
options.  There's also a variant compatible with the older vi versions
that uses set command.

        .\" groff:set option1 option2=value option3

Yes, the argument is that it is very similar to Emacs.
Yet, I just don't like those -*- signs.

Also, vim syntax is allowed to be in the first N lines of the file,
or the last N lines of the file. The default is N=5.
Thus if you need something to be on the first line you can always move
modeline to the end.

Regards,

        Zvezdan Petkovic




reply via email to

[Prev in Thread] Current Thread [Next in Thread]