Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!leah!rpi!its.rpi.edu!tale From: tale@its.rpi.edu (David C Lawrence) Newsgroups: comp.emacs Subject: Re: ARGH! Ahem. Umm, answering prompts & abbreviating Message-ID: Date: 6 Feb 89 14:19:41 GMT References: <17901@vax5.CIT.CORNELL.EDU> Sender: usenet@rpi.edu Reply-To: tale@pawl.rpi.edu Distribution: comp Organization: The Octagon Room Lines: 22 In-reply-to: rad@vax5.CIT.CORNELL.EDU's message of 5 Feb 89 21:13:58 GMT In article <17901@vax5.CIT.CORNELL.EDU> rad@vax5.CIT.CORNELL.EDU writes: Well. Does anyone have something that will let me type 'y' or 'n' in response to any prompt that asks for 'yes' or 'no'? Suffice it to say that I am not at all agreeable with having to type 'yes' and 'no' when 'y' and 'n' would do nicely. (I have been told that UNIX & I go well together; I tend to agree.) I'd give my left arm for a hook/hack/etc. that would do this for me. (Well, maybe not the whole arm, but you get the point. ;^) (defun yes-or-no-p (prompt) "This is -not- the original yes-or-no-p, it is a workaround that calls y-or-n-p in place of it." (y-or-n-p prompt)) I'm kind of full up on left arms; would you happen to have a leg to spare instead? Dave -- tale@rpitsmts.bitnet, tale%mts@rpitsgw.rpi.edu, tale@pawl.rpi.edu