From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: parallel bootstrap failure; _prompt_? during bootstrap build Date: Mon, 19 Nov 2007 22:42:15 +0200 Message-ID: References: <87fxz6fmt7.fsf@rho.meyering.net> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1195504953 20335 80.91.229.12 (19 Nov 2007 20:42:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 19 Nov 2007 20:42:33 +0000 (UTC) Cc: emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 19 21:42:39 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IuDS1-0002OM-7U for ged-emacs-devel@m.gmane.org; Mon, 19 Nov 2007 21:42:37 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IuDRn-0006HL-G7 for ged-emacs-devel@m.gmane.org; Mon, 19 Nov 2007 15:42:23 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IuDRk-0006FV-Ez for emacs-devel@gnu.org; Mon, 19 Nov 2007 15:42:20 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IuDRi-0006Et-SL for emacs-devel@gnu.org; Mon, 19 Nov 2007 15:42:20 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IuDRi-0006Eg-NR for emacs-devel@gnu.org; Mon, 19 Nov 2007 15:42:18 -0500 Original-Received: from heller.inter.net.il ([213.8.233.23]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IuDRf-0005MO-DS; Mon, 19 Nov 2007 15:42:15 -0500 Original-Received: from HOME-C4E4A596F7 (IGLD-83-130-192-138.inter.net.il [83.130.192.138]) by heller.inter.net.il (MOS 3.7.3a-GA) with ESMTP id EEG04959 (AUTH halo1); Mon, 19 Nov 2007 22:42:12 +0200 (IST) In-reply-to: (message from Richard Stallman on Mon, 19 Nov 2007 14:02:38 -0500) X-detected-kernel: by monty-python.gnu.org: FreeBSD 4.7-5.2 (or MacOS X 10.2-10.4) (2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:83688 Archived-At: > From: Richard Stallman > CC: emacs-devel@gnu.org > Date: Mon, 19 Nov 2007 14:02:38 -0500 > > In general, since -batch may still imply prompts followed by keyboard > input, I think we do need to set up keyboard encoding correctly. > > When Emacs reads input in batch mode, does it do this decoding at all? No, we don't; at least a breakpoint in decode_coding_string does not break when I call yes-or-no-p in "emacs -batch". But I think this is wrong. > But since the input is coming from stdin, not from "the > keyboard", I think it is wrong to do any such decoding. What if stdin > is a file? Like Stefan, I think decoding it is TRT under -batch. It doesn't matter if it comes from a file: if the user redirects stdin to a file, she ought to know that the file should be encoded the same as keyboard input.