1
0
Fork 0
cl-sites/HyperSpec-7-0/HyperSpec/Issues/iss020_w.htm

93 lines
4.5 KiB
HTML
Raw Normal View History

2024-04-01 10:24:07 +02:00
<!-- Common Lisp HyperSpec (TM), version 7.0 generated by Kent M. Pitman on Mon, 11-Apr-2005 2:31am EDT -->
<HTML>
<HEAD>
<TITLE>CLHS: Issue BREAK-ON-WARNINGS-OBSOLETE Writeup</TITLE>
<LINK HREF="../Data/clhs.css" REL="stylesheet" TYPE="text/css" />
<META HTTP-EQUIV="Author" CONTENT="Kent M. Pitman">
<META HTTP-EQUIV="Organization" CONTENT="LispWorks Ltd.">
<LINK REL=TOP HREF="../Front/index.htm">
<LINK REL=COPYRIGHT HREF="../Front/Help.htm#Legal">
<LINK REL=DISCLAIMER HREF="../Front/Help.htm#Disclaimer">
<LINK REL=PREV HREF="../Issues/iss019_w.htm">
<LINK REL=UP HREF="../Issues/iss020.htm">
<LINK REL=NEXT HREF="../Issues/iss021_w.htm">
</HEAD>
<BODY>
<H1><A REV=MADE HREF="http://www.lispworks.com/"><IMG WIDTH=80 HEIGHT=65 ALT="[LISPWORKS]" SRC="../Graphics/LWSmall.gif" ALIGN=Bottom></A><A REL=TOP HREF="../Front/index.htm"><IMG WIDTH=237 HEIGHT=65 ALT="[Common Lisp HyperSpec (TM)]" SRC="../Graphics/CLHS_Sm.gif" ALIGN=Bottom></A> <A REL=PREV HREF="../Issues/iss019_w.htm"><IMG WIDTH=40 HEIGHT=40 ALT="[Previous]" SRC="../Graphics/Prev.gif" ALIGN=Bottom></A><A REL=UP HREF="../Issues/iss020.htm"><IMG WIDTH=40 HEIGHT=40 ALT="[Up]" SRC="../Graphics/Up.gif" ALIGN=Bottom></A><A REL=NEXT HREF="../Issues/iss021_w.htm"><IMG WIDTH=40 HEIGHT=40 ALT="[Next]" SRC="../Graphics/Next.gif" ALIGN=Bottom></A></H1>
<HR>
<H2>Issue BREAK-ON-WARNINGS-OBSOLETE Writeup</H2>
<PRE><B>Status:</B> Passed, as amended, Mar 89 X3J13<P>
<B>Issue:</B> <A HREF="iss020.htm">BREAK-ON-WARNINGS-OBSOLETE</A><P>
<B>Forum:</B> Cleanup<P>
<B>References:</B> *BREAK-ON-WARNINGS* (CLtL p432, CL Condition System p40)<P>
<A REL=DEFINITION HREF="../Body/v_break_.htm#STbreak-on-signalsST"><B>*BREAK-ON-SIGNALS*</B></A> (CL Condition System p25)<P>
<B>Category:</B> CLARIFICATION/CHANGE<P>
<B>Edit history:</B> 07-Mar-89, Version 1 by Pitman<P>
8-Apr-89, Version 2 by Masinter (as amended; update discussion)<P>
<P>
<B>Problem Description:<P>
</B><P>
With the advent of <A REL=DEFINITION HREF="../Body/v_break_.htm#STbreak-on-signalsST"><B>*BREAK-ON-SIGNALS*</B></A>, *BREAK-ON-WARNINGS* is<P>
redundant and unnecessary.<P>
<P>
<B>Proposal (BREAK-ON-WARNINGS-OBSOLETE:REMOVE):<P>
</B><P>
Remove *BREAK-ON-WARNINGS*.<P>
<P>
<B>Test Case:<P>
</B><P>
N/A<P>
<P>
<B>Rationale:<P>
</B><P>
This will lead to simplification of the description of <A REL=DEFINITION HREF="../Body/f_warn.htm#warn"><B>WARN</B></A>.<P>
<P>
Not only are the two variables overkill, but they have an effect<P>
in an identifiably but uselessly distinct place.<P>
<P>
<B>Current Practice:<P>
</B><P>
Most have *BREAK-ON-WARNINGS*.<P>
<P>
<B>Cost to Implementors:<P>
</B><P>
slight.<P>
<P>
<B>Cost to Users:<P>
</B><P>
Users will have to write (<A REL=DEFINITION HREF="../Body/s_setq.htm#setq"><B>SETQ</B></A> <A REL=DEFINITION HREF="../Body/v_break_.htm#STbreak-on-signalsST"><B>*BREAK-ON-SIGNALS*</B></A> '<A REL=DEFINITION HREF="../Body/e_warnin.htm#warning"><B>WARNING</B></A>)<P>
rather than (<A REL=DEFINITION HREF="../Body/s_setq.htm#setq"><B>SETQ</B></A> *BREAK-ON-WARNINGS* T).<P>
<P>
Since this is mainly done interactively and not in programs,<P>
the cost is slight.<P>
<P>
<B>Cost of Non-Adoption:<P>
</B><P>
The definition of <A REL=DEFINITION HREF="../Body/f_warn.htm#warn"><B>WARN</B></A> will be gratuitously cluttered.<P>
<P>
<B>Benefits:<P>
</B><P>
Cost of non-adoption is avoided.<P>
<P>
<B>Aesthetics:<P>
</B><P>
Slight improvement.<P>
<P>
<B>Discussion:<P>
</B><P>
Pitman thinks this is a good idea, but doesn't think a lot of time<P>
should be wasted discussing the issue if there is strong opposition.<P>
</PRE>
<HR>
<A REL=NAVIGATOR HREF="../Front/StartPts.htm"><IMG WIDTH=80 HEIGHT=40 ALT="[Starting Points]" SRC="../Graphics/StartPts.gif" ALIGN=Bottom></A><A REL=TOC HREF="../Front/Contents.htm"><IMG WIDTH=80 HEIGHT=40 ALT="[Contents]" SRC="../Graphics/Contents.gif" ALIGN=Bottom></A><A REL=INDEX HREF="../Front/X_Master.htm"><IMG WIDTH=80 HEIGHT=40 ALT="[Index]" SRC="../Graphics/Index.gif" ALIGN=Bottom></A><A REL=INDEX HREF="../Front/X_Symbol.htm"><IMG WIDTH=80 HEIGHT=40 ALT="[Symbols]" SRC="../Graphics/Symbols.gif" ALIGN=Bottom></A><A REL=GLOSSARY HREF="../Body/26_a.htm"><IMG WIDTH=80 HEIGHT=40 ALT="[Glossary]" SRC="../Graphics/Glossary.gif" ALIGN=Bottom></A><A HREF="../Front/X3J13Iss.htm"><IMG WIDTH=80 HEIGHT=40 ALT="[Issues]" SRC="../Graphics/Issues.gif" ALIGN=Bottom></A><BR>
<A REL=COPYRIGHT HREF="../Front/Help.htm#Legal"><I>Copyright 1996-2005, LispWorks Ltd. All rights reserved.</I></A><P>
</BODY>
</HTML>