groff-commit
[Top][All Lists]
Advanced

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

[groff] 39/46: [tmac]: Adjust editor file encoding hints.


From: G. Branden Robinson
Subject: [groff] 39/46: [tmac]: Adjust editor file encoding hints.
Date: Sun, 18 Apr 2021 01:22:33 -0400 (EDT)

gbranden pushed a commit to branch dev-gropdf-boxes
in repository groff.

commit 3f6cc9d5280f8c267bf558f61918e4955e354009
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Tue Apr 13 18:26:27 2021 +1000

    [tmac]: Adjust editor file encoding hints.
    
    * tmac/cs.tmac: Tell Vim the file is "iso-8859-2" (ISO Latin-2).
    * tmac/en.tmac: Stop telling Emacs the file is "latin-1"; it's ASCII.
    * tmac/fr.tmac: Tell Vim the file is "iso-8859-15" (ISO Latin-9).
    
    Vim users may need to use ":e ++enc=iso-8859-2", for instance, to see
    correct glyphs.
---
 tmac/cs.tmac | 2 +-
 tmac/en.tmac | 1 -
 tmac/fr.tmac | 2 +-
 3 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/tmac/cs.tmac b/tmac/cs.tmac
index b59e0a3..17ae8a7 100644
--- a/tmac/cs.tmac
+++ b/tmac/cs.tmac
@@ -176,4 +176,4 @@
 .\" coding: latin-2
 .\" fill-column: 72
 .\" End:
-.\" vim: set filetype=groff textwidth=72:
+.\" vim: set fileencoding=iso-8859-2 filetype=groff textwidth=72:
diff --git a/tmac/en.tmac b/tmac/en.tmac
index 0bc4196..5dbcf68 100644
--- a/tmac/en.tmac
+++ b/tmac/en.tmac
@@ -35,7 +35,6 @@
 .
 .\" Local Variables:
 .\" mode: nroff
-.\" coding: latin-1
 .\" fill-column: 72
 .\" End:
 .\" vim: set filetype=groff textwidth=72:
diff --git a/tmac/fr.tmac b/tmac/fr.tmac
index 90ec202..205ec80 100644
--- a/tmac/fr.tmac
+++ b/tmac/fr.tmac
@@ -196,4 +196,4 @@
 .\" coding: latin-9
 .\" fill-column: 72
 .\" End:
-.\" vim: set filetype=groff textwidth=72:
+.\" vim: set fileencoding=iso-8859-15 filetype=groff textwidth=72:



reply via email to

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