From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: parallel bootstrap failure; _prompt_? during bootstrap build Date: Mon, 19 Nov 2007 14:21:39 -0500 Message-ID: References: <87fxz6fmt7.fsf@rho.meyering.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1195500181 2058 80.91.229.12 (19 Nov 2007 19:23:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 19 Nov 2007 19:23:01 +0000 (UTC) Cc: Eli Zaretskii , 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 20:22:58 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 1IuCCE-0004OR-Mc for ged-emacs-devel@m.gmane.org; Mon, 19 Nov 2007 20:22:14 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IuCC0-00074w-U0 for ged-emacs-devel@m.gmane.org; Mon, 19 Nov 2007 14:22:00 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IuCBw-00071E-BR for emacs-devel@gnu.org; Mon, 19 Nov 2007 14:21:56 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IuCBu-0006uY-3w for emacs-devel@gnu.org; Mon, 19 Nov 2007 14:21:55 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IuCBt-0006ty-VS for emacs-devel@gnu.org; Mon, 19 Nov 2007 14:21:54 -0500 Original-Received: from mercure.iro.umontreal.ca ([132.204.24.67]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IuCBm-0001hG-1I; Mon, 19 Nov 2007 14:21:46 -0500 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id 907C62CF42A; Mon, 19 Nov 2007 14:21:45 -0500 (EST) Original-Received: from faina.iro.umontreal.ca (faina.iro.umontreal.ca [132.204.26.177]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id BBE5A3FE0; Mon, 19 Nov 2007 14:21:39 -0500 (EST) Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id A57AF6CAB0; Mon, 19 Nov 2007 14:21:39 -0500 (EST) In-Reply-To: (Richard Stallman's message of "Mon, 19 Nov 2007 14:02:38 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-2.82, requis 5, autolearn=not spam, ALL_TRUSTED -2.82) X-DIRO-MailScanner-From: monnier@iro.umontreal.ca X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) 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:83682 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. I don't see why it would be wrong. It would be wrong to do terminal-escape-sequence processing, but coding-system decoding on the contrary seems like the right thing to do. Stefan