groff-commit
[Top][All Lists]
Advanced

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

[groff] 01/01: Add/update in-tree roff documents' editor aids.


From: G. Branden Robinson
Subject: [groff] 01/01: Add/update in-tree roff documents' editor aids.
Date: Tue, 7 Nov 2017 12:30:10 -0500 (EST)

gbranden pushed a commit to branch master
in repository groff.

commit 457653c4045d00e42ce3f876c9bfabb6d9f11d90
Author: G. Branden Robinson <address@hidden>
Date:   Tue Nov 7 12:27:28 2017 -0500

    Add/update in-tree roff documents' editor aids.
    
    * Move single-line "-*- nroff -*-" Emacs setting to multi-line settings
      at the end of the file.
    * Add Vim modeline.
    
    Signed-off-by: G. Branden Robinson <address@hidden>
---
 contrib/mom/examples/letter.mom          | 5 ++++-
 contrib/mom/examples/mom-pdf.mom         | 5 ++++-
 contrib/mom/examples/mon_premier_doc.mom | 5 ++++-
 contrib/mom/examples/sample_docs.mom     | 4 ++++
 contrib/mom/examples/typesetting.mom     | 4 ++++
 contrib/pdfmark/cover.ms                 | 5 ++++-
 doc/automake.mom                         | 4 ++++
 doc/grnexmpl.me                          | 4 ++++
 doc/meintro.me                           | 4 ++++
 doc/meintro_fr.me                        | 6 ++++--
 doc/meref.me                             | 4 ++++
 doc/pic.ms                               | 5 ++++-
 doc/webpage.ms                           | 4 ++++
 13 files changed, 52 insertions(+), 7 deletions(-)

diff --git a/contrib/mom/examples/letter.mom b/contrib/mom/examples/letter.mom
index 407b2d6..d680156 100644
--- a/contrib/mom/examples/letter.mom
+++ b/contrib/mom/examples/letter.mom
@@ -1,4 +1,3 @@
-.\" -*- mode: troff; coding: utf-8; -*-
 .
 \# Copyright (C) 2004-2017  Free Software Foundation, Inc.
 \#
@@ -40,3 +39,7 @@ legislation that would cripple or render illegal open source
 development.
 .CLOSING
 Sincerely,
+.\" Local Variables:
+.\" mode: nroff
+.\" End:
+.\" vim: filetype=groff:
diff --git a/contrib/mom/examples/mom-pdf.mom b/contrib/mom/examples/mom-pdf.mom
index b9388b1..2b641f6 100644
--- a/contrib/mom/examples/mom-pdf.mom
+++ b/contrib/mom/examples/mom-pdf.mom
@@ -1,4 +1,3 @@
-.\" -*- nroff -*-
 .\" Copyright (C) 2012-2017  Free Software Foundation, Inc.
 .\"
 .\" This file is part of mom, which is part of groff, a free software
@@ -628,3 +627,7 @@ is newer code with less testing\c
 .EL
 .LIST OFF
 .TOC
+.\" Local Variables:
+.\" mode: nroff
+.\" End:
+.\" vim: filetype=groff:
diff --git a/contrib/mom/examples/mon_premier_doc.mom 
b/contrib/mom/examples/mon_premier_doc.mom
index c5702d1..7e10157 100644
--- a/contrib/mom/examples/mon_premier_doc.mom
+++ b/contrib/mom/examples/mon_premier_doc.mom
@@ -1,4 +1,3 @@
-.\" -*- mode: troff; coding: utf-8; -*-
 \# Copyright (C) 2015-2017  Free Software Foundation, Inc.
 \#
 \# Copying and distribution of this file, with or without modification,
@@ -133,3 +132,7 @@ Maecenas adipiscing ante non diam sodales hendrerit.
 \#
 .TOC_RV_SWITCH
 .TOC
+.\" Local Variables:
+.\" mode: nroff
+.\" End:
+.\" vim: filetype=groff:
diff --git a/contrib/mom/examples/sample_docs.mom 
b/contrib/mom/examples/sample_docs.mom
index 97e9524..5a0572e 100644
--- a/contrib/mom/examples/sample_docs.mom
+++ b/contrib/mom/examples/sample_docs.mom
@@ -706,3 +706,7 @@ takimata sanctus est.
 .FINIS
 .TOC_RV_SWITCH
 .TOC
