bugGNU roff - Bugs: bug #59463, doc/doc.am: use "-Kutf8"...

 
 

bug #59463: doc/doc.am: use "-Kutf8" instead of '-k'

Submitter:  Bjarni Ingi Gislason <bjarniig>
Submitted:  Sat 14 Nov 2020 12:31:44 AM UTC
   
 
Category:  General Severity:  3 - Normal
Item Group:  Build/Installation Status:  Fixed
Privacy:  Public Assigned to:  gbranden
Open/Closed:  Closed Planned Release:  1.23.0
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 22 May 2022 05:19:56 AM UTC, comment #3: 

I happened across a valid reason to make this change.

It has nothing to do with producing "less heat".


commit 931c31ab4d8e73854bbc14e2a4c68f8b918af302
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date:   Sat May 21 09:26:20 2022 -0500

    doc/doc.am: Generate meintro_fr.ps more robustly.

    * doc/doc.am (doc/meintro_fr.ps): Call groff with `-K utf8` instead of
      `-k`, in case the "configure" script didn't find uchardet (and
      preconv(1) thus can't auto-detect an encoding).


G. Branden Robinson <gbranden>
Group administrator
Tue 11 Jan 2022 05:24:35 AM UTC, comment #2: 

Postponing per comment #1.  It will still "Need Info" after the groff 1.23 release.

G. Branden Robinson <gbranden>
Group administrator
Mon 16 Nov 2020 01:12:03 PM UTC, comment #1: 


original submission:

> doc/doc.am: use "-Kutf8" instead of '-k'
>
>   When the encoding is known, it should be used.
> That uses less resources and produces less heat.


I think you should quantify that claim before seriously forwarding it.  What is the magnitude of the effect and how are you measuring it?

>   This will also matter,
> when "preconv" no longer will be the first command in the pipeline
> "groff" produces with the option '-s', see bug #59442 (and #55334).


Let's cross that bridge if/when we come to it, which will be after 1.23.0 is released.

G. Branden Robinson <gbranden>
Group administrator
Sat 14 Nov 2020 12:31:44 AM UTC, original submission:  

doc/doc.am: use "-Kutf8" instead of '-k'

  When the encoding is known, it should be used.
That uses less resources and produces less heat.

  This will also matter,
when "preconv" no longer will be the first command in the pipeline
"groff" produces with the option '-s', see bug #59442 (and #55334).

Lines to change:

1)

        && $(DOC_GROFF) -k -Tutf8 -ge -me >$@

2)

        && $(DOC_GROFF) -k -Tps -ge -me >$@


Bjarni Ingi Gislason <bjarniig>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by gbranden (Posted a comment)
  • -email is unavailable- added by bjarniig (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-05-22 gbranden StatusPostponed Fixed
        Assigned toNone gbranden
        Open/ClosedOpen Closed
        Planned ReleaseNone 1.23.0
    2022-01-25 gbranden CategoryNone General
    2022-01-11 gbranden StatusNeed Info Postponed
    2020-11-16 gbranden StatusNone Need Info

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code