diff --git a/loop.nw b/loop.nw index 35f9132..1af2908 100644 --- a/loop.nw +++ b/loop.nw @@ -1,7 +1,4 @@ % -*- mode: poly-noweb; -*- -% HELLO -%% %% % -*- mode: noweb; -*- -%% %% %% noweb-default-code-mode: lisp-mode; \documentclass[a4paper,11pt]{article} \usepackage[text={6.75in,10in},centering]{geometry} @@ -765,7 +762,8 @@ running a program [[./list-accounts]]. (new-passwd (or given-passwd random-passwd))) (if (not (get-account username)) (println "No such account ``~a''." username) - (multiple-value-bind (okay? problem) (change-passwd! username new-passwd) (if okay? + (multiple-value-bind (okay? problem) (change-passwd! username new-passwd) + (if okay? (println "Okay, account ~a now has password ``~a''." username new-passwd) (println "Sorry, could not change password: ~a." problem)))))) @ %def cli/change-passwd cli/list-accounts cli/create-account @@ -1806,13 +1804,8 @@ now, however, we have only these two to worry about. (ensure-header "date" #'get-date bs)) @ %def ensure-mid ensure-date -Now it's time to look at the header \verb|newsgroups|. XXX: we need -to rewrite this because we have that plan of verifying everything -there is to verify up front in [[conforms?]]. So when we invoke -[[post]], there's nothing else to verify. We're verifying in two -places at the same time. - -The name of each group must conform to the expression +Now it's time to look at the header \verb|newsgroups|. The name of +each group must conform to the expression <