another paranoid_confirmation revision

Add support for
 |OPTIONS=paranoid_confirm:+foo !bar
to enable confirmation for foo and disable it for bar while leaving
other settings intact.  Drop support for
 |OPTIONS=!paranoid_confirm:bar
since paranoid_confirm:-bar and paranoid_confirm:+!bar accomplish the
same thing.  !paranoid_confirm still works as paranoid_confirm:none.

Update the documentation for paranoid_confirmation.  It doesn't spell
out all the ins and outs but should cover enough for actual use.

The revised Guidebook.tex is untested.
This commit is contained in:
PatR
2023-07-10 23:38:18 -07:00
parent 5d1f3e9957
commit 4fc96b0218
3 changed files with 94 additions and 43 deletions

View File

@@ -46,7 +46,7 @@
\author{Original version - Eric S. Raymond\\
(Edited and expanded for 3.7.0 by Mike Stephenson and others)}
%DO NOT REMOVE NH_DATESUB \date{DATE(%B %-d, %Y)}
\date{June 25, 2023}
\date{July 10, 2023}
\maketitle
@@ -4675,10 +4675,20 @@ turn on all of the above.
By default, the pray and swim choices are enabled, the others disabled.
To disable them without setting
any of the other choices, use ``{\it paranoid\verb+_+confirmation:none}''.
To keep
them enabled while setting any of the others, include them in the list,
such as
``{\it par\-a\-noid\verb+_+con\-fir\-ma\-tion:attack~pray~swim~Remove}''.
To keep them enabled while setting any of the others, you can
include them in the list, such as
``{\it par\-a\-noid\verb+_+con\-fir\-ma\-tion:attack~pray~swim~Remove\/}''
or you can precede the first entry in the list with a plus sign,
``{\it paranoid\verb+_+confirmation:\verb|+|attack~Remove\/}''.
To remove an entry that has been previously set without removing others,
precede the first entry in the list with a minus sign,
``{\it paranoid\verb+_+confirmation:-swim\/}.
To both add some new entries and remove some old ones, you can use
mulitple {\it paranoid\verb+_+confirmation\/} option settings, or you can
use the `{\tt \verb|+|}' form and list entries to be added by their name
and entries to be removed by `{\tt !}' and name.
The positive (no `!') and negative (with `!') entries
can be intermixed.
%.lp
\item[\ib{perm\verb+_+invent}]
If true, always display your current inventory in a window. This only