bugGNU roff - Bugs: bug #64478, [troff] want mechanism to clear...

 
 

bug #64478: [troff] want mechanism to clear hyphenation patterns defined with .hw

Submitter:  None
Submitted:  Thu 27 Jul 2023 04:29:04 AM UTC
   
 
Category:  Core Severity:  1 - Wish
Item Group:  Feature change Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 27 Jul 2023 04:29:04 AM UTC, original submission:  

[Quoting Branden in http://lists.gnu.org/r/groff/2023-03/msg00108.html]

One of the themes of my suggested revisions to GNU troff has been to provide ways to unwind or reset things that historically haven't been available.  One of those is environment removal (bug #60954).

Another that has occurred to me is hyphenation override removal.

Today, invoking the `hw` request without arguments does nothing.  We could change it to clear any existing hyphenation overrides.

Or, perhaps better, we could add an 'hwrm' or 'rhw' request; if given arguments, it reads each word (ignoring hyphens), matches it against the existing list of overrides, and removes the word if found.  If given no arguments, it removes all overrides.  Then, an.tmac (and doc.tmac) could call it when hitting `TH` (and `Dd`) macros, tidying up the state of the formatter for the next document.

Anonymous

 

(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 (Updated 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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-08-08 barx Carbon-CopyRemoved 93119 -
    2023-08-08 barx Severity3 - Normal 1 - Wish
    2023-07-28 gbranden Summarywant mechanism to clear hyphenation patterns defined with .hw [troff] want mechanism to clear hyphenation patterns defined with .hw

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code