groff-commit
[Top][All Lists]
Advanced

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

[groff] 07/23: [mm]: Fix Savannah #66287 (2/2) (coding tag).


From: G. Branden Robinson
Subject: [groff] 07/23: [mm]: Fix Savannah #66287 (2/2) (coding tag).
Date: Wed, 16 Oct 2024 15:00:27 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit a4bc9a0a3b054560b24eaf2843035b18067d4706
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Mon Oct 14 20:24:07 2024 -0500

    [mm]: Fix Savannah #66287 (2/2) (coding tag).
    
    * contrib/mm/groff_mmse.7.man: Add old-style Emacs file-local variable
      to supply preconv(1) a "coding tag".  Doing so throws that program a
      bone if the "uchardet" library is not available and the program is
      asked to guess the file's input encoding.
    
    Fixes <https://savannah.gnu.org/bugs/?66287> (2/2).  Thanks to Dave
    Kemper for the report.
    
    Also update the command examples for readers interested in rendering the
    file.  The examples specify the input encoding explicitly; the coding
    tag is for the benefit of people who use the groff(1) option "-k"
    instead of "-K".
    
    This commit causes a preconv "smoke test" failure.
---
 contrib/mm/ChangeLog        | 10 ++++++++++
 contrib/mm/groff_mmse.7.man |  5 ++++-
 2 files changed, 14 insertions(+), 1 deletion(-)

diff --git a/contrib/mm/ChangeLog b/contrib/mm/ChangeLog
index cbb9a0cff..8457b855b 100644
--- a/contrib/mm/ChangeLog
+++ b/contrib/mm/ChangeLog
@@ -1,3 +1,13 @@
+2024-10-14  G. Branden Robinson <g.branden.robinson@gmail.com>
+
+       * groff_mmse.7.man: Add old-style Emacs file-local variable to
+       supply preconv(1) a "coding tag".  Doing so throws that program
+       a bone if the "uchardet" library is not available and the
+       program is asked to guess the file's input encoding.
+
+       Fixes <https://savannah.gnu.org/bugs/?66287> (2/2).  Thanks to
+       Dave Kemper for the report.
+
 2024-10-14  G. Branden Robinson <g.branden.robinson@gmail.com>
 
        * groff_mmse.7.man: Convert file encoding from Latin-1 to UTF-8.
diff --git a/contrib/mm/groff_mmse.7.man b/contrib/mm/groff_mmse.7.man
index 638cea1fa..f8ffbb54a 100644
--- a/contrib/mm/groff_mmse.7.man
+++ b/contrib/mm/groff_mmse.7.man
@@ -1,3 +1,6 @@
+.\" -*- coding: utf-8; -*-  Help preconv(1) if uchardet is not present.
+.\" groff -K utf8 -man -msv
+.\" nroff -K utf8 -man -msv
 .TH groff_mmse @MAN7EXT@ "@MDATE@" "groff @VERSION@"
 .SH Namn
 groff_mmse \- svenska \(rqmemorandum\(rq makro f\(:or GNU
@@ -181,7 +184,7 @@ Sweden
 .
 .
 .\" Local Variables:
-.\" coding: latin-1
+.\" coding: utf-8
 .\" fill-column: 72
 .\" mode: nroff
 .\" End:



reply via email to

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