From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: parallel bootstrap failure; _prompt_? during bootstrap build Date: Mon, 19 Nov 2007 14:02:38 -0500 Message-ID: References: <87fxz6fmt7.fsf@rho.meyering.net> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1195499218 30868 80.91.229.12 (19 Nov 2007 19:06:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 19 Nov 2007 19:06:58 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 19 20:06:59 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 1IuBwj-00078d-9W for ged-emacs-devel@m.gmane.org; Mon, 19 Nov 2007 20:06:13 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IuBwV-0006Cu-Q6 for ged-emacs-devel@m.gmane.org; Mon, 19 Nov 2007 14:05:59 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IuBtI-0003f3-B5 for emacs-devel@gnu.org; Mon, 19 Nov 2007 14:02:40 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IuBtH-0003eU-F7 for emacs-devel@gnu.org; Mon, 19 Nov 2007 14:02:39 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IuBtH-0003eP-2s for emacs-devel@gnu.org; Mon, 19 Nov 2007 14:02:39 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IuBtG-0003iI-Ku for emacs-devel@gnu.org; Mon, 19 Nov 2007 14:02:38 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1IuBtG-0005jh-B2; Mon, 19 Nov 2007 14:02:38 -0500 In-reply-to: (message from Eli Zaretskii on Mon, 19 Nov 2007 06:23:40 +0200) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:83678 Archived-At: > > I don't know, but it is an interesting question. Should Emacs call > set-locale-environment when running in batch mode? As I wrote elsewhere, it now seems to do that unconditionally. 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? I don't know. 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?