From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Maxim Kim Newsgroups: gmane.emacs.bugs Subject: bug#65049: Minor update to the repro steps Date: Fri, 4 Aug 2023 21:24:03 +1000 Message-ID: References: <83y1iruky1.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000fcc3c6060217227e" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8920"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 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 13:25:30 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 1qRsvy-00025N-4I for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 04 Aug 2023 13:25:30 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qRsvX-00020Q-TR; Fri, 04 Aug 2023 07:25:03 -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 1qRsvW-00020H-9o for bug-gnu-emacs@gnu.org; Fri, 04 Aug 2023 07:25:02 -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 1qRsvW-0005dm-1A for bug-gnu-emacs@gnu.org; Fri, 04 Aug 2023 07:25:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qRsvV-00072J-Rw for bug-gnu-emacs@gnu.org; Fri, 04 Aug 2023 07:25:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Maxim Kim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 04 Aug 2023 11:25: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.169114826326990 (code B ref 65049); Fri, 04 Aug 2023 11:25:01 +0000 Original-Received: (at 65049) by debbugs.gnu.org; 4 Aug 2023 11:24:23 +0000 Original-Received: from localhost ([127.0.0.1]:53520 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qRsut-00071F-09 for submit@debbugs.gnu.org; Fri, 04 Aug 2023 07:24:23 -0400 Original-Received: from mail-pf1-x432.google.com ([2607:f8b0:4864:20::432]:54772) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qRsuq-000711-Pd for 65049@debbugs.gnu.org; Fri, 04 Aug 2023 07:24:21 -0400 Original-Received: by mail-pf1-x432.google.com with SMTP id d2e1a72fcca58-68336d06620so1806763b3a.1 for <65049@debbugs.gnu.org>; Fri, 04 Aug 2023 04:24:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691148255; x=1691753055; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=4CMhmNdNLzBLp8ULmy1iASF0xmXzKvdGUTuvQ1SEUtY=; b=a4NExatFAgMK2yH7XlkWiPL/qcrHlDkl7rbb+WBfCRNeKHWovlUhKT6WscOkoXqIGw 3dNcNCb+mNLdJCReWgl0IZNhlcZwcyioMAmdk/w2T5BE14XWjQqOEal841awtSAkQcl8 /l9IbrFixYa2l7igp2EaOTtyBEcD16bc7xz7tmh0pZHvGGRu8B9+sEzNQSv+48+8hCzt sZ0xqABrHWrzaMmqRZ59LHNCTUNJYK+wyNjbOwdqvt20aGS51z6EjXlVYOaEoZwHWBFL 2e6/lBlKkTS2qID1yJMArw0dE4L2N3g0SvTuq5TyaP9lwrR9AxQOofNT0N4EyU0zQufA IG5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691148255; x=1691753055; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=4CMhmNdNLzBLp8ULmy1iASF0xmXzKvdGUTuvQ1SEUtY=; b=iEharFQx1KpgGN5rOUQeDP88dSnX6H8vSmGZ0fca4KVSX7oCgD+kKgiFumwdxKTxlt JkclP0YVMPCqvWHchm62A98Iwi5cIKotb93FHg1SsjPmjugYc+uqyYcR8OOucwWt7D8K bqGyw18tXs13X7oN6EftCSURWJ4kbXMBoBXLvX2l2G3hDB+Pw15WWppJ1OJydspFKDfu oFf/7+XSQNrR+8f83SJamh546+xDckLVHN4Gkcg/xaeU7/9P5inyWLs2KWyBLL1sUAl2 mpbB3z8AHGxD18FgsrrOVz64ynJS1EqTBJISPC2NuQYxobtGSNu1gfLpTkSuarx9U3X9 smfw== X-Gm-Message-State: AOJu0YzHZCL66PCJ+hc4Zetli3/69n6c7xcoGnlsdrfst/Uh2bqidMLU ln+B2buq5SzubkSzres4Uf7qTcw3g1X/Qco8nUnljpR52bg= X-Google-Smtp-Source: AGHT+IGjDtABlZPLyFWqUhjgJsrgBgLB6jum5h81Toj4YizCpPlk1WGav4hvkWTjVIzLqjsAMiXckCSIlFuMqc/7hjg= X-Received: by 2002:a17:90b:2383:b0:268:ef84:b0cd with SMTP id mr3-20020a17090b238300b00268ef84b0cdmr1375683pjb.18.1691148254756; Fri, 04 Aug 2023 04:24:14 -0700 (PDT) In-Reply-To: <83y1iruky1.fsf@gnu.org> 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:266666 Archived-At: --000000000000fcc3c6060217227e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, Aug 4, 2023 at 9:05=E2=80=AFPM Eli Zaretskii wrote: > I cannot reproduce the problem. I get the expected behavior: the > changes are committed. Are you sure your recipe is complete? Do you > have any Git customizations, either in that repository or in your > system-wide ~/.gitconfig etc.? I don't have any Git customization in that repo (I tried in several different repos). System-wide ~/.gitconfig is: [user] name =3D Maxim Kim email =3D habamax@gmail.com [core] autocrlf =3D input quotepath =3D off [credential] helper =3D libsecret [commit] verbose =3D true [pull] rebase =3D true [github] user =3D habamax > If you have no customizations, please tell more about the recipe, in > particular please describe exactly what you see at every step of the > recipe. For example, after "C-x v D" I see the diffs of the single > file that is modified in the repository -- is that what you see as > well? Yes I can see diffs of a single or multiple files (in the recipe I had a single file with a single diff). Basically > 0. ./runemacs.exe -Q default emacs is opened > 1. navigate to a dirty git repo > 2. C-x v D I can see a single file with a single diff > 3. Press C-x v v *vc-log* and *vc-log-files* windows are opened > 4. Add commit message add Summary only > 5. Press C-c C-c Get the error described in initial message. Once I am back to my windows laptop, will record a anigif and attach to mail. > FTR: I have the HOME environment variable defined on my Windows system > that points to my home directory -- maybe the problem is somehow > related to what Emacs considers HOME on Windows when there's no such > variable defined? does the directory ../AppData/Local/Temp/ actually > exist on your system (and why does Emacs use a relative file name for > it, anyway)? I have also defined HOME as C:/Users/maxim.kim (and it worked for 28.2). I should probably install 28.2 again and check if it still works. I am not sure if ../AppData/Local/Temp/ exists as I didn't check what is default-directory at that moment. But C:/Users/maxim.kim/AppData/Local/Temp= / exists and I've seen other temp files there that looked like emacs+git related, smth with MSG in name. I am not sure why Emacs use relative file name here to be honest. > If nothing else gives a clue, please step in Edebug through the > relevant code and tell which commands fail, and why (show the values > of the relevant variables). Will check how to use Edebug, thank you! --000000000000fcc3c6060217227e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Fri, Aug 4, 2023 at 9:05=E2=80=AFPM Eli Zaretskii <<= a href=3D"mailto:eliz@gnu.org">eliz@gnu.org> wrote:

> =C2= =A0I cannot reproduce the problem.=C2=A0 I get the expected behavior: the> =C2=A0changes are committed.=C2=A0 Are you sure your recipe is compl= ete?=C2=A0 Do you
> =C2=A0have any Git customizations, either in that= repository or in your
> =C2=A0system-wide ~/.gitconfig etc.?

= I don't have any Git customization in that repo (I tried in several dif= ferent repos).
System-wide ~/.gitconfig is:

[user]
name =3D M= axim Kim
email =3D habamax@gmail.c= om
[core]
autocrlf =3D input
quotepath =3D off
[credentia= l]
helper =3D libsecret
[commit]
verbose =3D true
[pull]
= rebase =3D true
[github]
user =3D habamax

> =C2=A0If you h= ave no customizations, please tell more about the recipe, in
> =C2=A0= particular please describe exactly what you see at every step of the
>= ; =C2=A0recipe.=C2=A0 For example, after "C-x v D" I see the diff= s of the single
> =C2=A0file that is modified in the repository -- is= that what you see as
> =C2=A0well?

Yes I can see diffs of a s= ingle or multiple files (in the recipe I had a single
file with a single= diff).

Basically
> 0. ./runemacs.exe -Q
default emacs is o= pened

> 1. navigate to a dirty git repo
> 2. C-x v D
I c= an see a single file with a single diff

> 3. Press C-x v v
*vc-log* and *vc-log-files* windows are opened

> 4. Add commit m= essage
add Summary only

> 5. Press C-c C-c

Get the erro= r described in initial message.

Once I am back to my windows laptop,= will record a anigif and attach to mail.

> =C2=A0FTR: I have the= HOME environment variable defined on my Windows system
> =C2=A0that = points to my home directory -- maybe the problem is somehow
> =C2=A0r= elated to what Emacs considers HOME on Windows when there's no such
= > =C2=A0variable defined? does the directory ../AppData/Local/Temp/ actu= ally
> =C2=A0exist on your system (and why does Emacs use a relative = file name for
> =C2=A0it, anyway)?

I have also defined HOME as= C:/Users/maxim.kim (and it worked for 28.2). I
should probably install = 28.2 again and check if it still works.

I am not sure if ../AppData/= Local/Temp/ exists as I didn't check what is
default-directory at th= at moment. But C:/Users/maxim.kim/AppData/Local/Temp/
exists and I'v= e seen other temp files there that looked like emacs+git related,
smth w= ith MSG in name.

I am not sure why Emacs use relative file name here= to be honest.

> =C2=A0If nothing else gives a clue, please step = in Edebug through the
> =C2=A0relevant code and tell which commands f= ail, and why (show the values
> =C2=A0of the relevant variables).
=
Will check how to use Edebug, thank you!
--000000000000fcc3c6060217227e--