+.\" Local Variables:
+.\" mode: nroff
+.\" End:
+.\" vim: filetype=groff:
diff --git a/contrib/mom/examples/typesetting.mom 
b/contrib/mom/examples/typesetting.mom
index 56ccd37..2aa19c0 100644
--- a/contrib/mom/examples/typesetting.mom
+++ b/contrib/mom/examples/typesetting.mom
@@ -688,3 +688,7 @@ Dolores et ea rebum stet clita kasd gubergren, no sea 
takimata
 sanctus.  Sadipscing elitr sed diam, nonumy eirmod tempor, invidunt
 ut labore et dolore magna aliquyam erat.  Sed diam voluptua, at vero
 eos et accusam et justo duo dolores et ea rebum.
+.\" Local Variables:
+.\" mode: nroff
+.\" End:
+.\" vim: filetype=groff:
diff --git a/contrib/pdfmark/cover.ms b/contrib/pdfmark/cover.ms
index fcf85b4..9a3acc4 100644
--- a/contrib/pdfmark/cover.ms
+++ b/contrib/pdfmark/cover.ms
@@ -1,4 +1,3 @@
-.\" -*- nroff -*-
 .\" Copyright (C) 2004-2014  Free Software Foundation, Inc.
 .\"
 .\" Copying and distribution of this file, with or without modification,
@@ -62,3 +61,7 @@
 .rr HM*SAVED
 .fam
 ..
+.\" Local Variables:
+.\" mode: nroff
+.\" End:
+.\" vim: filetype=groff:
diff --git a/doc/automake.mom b/doc/automake.mom
index c67e5db..5492fb6 100644
--- a/doc/automake.mom
+++ b/doc/automake.mom
@@ -758,3 +758,7 @@ uninstall_groffdirs:
         [...]
 .QUOTE OFF
 .TOC
+.\" Local Variables:
+.\" mode: nroff
+.\" End:
+.\" vim: filetype=groff:
diff --git a/doc/grnexmpl.me b/doc/grnexmpl.me
index 54dbb18..641d15c 100644
--- a/doc/grnexmpl.me
+++ b/doc/grnexmpl.me
@@ -82,3 +82,7 @@ every fast clock cycle. The dynamic common-mode feedback
 arrangement operates synchronously with the reset time slot and
 its configuration is equivalent to that in the differential
 feedback path.
+.\" Local Variables:
+.\" mode: nroff
+.\" End:
+.\" vim: filetype=groff:
diff --git a/doc/meintro.me b/doc/meintro.me
index 0e245e8..61965f2 100644
--- a/doc/meintro.me
+++ b/doc/meintro.me
@@ -2241,3 +2241,7 @@ and have given support for the project.
 .sp 1i
 This document applies to the version of the \-me macros
 included with \*G version \*(MO.
+.\" Local Variables:
+.\" mode: nroff
+.\" End:
+.\" vim: filetype=groff:
diff --git a/doc/meintro_fr.me b/doc/meintro_fr.me
index b405f88..5201a24 100644
--- a/doc/meintro_fr.me
+++ b/doc/meintro_fr.me
@@ -1,5 +1,3 @@
-.\" -*- mode: nroff; coding: utf-8; -*-
-.\"
 .\" Copyright (c) 1986 The Regents of the University of California.
 .\" All rights reserved.
 .\"
@@ -2266,3 +2264,7 @@ l l l .
 \&.q|quoted|entre guillemets
 .TE
 .)b
+.\" Local Variables:
+.\" mode: nroff
+.\" End:
+.\" vim: filetype=groff:
diff --git a/doc/meref.me b/doc/meref.me
index 1685561..62b9958 100644
--- a/doc/meref.me
+++ b/doc/meref.me
@@ -2234,3 +2234,7 @@ NAME      TYPE    DESCRIPTION
 \en(_M R       section type (as set with .++ macro)
 .)l
 .rm $H
+.\" Local Variables:
+.\" mode: nroff
+.\" End:
+.\" vim: filetype=groff:
diff --git a/doc/pic.ms b/doc/pic.ms
index df8de1b..9453d18 100644
--- a/doc/pic.ms
+++ b/doc/pic.ms
@@ -3275,4 +3275,7 @@ Van Wyk, C. J.
 \fBA high-level language for specifying pictures\fP.
 \fIACM Transactions On Graphics\fP 1,2 (1982) 163-182.
 .
-.\" end of pic.ms
+.\" Local Variables:
+.\" mode: nroff
+.\" End:
+.\" vim: filetype=groff:
diff --git a/doc/webpage.ms b/doc/webpage.ms
index 0971bd4..88a883c 100644
--- a/doc/webpage.ms
+++ b/doc/webpage.ms
@@ -2524,3 +2524,7 @@ troff completely ignores it.
 .LNE
 .
 .\" EOF
+.\" Local Variables:
+.\" mode: nroff
+.\" End:
+.\" vim: filetype=groff:



reply via email to

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