> + #:use-module (guix ui) I think that less UI is outside guix/scripts/ and easy maintenance we have. Ideally, G_ should only be under guix/scripts/. Last, if my proposal does not fit, from this snippet, --8<---------------cut here---------------start------------->8--- + (lambda args + (false-if-exception (rmdir directory)) + ;; Compensate for unixy errors, e.g., ‘error: mkdir: Permission denied’. + ;; XXX This displays the hint before the error. After would be nicer. + ;; XXX So would a generic mechanism for dealing with such errors. + (match args + ((system-error _ _ _ EPERM) + (display-hint (format #f (G_ "can you create and write to ~a?") + directory))) + (_ #f))))) --8<---------------cut here---------------end--------------->8--- the ’match’ can be avoided --8<---------------cut here---------------start------------->8--- (lambda (key subr message args . rest) (false-if-exception (rmdir directory)) ;; Compensate for unixy errors, e.g., ‘error: mkdir: Permission denied’. ;; XXX This displays the hint before the error. After would be nicer. ;; XXX So would a generic mechanism for dealing with such errors. (when (= EPERM (car rest)) (display-hint (format #f (G_ "can you create and write to ~a?") directory)))) --8<---------------cut here---------------end--------------->8--- Or someting along these lines. :-) Cheers, simon