bug-texinfo
[Top][All Lists]
Advanced

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

Re: Warn about invalid node names


From: Thien-Thi Nguyen
Subject: Re: Warn about invalid node names
Date: Tue, 13 Aug 2013 16:55:42 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

() Patrice Dumas <address@hidden>
() Tue, 13 Aug 2013 11:07:31 +0200

   It is always possible to add warnings specific of converters, but I 
   would like to avoid that as much as possible, as I think that it is
   confusing to have different warning messages for different output
   formats.

I think if you are explicit about the warning CATEGORY, as in:

 FILENAME:LINE:COL: WARNING (CATEGORY): BLURB

it will not be so confusing.  Some ideas for CATEGORY are:

 - texinfo
   the input language
 
 - info
 - pdf
 - ...
   the output format (converter)

 - format
   compute one of ‘info’, ‘pdf’, ‘...’ from the args

 - style
   migration support, etc

Then the warnings facility could accept these symbols, comma-separated,
w/ ‘all’ to mean "enable all warnings", and "no-" prefixing to toggle.
Personally, i would most likely do:

 makeinfo -o foo.info --warn=all,no-style foo.texi

and invest significant effort to eliminate the reported problems.

-- 
Thien-Thi Nguyen
   GPG key: 4C807502
   (if you're human and you know it)
      read my lisp: (responsep (questions 'technical)
                               (not (via 'mailing-list)))
                     => nil

Attachment: pgpVzMwzmh21Y.pgp
Description: PGP signature


reply via email to

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