From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: on ESHELL, utf-8 and fossil command-line commit message Date: Sat, 01 Oct 2022 22:18:22 +0300 Message-ID: <83v8p39wu9.fsf@gnu.org> References: <86wn9jd3sw.fsf@protonmail.com> <83czbbbn3k.fsf@gnu.org> <86k05jcs7t.fsf@protonmail.com> <83y1tz9yix.fsf@gnu.org> <86wn9jbbt6.fsf@protonmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36030"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 01 21:19:10 2022 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oei10-0009Gr-KW for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 01 Oct 2022 21:19:10 +0200 Original-Received: from localhost ([::1]:38974 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oei0y-0006Jq-OO for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 01 Oct 2022 15:19:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48224) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oei0S-0006JC-3i for help-gnu-emacs@gnu.org; Sat, 01 Oct 2022 15:18:41 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:48386) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oei0R-0004eo-N6 for help-gnu-emacs@gnu.org; Sat, 01 Oct 2022 15:18:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=2rqNiEHw2w8JmGf4Vg61fCl9XY1DMeBe3I1eFHT8Ybo=; b=OOV+gr7NKfBDkx301VSZ lSzT4k4tomZ5FVkfDPHjWeR+9e4B5yt2Hobxc/Vx+gyBo5OMc5x+qHVpXN2qoQHvGufY6dGqTLbso 7p365Ay517F/w/kSe7ouiNPbRxvCd6/Byd2i9+UD+VqmgqmU+8jb7i1QbXS8zLZJrGvJ9MeuUSmBp 6qpuxvPAJjsvJfZNarrDkq55lPLiub9vtT2rsWDR+Uq+GWyo0Z/mUIw0vyv864z/YTcnPwZMiFi+I xpBbx7HmT1Lh+iqxp7jXPNuLhgOucFZJKDfTPRLNNHaojvIygOZRMDMR8bHmb5cqD/UfN2LFg3ziN 4enMi2lMMPeBwA==; Original-Received: from [87.69.77.57] (port=4418 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oei0P-0004wA-44 for help-gnu-emacs@gnu.org; Sat, 01 Oct 2022 15:18:34 -0400 In-Reply-To: <86wn9jbbt6.fsf@protonmail.com> (message from Wayne Harris via Users list for the GNU Emacs text editor on Sat, 01 Oct 2022 16:09:41 -0300) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:139694 Archived-At: > Date: Sat, 01 Oct 2022 16:09:41 -0300 > From: Wayne Harris via Users list for the GNU Emacs text editor > > > Maybe you have other customizations that cause this. What does the > > below say: > > > > M-: default-process-coding-system RET > > It says > > %(print default-process-coding-system) > (utf-8-dos . utf-8-unix) > % > > I tried to change it to just cp1252. > > --8<---------------cut here---------------start------------->8--- > %(setq default-process-coding-system (cons 'cp1252 'cp1252)) Too late, I think. So I think the problem is that your customizations set up UTF-8 everywhere, and that causes the problems. My suggestion is to start from "emacs -Q", and if these commands work there, review your customizations until you find those which get in the way. If even "emacs -Q" doesn't work, I suggest to submit a bug report with all the details. In general, in core we don't pass arbitrary text via command-line arguments on MS-Windows; instead, we write text to a temporary file and ask the program to read text from there -- for this very reason. Most VCS commands accept -f or -F switch telling them to read the log message from a file; I suggest to use that instead of fighting the UTF-8 uphill battle. > %fs timeline -n 1 > === 2022-10-01 === > 19:04:34 [d992644b4b] *CURRENT* Naiveté. (user: mer tags: trunk) > --- entry limit (1) reached --- Could it be that 'fs' expects UTF-8? Is that a native Windows port or a Cygwin port? The latter will probably expect UTF-8 on the command line, and you cannot give it that.