Article View: gnu.emacs.bug
Article #98618emacs should not ask questions when non-interactive
From: Dan_Jacobson
Date: Fri, 10 May 1991 21:32
Date: Fri, 10 May 1991 21:32
18 lines
1286 bytes
1286 bytes
The embarrassment (they were not amused here): -rw-r--r-- 1 danj1 danj1 31784642 May 10 15:54 nohup.out The repeated contents: Please answer y or n. Delete excess backup versions of /z119/danj1/tools/netnews/ram/.newsrc? (y or n) The emacs: 18.55 (I think 18.57 is the same) The Makefile entry, not that it matters: $(EMACS) -batch $N -l news-p-d -l news-pri -f newsrc-sort \ -f save-buffer -kill The solution: any y[es]-or-no asking stuff should see if i'm noninteractive first... but mostly: and y-or-n-p, yes-or-no-p should cause an error if i'm noninteractive... [also note this in the documentation when you add this.]
Technical Details
Message-ID:
<9105102206.AA23351@life.ai.mit.edu>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!unreplyable!garbageShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb2f1,76de37919df7bb71,start X-Google-Attributes: gidfb2f1,public X-Google-ArrivalTime: 1991-05-10 14:32:00 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!unreplyable!garbage From: Dan_Jacobson@ATT.COM Newsgroups: gnu.emacs.bug Subject: emacs should not ask questions when non-interactive Message-ID: <9105102206.AA23351@life.ai.mit.edu> Date: 10 May 91 21:32:00 GMT Sender: daemon@tut.cis.ohio-state.edu Reply-To: Dan_Jacobson@ihlpz.att.com Distribution: gnu Organization: GNUs Not Usenet Lines: 18 Approved: bug-gnu-emacs@prep.ai.mit.edu