Michael - I suppose one could identify two cases: - If the default address came from a jack configuration file or a jack-specific environment variable like JACK_EMAIL then no prompt should be needed. - If the default address came from a generic environment variable EMAIL or even [EMAIL PROTECTED] /etc/mailname` then there is a greater chance the default is wrong, so a prompt is called for.
However, I don't think the first point is a strong one. I.e.: > You don't mind being prompted for the email address as long as the > default is correct. - Jim Van Zandt Date: Mon, 23 May 2005 21:21:32 +0100 From: Martin Michlmayr <[EMAIL PROTECTED]> To: "James R. Van Zandt" <[EMAIL PROTECTED]> Cc: Debian Bug Tracking System <[EMAIL PROTECTED]> Subject: Re: jack: --submit should not request email address every time Message-ID: <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <[EMAIL PROTECTED]> User-Agent: Mutt/1.5.9i * James R. Van Zandt <[EMAIL PROTECTED]> [2004-10-17 11:54]: > jack should look for a configuration variable email then an > environment variable EMAIL, so it can fill in an intelligent default > before asking the user (and of course both should be documented). Your subject says "--submit should not request email address every time" but what you really want is just being able to fill in an appropriate default, right? You don't mind being prompted for the email address as long as the default is correct. Or should jack not prompt at all when $EMAIL or some config variable is set? -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]