From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#65049: Minor update to the repro steps Date: Fri, 04 Aug 2023 20:56:58 +0300 Organization: LINKOV.NET Message-ID: <865y5ur8r9.fsf@mail.linkov.net> References: <83y1iruky1.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6570"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu) Cc: Maxim Kim , 65049@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Aug 04 19:59:20 2023 Return-path: Envelope-to: geb-bug-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 1qRz55-0001Z5-Bu for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 04 Aug 2023 19:59:19 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qRz4r-0007zZ-2B; Fri, 04 Aug 2023 13:59:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qRz4o-0007xf-DB for bug-gnu-emacs@gnu.org; Fri, 04 Aug 2023 13:59:03 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qRz4o-0006rN-5H for bug-gnu-emacs@gnu.org; Fri, 04 Aug 2023 13:59:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qRz4o-0001II-05 for bug-gnu-emacs@gnu.org; Fri, 04 Aug 2023 13:59:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 04 Aug 2023 17:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65049 X-GNU-PR-Package: emacs Original-Received: via spool by 65049-submit@debbugs.gnu.org id=B65049.16911719114929 (code B ref 65049); Fri, 04 Aug 2023 17:59:01 +0000 Original-Received: (at 65049) by debbugs.gnu.org; 4 Aug 2023 17:58:31 +0000 Original-Received: from localhost ([127.0.0.1]:54757 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qRz4I-0001HR-Ly for submit@debbugs.gnu.org; Fri, 04 Aug 2023 13:58:30 -0400 Original-Received: from relay7-d.mail.gandi.net ([217.70.183.200]:57083) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qRz4H-0001HB-7H for 65049@debbugs.gnu.org; Fri, 04 Aug 2023 13:58:29 -0400 Original-Received: by mail.gandi.net (Postfix) with ESMTPSA id E95C320007; Fri, 4 Aug 2023 17:58:21 +0000 (UTC) In-Reply-To: <83y1iruky1.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 04 Aug 2023 14:05:26 +0300") X-GND-Sasl: juri@linkov.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:266703 Archived-At: >> 0. ./runemacs.exe -Q >> 1. navigate to a dirty git repo >> 2. C-x v D >> 3. Press C-x v v >> 4. Add commit message >> 5. Press C-c C-c > > I cannot reproduce the problem. I don't have Windows, but I noticed these lines in vc-git-checkin: ;; On MS-Windows, pass the commit log message through a ;; file, to work around the limitation that command-line ;; arguments must be in the system codepage, and therefore ;; might not support the non-ASCII characters in the log ;; message. Handle also remote files. (if (eq system-type 'windows-nt) (let ((default-directory (file-name-directory file1))) (make-nearby-temp-file "git-msg"))) So probably the same let-default-directory wrapper should be added around (make-nearby-temp-file "git-patch") in the same function. And maybe also to (make-nearby-temp-file "git-cached") if needed.