GNU bug report logs - #53391
First keypress doesn't work when scratch buffer is killed in emacs 28, emacs daemon + emacs client is used

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Евгений Курневский <kurnevsky@HIDDEN>; dated Thu, 20 Jan 2022 13:50:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Removed tag(s) moreinfo. Request was from Lars Ingebrigtsen <larsi@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 53391 <at> debbugs.gnu.org:


Received: (at 53391) by debbugs.gnu.org; 21 Jan 2022 13:06:08 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jan 21 08:06:08 2022
Received: from localhost ([127.0.0.1]:60583 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nAtcG-0004dN-6w
	for submit <at> debbugs.gnu.org; Fri, 21 Jan 2022 08:06:08 -0500
Received: from mail-yb1-f175.google.com ([209.85.219.175]:45654)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <kurnevsky@HIDDEN>) id 1nAtcC-0004cr-Qz
 for 53391 <at> debbugs.gnu.org; Fri, 21 Jan 2022 08:06:06 -0500
Received: by mail-yb1-f175.google.com with SMTP id h14so27336164ybe.12
 for <53391 <at> debbugs.gnu.org>; Fri, 21 Jan 2022 05:06:04 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :cc; bh=gF0qNU7ekbkuzblX7jj3FFP+SjObRg8C0yJS/hNCSps=;
 b=p0RK568DzYT0BWi8SWwRByM/Km3Y5DXVkru7u4ESHK9RR63vjNhbDKXgFnVMZUnHzr
 gpaPmABgOvfDg6MhFOQXZbRDNqwlU9BhN62+Hh3PSunBlBRsR/TXegnVs0bBNnmLWf0k
 ZGzLc8sWlvJZkv4dQsV9ZrJqFK3yJqmaPnNQk8WqK1lmgSHPMkjxrzj4H9hAm49d+dBg
 Hgirif92vZInfjtQhgryl5cB8M1PypyV2aEOzhbY6tut7kEX9wCG/g9TimEhnix5o/es
 +lfM0IH8bIZuXYPqQPfBNX1n/fMUjitA5rPYFj5lx/KmQQ6zitE/X18P2crj7QvZLSVb
 pqBw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=gF0qNU7ekbkuzblX7jj3FFP+SjObRg8C0yJS/hNCSps=;
 b=WLRgH1ifTvgliSDprrucYVnKbl1ZC9Jk2lV3U9ONOKeSUnA0iL36zB5nXOSOqSzHQV
 2Ap03ngj8V2LxtFfB7dpzYKuHuDZrmJaklABLM7h2D5EgS+LV0fiHOcZUT8BXaexjNH0
 OVHdfTNzOGPZUOBW7fd+TytQphHmGZXOQ8jJjFhs64XEvy34IgSsmkpPhGxB3L1dnoNQ
 6FX4tV1eWZnbu8Z21uX0jowbWPB4kA405deZs6GellXHuXVFwkPBWIaMy4JjWeHm2xfx
 vBYPOpY0xkjqagQH6Am84/zS2LEeIvNZ6cjRtoFr9LXVyWyFdMH/3AeaVNiHwBJ+MUCT
 jj5Q==
X-Gm-Message-State: AOAM531xdmHa3RKzwOjD+inIVZK/TwOMcd0E/UaI+jPqS/jaHr1wL/0H
 q8Fbb6iQlZ7ydcwv6PwKdCs15y3s1pC/n8Cekdo=
X-Google-Smtp-Source: ABdhPJyIfY75iNprPyUYA1kWTMgCP/HJSZ6SDXynnCWiGDhCzdpzQSDTfXTbGbAvL10wztbxZoIbQuXfP8qQg2QA6q0=
X-Received: by 2002:a25:38c6:: with SMTP id f189mr5632892yba.35.1642770359183; 
 Fri, 21 Jan 2022 05:05:59 -0800 (PST)
MIME-Version: 1.0
References: <CAOEHfohCa0FALqU6wd4HFJ3iEGPAXJGgYqMt44S-vBE9YrJ1fQ@HIDDEN>
 <87a6fqzea4.fsf@HIDDEN>
 <CAOEHfogLACgr=_xDR2Z8yN2mGAcCYEo0h5thw_e02Gs2-_=CaA@HIDDEN>
 <83k0eup2pw.fsf@HIDDEN>
 <CAOEHfoh5rrh6-2MKyKRkvGQRwe2bm-TqtnWopAfaGJVVv1s7Vw@HIDDEN>
 <87v8ydwiyr.fsf@HIDDEN>
 <CAOEHfogjxeJZXjnYM2S1hnvsyDv0My8szqvWJwurCv4FOsJevg@HIDDEN>
 <878rv9wicd.fsf@HIDDEN>
 <CAOEHfois0Zvp+z0M+_1McbPVjZzkJ2dy8FvGpp0tWX2VTCJwiA@HIDDEN>
 <CAOEHfogFqst9EUkWJC2HTBamSpHGvxK2sx+Kefm5ToPRcwDmLA@HIDDEN>
 <83zgnpnw0w.fsf@HIDDEN>
 <CAOEHfoidyLNzBSstmAMn7D-zUfK+iP=_2v8YVQ44Nwi683X0VQ@HIDDEN>
 <83pmolnt51.fsf@HIDDEN>
In-Reply-To: <83pmolnt51.fsf@HIDDEN>
From: =?UTF-8?B?0JXQstCz0LXQvdC40Lkg0JrRg9GA0L3QtdCy0YHQutC40Lk=?=
 <kurnevsky@HIDDEN>
Date: Fri, 21 Jan 2022 13:05:47 +0000
Message-ID: <CAOEHfojbgu-1d43odxom0gdn-KxKiDGN-BDwzPMVJpQ_nF-dKQ@HIDDEN>
Subject: Re: bug#53391: First keypress doesn't work when scratch buffer is
 killed in emacs 28, emacs daemon + emacs client is used
To: Eli Zaretskii <eliz@HIDDEN>
Content-Type: multipart/alternative; boundary="000000000000b4ee0b05d61747bc"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 53391
Cc: Lars Ingebrigtsen <larsi@HIDDEN>, 53391 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--000000000000b4ee0b05d61747bc
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

> Why is it important to delete the *scratch* buffer in your case?

It's not important. I just had it in my config for a long time since I
didn't know how emacs works - I just didn't want to have one more empty
buffer and wanted to see messages at startup. The problem was that I didn't
know what exactly led to this behavior after updating to emacs 28 - it was
unexpected for me that killing scratch buffer could cause this. But I'm
completely fine with not killing it and have already updated my configs to
avoid this problem.

On Fri, Jan 21, 2022 at 12:57 PM Eli Zaretskii <eliz@HIDDEN> wrote:

> > From: =D0=95=D0=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9 =D0=9A=D1=83=D1=80=D0=
=BD=D0=B5=D0=B2=D1=81=D0=BA=D0=B8=D0=B9 <kurnevsky@HIDDEN>
> > Date: Fri, 21 Jan 2022 12:10:42 +0000
> > Cc: Lars Ingebrigtsen <larsi@HIDDEN>, 53391 <at> debbugs.gnu.org
> >
> > > Does this mean you see the problem in stock Emacs 28 built from the
> > > emacs-28 branch of the upstream Emacs repository on Savannah?
> >
> > Not exactly, it fetches
> https://git.savannah.gnu.org/cgit/emacs.git/snapshot/emacs-28.0.91.tar.gz
> and builds
> > it.
> > But it doesn't apply any custom changes, and to build emacs manually I'=
d
> anyway have to get the same
> > environment where it's built and do almost the same things - nixos is a
> bit more complex system than usual
> > linux.
> >
> > > Can you type C-g and show the backtrace?
> >
> > Tried to do it with (toggle-debug-on-quit), but just got 'Debugger
> entered--Lisp error: (quit)'
>
> I think I've succeeded in reproducing this.  However, given that it
> only happens if the init file deletes the *scratch* buffer (which is
> the current buffer available to the daemon initially), I wonder
> whether it's important to solve this corner case.  I'm guessing that
> this has something to do with the fact that the daemon performs some
> initial processing of the client commands in the original buffer.
>
> Why is it important to delete the *scratch* buffer in your case?
>


--=20
=D0=A1 =D1=83=D0=B2=D0=B0=D0=B6=D0=B5=D0=BD=D0=B8=D0=B5=D0=BC, =D0=9A=D1=83=
=D1=80=D0=BD=D0=B5=D0=B2=D1=81=D0=BA=D0=B8=D0=B9 =D0=95=D0=B2=D0=B3=D0=B5=
=D0=BD=D0=B8=D0=B9.

--000000000000b4ee0b05d61747bc
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>&gt; Why is it important to delete the *scratch* buff=
er in your case?</div><div><br></div><div>It&#39;s not important. I just ha=
d it in my config for a long time since I didn&#39;t know how emacs works -=
 I just didn&#39;t want to have one more empty buffer and wanted to see mes=
sages at startup. The problem was that I didn&#39;t know what exactly led t=
o this behavior after updating to emacs 28 - it was unexpected for me that =
killing scratch buffer could cause this. But I&#39;m completely fine with n=
ot killing it and have already updated my configs to avoid this problem.<br=
></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail=
_attr">On Fri, Jan 21, 2022 at 12:57 PM Eli Zaretskii &lt;<a href=3D"mailto=
:eliz@HIDDEN">eliz@HIDDEN</a>&gt; wrote:<br></div><blockquote class=3D"gm=
ail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,=
204,204);padding-left:1ex">&gt; From: =D0=95=D0=B2=D0=B3=D0=B5=D0=BD=D0=B8=
=D0=B9 =D0=9A=D1=83=D1=80=D0=BD=D0=B5=D0=B2=D1=81=D0=BA=D0=B8=D0=B9 &lt;<a =
href=3D"mailto:kurnevsky@HIDDEN" target=3D"_blank">kurnevsky@HIDDEN</=
a>&gt;<br>
&gt; Date: Fri, 21 Jan 2022 12:10:42 +0000<br>
&gt; Cc: Lars Ingebrigtsen &lt;<a href=3D"mailto:larsi@HIDDEN" target=3D"=
_blank">larsi@HIDDEN</a>&gt;, <a href=3D"mailto:53391 <at> debbugs.gnu.org" ta=
rget=3D"_blank">53391 <at> debbugs.gnu.org</a><br>
&gt; <br>
&gt; &gt; Does this mean you see the problem in stock Emacs 28 built from t=
he<br>
&gt; &gt; emacs-28 branch of the upstream Emacs repository on Savannah?<br>
&gt; <br>
&gt; Not exactly, it fetches <a href=3D"https://git.savannah.gnu.org/cgit/e=
macs.git/snapshot/emacs-28.0.91.tar.gz" rel=3D"noreferrer" target=3D"_blank=
">https://git.savannah.gnu.org/cgit/emacs.git/snapshot/emacs-28.0.91.tar.gz=
</a> and builds<br>
&gt; it.<br>
&gt; But it doesn&#39;t apply any custom changes, and to build emacs manual=
ly I&#39;d anyway have to get the same<br>
&gt; environment where it&#39;s built and do almost the same things - nixos=
 is a bit more complex system than usual<br>
&gt; linux.<br>
&gt; <br>
&gt; &gt; Can you type C-g and show the backtrace?<br>
&gt; <br>
&gt; Tried to do it with (toggle-debug-on-quit), but just got &#39;Debugger=
 entered--Lisp error: (quit)&#39;<br>
<br>
I think I&#39;ve succeeded in reproducing this.=C2=A0 However, given that i=
t<br>
only happens if the init file deletes the *scratch* buffer (which is<br>
the current buffer available to the daemon initially), I wonder<br>
whether it&#39;s important to solve this corner case.=C2=A0 I&#39;m guessin=
g that<br>
this has something to do with the fact that the daemon performs some<br>
initial processing of the client commands in the original buffer.<br>
<br>
Why is it important to delete the *scratch* buffer in your case?<br>
</blockquote></div><br clear=3D"all"><br>-- <br><div dir=3D"ltr" class=3D"g=
mail_signature">=D0=A1 =D1=83=D0=B2=D0=B0=D0=B6=D0=B5=D0=BD=D0=B8=D0=B5=D0=
=BC, =D0=9A=D1=83=D1=80=D0=BD=D0=B5=D0=B2=D1=81=D0=BA=D0=B8=D0=B9 =D0=95=D0=
=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9.<br></div>

--000000000000b4ee0b05d61747bc--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#53391; Package emacs. Full text available.

Message received at 53391 <at> debbugs.gnu.org:


Received: (at 53391) by debbugs.gnu.org; 21 Jan 2022 12:57:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jan 21 07:57:39 2022
Received: from localhost ([127.0.0.1]:60574 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nAtU3-0004P5-Cm
	for submit <at> debbugs.gnu.org; Fri, 21 Jan 2022 07:57:39 -0500
Received: from eggs.gnu.org ([209.51.188.92]:58028)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1nAtU1-0004Or-Ft
 for 53391 <at> debbugs.gnu.org; Fri, 21 Jan 2022 07:57:37 -0500
Received: from [2001:470:142:3::e] (port=58548 helo=fencepost.gnu.org)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nAtTv-0007nc-7G; Fri, 21 Jan 2022 07:57:31 -0500
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=1XMIf/N/5SDgUYgsMU1G3SJspvNqPcu+oYdbibgjx4E=; b=S3e2llNpT47m4NIS1LML
 lB1XtNAXxDnrKcFRR7W6XsTS8gNtjo5O4za+tkDbPLsmdJqIkSCueJNtq6DhFpSWI6IPs9e/N0WLL
 /gOZ3i0zF4nfyGvZpFVoMrTdXg4P6VDgxY06e3gWLBrn/+RSimMJA+K12HOYhccV9RvCTivVaU1ut
 QLQKQDBQAHI/fykUFzefdTH8YYgdIsUayPPMyr72xDGtsL29xVGx2HCk0WpWF6ApVuD8qPpIN1qOY
 J4jEmpJILg6Rmq1RhPiWVgWkEp8kupen39msBA4DTD5TbSD1lDbQA3qkxODeuf2bXptrrfBuuEuHE
 RteuJsFKZN+/pQ==;
Received: from [87.69.77.57] (port=3872 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nAtTt-0001lh-4y; Fri, 21 Jan 2022 07:57:30 -0500
Date: Fri, 21 Jan 2022 14:57:30 +0200
Message-Id: <83pmolnt51.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: =?utf-8?B?0JXQstCz0LXQvdC40Lkg0JrRg9GA0L3QtdCy0YHQutC40Lk=?=
 <kurnevsky@HIDDEN>
In-Reply-To: <CAOEHfoidyLNzBSstmAMn7D-zUfK+iP=_2v8YVQ44Nwi683X0VQ@HIDDEN>
 (message from =?utf-8?B?0JXQstCz0LXQvdC40Lkg0JrRg9GA0L3QtdCy0YHQutC40Lk=?=
 on Fri, 21 Jan 2022 12:10:42 +0000)
Subject: Re: bug#53391: First keypress doesn't work when scratch buffer is
 killed in emacs 28, emacs daemon + emacs client is used
References: <CAOEHfohCa0FALqU6wd4HFJ3iEGPAXJGgYqMt44S-vBE9YrJ1fQ@HIDDEN>
 <87a6fqzea4.fsf@HIDDEN>
 <CAOEHfogLACgr=_xDR2Z8yN2mGAcCYEo0h5thw_e02Gs2-_=CaA@HIDDEN>
 <83k0eup2pw.fsf@HIDDEN>
 <CAOEHfoh5rrh6-2MKyKRkvGQRwe2bm-TqtnWopAfaGJVVv1s7Vw@HIDDEN>
 <87v8ydwiyr.fsf@HIDDEN>
 <CAOEHfogjxeJZXjnYM2S1hnvsyDv0My8szqvWJwurCv4FOsJevg@HIDDEN>
 <878rv9wicd.fsf@HIDDEN>
 <CAOEHfois0Zvp+z0M+_1McbPVjZzkJ2dy8FvGpp0tWX2VTCJwiA@HIDDEN>
 <CAOEHfogFqst9EUkWJC2HTBamSpHGvxK2sx+Kefm5ToPRcwDmLA@HIDDEN>
 <83zgnpnw0w.fsf@HIDDEN>
 <CAOEHfoidyLNzBSstmAMn7D-zUfK+iP=_2v8YVQ44Nwi683X0VQ@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 53391
Cc: larsi@HIDDEN, 53391 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Евгений Курневский <kurnevsky@HIDDEN>
> Date: Fri, 21 Jan 2022 12:10:42 +0000
> Cc: Lars Ingebrigtsen <larsi@HIDDEN>, 53391 <at> debbugs.gnu.org
> 
> > Does this mean you see the problem in stock Emacs 28 built from the
> > emacs-28 branch of the upstream Emacs repository on Savannah?
> 
> Not exactly, it fetches https://git.savannah.gnu.org/cgit/emacs.git/snapshot/emacs-28.0.91.tar.gz and builds
> it.
> But it doesn't apply any custom changes, and to build emacs manually I'd anyway have to get the same
> environment where it's built and do almost the same things - nixos is a bit more complex system than usual
> linux.
> 
> > Can you type C-g and show the backtrace?
> 
> Tried to do it with (toggle-debug-on-quit), but just got 'Debugger entered--Lisp error: (quit)'

I think I've succeeded in reproducing this.  However, given that it
only happens if the init file deletes the *scratch* buffer (which is
the current buffer available to the daemon initially), I wonder
whether it's important to solve this corner case.  I'm guessing that
this has something to do with the fact that the daemon performs some
initial processing of the client commands in the original buffer.

Why is it important to delete the *scratch* buffer in your case?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#53391; Package emacs. Full text available.

Message received at 53391 <at> debbugs.gnu.org:


Received: (at 53391) by debbugs.gnu.org; 21 Jan 2022 12:11:01 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jan 21 07:11:01 2022
Received: from localhost ([127.0.0.1]:60510 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nAskv-00078z-DG
	for submit <at> debbugs.gnu.org; Fri, 21 Jan 2022 07:11:01 -0500
Received: from mail-yb1-f180.google.com ([209.85.219.180]:42775)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <kurnevsky@HIDDEN>) id 1nAskt-00078f-6u
 for 53391 <at> debbugs.gnu.org; Fri, 21 Jan 2022 07:10:59 -0500
Received: by mail-yb1-f180.google.com with SMTP id m6so26947909ybc.9
 for <53391 <at> debbugs.gnu.org>; Fri, 21 Jan 2022 04:10:59 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :cc; bh=OZ2lia0jrVZM7XTwAKAUs1VoGwOMNLG9Pj9wA+1Q6oM=;
 b=DDAT8UutTraejMz/zYxQI4pGFD583zje80JMbk7gbyNze7eUQQo4+12z21dfMD5bwG
 d5703Cx0Qsq0nR2iQesf9e/qSXNSjpevy2564Vse0drv8do0Qr8Ocm3tmacQmQXAddOo
 /op5tkSkje1TW6SQjFLKcRPnw4WKAixwgRVBGyF83HXiHjGkbaj2eelhFuiYsbAP64XV
 o6tmR+yda7ZYYZ9sNzQkIAisH8wfMahImKbOiYciNLmzZwALk36a9oUHBw3JLibGeA32
 nWrbRsNRphARIqTWXW4EWFt3n/TugcIQarEQNHNKXXH/4GAxoEWBHfxezEgd4T2PIejB
 nn9A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=OZ2lia0jrVZM7XTwAKAUs1VoGwOMNLG9Pj9wA+1Q6oM=;
 b=0bXALV3eZOqoph86WSi1sED74NombfG3f6tIUik7toYaHPnmvoNELTGzivei8KKIoX
 m8ff3ecvmPrYzoQH3ICF3PBFl8VgyJjb2eVR/c0O0tfJ9t4T7ImXf/MTPChJ8HxITAFG
 +zt3nRgt+8jK0PTyAPeO6WbD+5nlLk5wCD5brWzpShZRQtNI2Za8pbfOJasuIDqgQJ/Y
 ehdLTVQTvMzgUHXYhnyFjHEpSU/XTijcMGJTm8hHr+c4B4gJyO58geYEWaL3E25HPJjU
 uaeHxAhgn4Emdx+5EVbEds9HR2msOdmgMLNe5C+FES3uE6jJxIvpgk+3L6Jy6ZsYCJWA
 NE7w==
X-Gm-Message-State: AOAM533fL0LMhlvLXqXmOhHq0zSyoKY00bebzYnO8qO9tdMQnV0AB5Up
 g5nGHRQtyS0W89l+C9knRoiwm/6MM/yCsf5PzP0=
X-Google-Smtp-Source: ABdhPJyOhw8I2eQeUdy95qGuiLi95XdOwL4TUsaCp44IJqOJqL4pIq5c7xfcCN4Ri4tfSJ2G0AUQQHxZwVT3Lsap4wA=
X-Received: by 2002:a25:6b4b:: with SMTP id o11mr5817757ybm.412.1642767053710; 
 Fri, 21 Jan 2022 04:10:53 -0800 (PST)
MIME-Version: 1.0
References: <CAOEHfohCa0FALqU6wd4HFJ3iEGPAXJGgYqMt44S-vBE9YrJ1fQ@HIDDEN>
 <87a6fqzea4.fsf@HIDDEN>
 <CAOEHfogLACgr=_xDR2Z8yN2mGAcCYEo0h5thw_e02Gs2-_=CaA@HIDDEN>
 <83k0eup2pw.fsf@HIDDEN>
 <CAOEHfoh5rrh6-2MKyKRkvGQRwe2bm-TqtnWopAfaGJVVv1s7Vw@HIDDEN>
 <87v8ydwiyr.fsf@HIDDEN>
 <CAOEHfogjxeJZXjnYM2S1hnvsyDv0My8szqvWJwurCv4FOsJevg@HIDDEN>
 <878rv9wicd.fsf@HIDDEN>
 <CAOEHfois0Zvp+z0M+_1McbPVjZzkJ2dy8FvGpp0tWX2VTCJwiA@HIDDEN>
 <CAOEHfogFqst9EUkWJC2HTBamSpHGvxK2sx+Kefm5ToPRcwDmLA@HIDDEN>
 <83zgnpnw0w.fsf@HIDDEN>
In-Reply-To: <83zgnpnw0w.fsf@HIDDEN>
From: =?UTF-8?B?0JXQstCz0LXQvdC40Lkg0JrRg9GA0L3QtdCy0YHQutC40Lk=?=
 <kurnevsky@HIDDEN>
Date: Fri, 21 Jan 2022 12:10:42 +0000
Message-ID: <CAOEHfoidyLNzBSstmAMn7D-zUfK+iP=_2v8YVQ44Nwi683X0VQ@HIDDEN>
Subject: Re: bug#53391: First keypress doesn't work when scratch buffer is
 killed in emacs 28, emacs daemon + emacs client is used
To: Eli Zaretskii <eliz@HIDDEN>
Content-Type: multipart/alternative; boundary="000000000000af683c05d6168207"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 53391
Cc: Lars Ingebrigtsen <larsi@HIDDEN>, 53391 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--000000000000af683c05d6168207
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

> Does this mean you see the problem in stock Emacs 28 built from the
> emacs-28 branch of the upstream Emacs repository on Savannah?

Not exactly, it fetches
https://git.savannah.gnu.org/cgit/emacs.git/snapshot/emacs-28.0.91.tar.gz
and builds it.
But it doesn't apply any custom changes, and to build emacs manually I'd
anyway have to get the same environment where it's built and do almost the
same things - nixos is a bit more complex system than usual linux.

> Can you type C-g and show the backtrace?

Tried to do it with (toggle-debug-on-quit), but just got 'Debugger
entered--Lisp error: (quit)'

On Fri, Jan 21, 2022 at 11:55 AM Eli Zaretskii <eliz@HIDDEN> wrote:

> > From: =D0=95=D0=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9 =D0=9A=D1=83=D1=80=D0=
=BD=D0=B5=D0=B2=D1=81=D0=BA=D0=B8=D0=B9 <kurnevsky@HIDDEN>
> > Date: Fri, 21 Jan 2022 10:01:23 +0000
> > Cc: Eli Zaretskii <eliz@HIDDEN>, 53391 <at> debbugs.gnu.org
> >
> > Could it be some kind of a race? When originally tried with my complete
> config I had different results with
> > and without (require 'easy-mmode) before killing scratch buffer.
> Probably you can try with this line as well?
>
> I already did, and I don't see the problem.
>
> > Also I noticed that if you press q in this case emacs just kills this
> opened buffer. So probably emacs is in
> > some mode in this case - can I check it somehow?
>
> Can you type C-g and show the backtrace?
>


--=20
=D0=A1 =D1=83=D0=B2=D0=B0=D0=B6=D0=B5=D0=BD=D0=B8=D0=B5=D0=BC, =D0=9A=D1=83=
=D1=80=D0=BD=D0=B5=D0=B2=D1=81=D0=BA=D0=B8=D0=B9 =D0=95=D0=B2=D0=B3=D0=B5=
=D0=BD=D0=B8=D0=B9.

--000000000000af683c05d6168207
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">&gt; Does this mean you see the problem in stock Emacs 28 =
built from the<br><div>&gt; emacs-28 branch of the upstream Emacs repositor=
y on Savannah?</div><div><br></div><div>Not exactly, it fetches <a href=3D"=
https://git.savannah.gnu.org/cgit/emacs.git/snapshot/emacs-28.0.91.tar.gz">=
https://git.savannah.gnu.org/cgit/emacs.git/snapshot/emacs-28.0.91.tar.gz</=
a> and builds it.</div><div>But it doesn&#39;t apply any custom changes, an=
d to build emacs manually I&#39;d anyway have to get the same environment w=
here it&#39;s built and do almost the same things - nixos is a bit more com=
plex system than usual linux.</div><div><br></div><div>&gt; Can you type C-=
g and show the backtrace?</div><div><br></div><div>Tried to do it with (tog=
gle-debug-on-quit), but just got &#39;Debugger entered--Lisp error: (quit)&=
#39;<br></div><div><span class=3D"pl-s"></span></div></div><br><div class=
=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Fri, Jan 21, 2022=
 at 11:55 AM Eli Zaretskii &lt;<a href=3D"mailto:eliz@HIDDEN">eliz@HIDDEN=
</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:=
0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">=
&gt; From: =D0=95=D0=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9 =D0=9A=D1=83=D1=80=D0=
=BD=D0=B5=D0=B2=D1=81=D0=BA=D0=B8=D0=B9 &lt;<a href=3D"mailto:kurnevsky@gma=
il.com" target=3D"_blank">kurnevsky@HIDDEN</a>&gt;<br>
&gt; Date: Fri, 21 Jan 2022 10:01:23 +0000<br>
&gt; Cc: Eli Zaretskii &lt;<a href=3D"mailto:eliz@HIDDEN" target=3D"_blank=
">eliz@HIDDEN</a>&gt;, <a href=3D"mailto:53391 <at> debbugs.gnu.org" target=3D"=
_blank">53391 <at> debbugs.gnu.org</a><br>
&gt; <br>
&gt; Could it be some kind of a race? When originally tried with my complet=
e config I had different results with<br>
&gt; and without (require &#39;easy-mmode) before killing scratch buffer. P=
robably you can try with this line as well?<br>
<br>
I already did, and I don&#39;t see the problem.<br>
<br>
&gt; Also I noticed that if you press q in this case emacs just kills this =
opened buffer. So probably emacs is in<br>
&gt; some mode in this case - can I check it somehow?<br>
<br>
Can you type C-g and show the backtrace?<br>
</blockquote></div><br clear=3D"all"><br>-- <br><div dir=3D"ltr" class=3D"g=
mail_signature">=D0=A1 =D1=83=D0=B2=D0=B0=D0=B6=D0=B5=D0=BD=D0=B8=D0=B5=D0=
=BC, =D0=9A=D1=83=D1=80=D0=BD=D0=B5=D0=B2=D1=81=D0=BA=D0=B8=D0=B9 =D0=95=D0=
=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9.<br></div>

--000000000000af683c05d6168207--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#53391; Package emacs. Full text available.

Message received at 53391 <at> debbugs.gnu.org:


Received: (at 53391) by debbugs.gnu.org; 21 Jan 2022 11:55:25 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jan 21 06:55:25 2022
Received: from localhost ([127.0.0.1]:60440 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nAsVp-0004OS-Fq
	for submit <at> debbugs.gnu.org; Fri, 21 Jan 2022 06:55:25 -0500
Received: from eggs.gnu.org ([209.51.188.92]:44318)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1nAsVl-0004OD-Po
 for 53391 <at> debbugs.gnu.org; Fri, 21 Jan 2022 06:55:24 -0500
Received: from [2001:470:142:3::e] (port=51414 helo=fencepost.gnu.org)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nAsVg-0004J6-FA; Fri, 21 Jan 2022 06:55:16 -0500
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=A7wIwUU6zXhJAItNQ3Uh1/iQHHWUGpVVtf0cBJWsUL0=; b=gVa7CBCs/p8jf3xflFou
 A3oMbZEjXrIvYxW72nS7DwaREaGHaazDjbb4Zd7WwwheCmY0u5Vb0CfV5/HudRSIwDInAd84xx/Bq
 NIQO88HPegsEOTm7yn5YXNHbGODHysQjps4J5TOtx0gQVKb3tn06CYxEvF2QLB3kw/tzyRlXrCcm3
 MBHqiqMwPf+tDNH0DHzPVaZ51jq39md3+d4zZhgKqQB3WDO6mAsCBC5g9yw3BfxPVT0NSS1Ps+xqu
 S/nJiwgUpiKnwpgknQrRN9wjxZwyfj7f37BwKtNSAeGeKgQM9iUaNZc2twfNRb/F0m0Q/w7DR/iiW
 jQD6u6TUZ+OmCw==;
Received: from [87.69.77.57] (port=4034 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nAsVb-0004cf-7N; Fri, 21 Jan 2022 06:55:16 -0500
Date: Fri, 21 Jan 2022 13:55:11 +0200
Message-Id: <83zgnpnw0w.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: =?utf-8?B?0JXQstCz0LXQvdC40Lkg0JrRg9GA0L3QtdCy0YHQutC40Lk=?=
 <kurnevsky@HIDDEN>
In-Reply-To: <CAOEHfogFqst9EUkWJC2HTBamSpHGvxK2sx+Kefm5ToPRcwDmLA@HIDDEN>
 (message from =?utf-8?B?0JXQstCz0LXQvdC40Lkg0JrRg9GA0L3QtdCy0YHQutC40Lk=?=
 on Fri, 21 Jan 2022 10:01:23 +0000)
Subject: Re: bug#53391: First keypress doesn't work when scratch buffer is
 killed in emacs 28, emacs daemon + emacs client is used
References: <CAOEHfohCa0FALqU6wd4HFJ3iEGPAXJGgYqMt44S-vBE9YrJ1fQ@HIDDEN>
 <87a6fqzea4.fsf@HIDDEN>
 <CAOEHfogLACgr=_xDR2Z8yN2mGAcCYEo0h5thw_e02Gs2-_=CaA@HIDDEN>
 <83k0eup2pw.fsf@HIDDEN>
 <CAOEHfoh5rrh6-2MKyKRkvGQRwe2bm-TqtnWopAfaGJVVv1s7Vw@HIDDEN>
 <87v8ydwiyr.fsf@HIDDEN>
 <CAOEHfogjxeJZXjnYM2S1hnvsyDv0My8szqvWJwurCv4FOsJevg@HIDDEN>
 <878rv9wicd.fsf@HIDDEN>
 <CAOEHfois0Zvp+z0M+_1McbPVjZzkJ2dy8FvGpp0tWX2VTCJwiA@HIDDEN>
 <CAOEHfogFqst9EUkWJC2HTBamSpHGvxK2sx+Kefm5ToPRcwDmLA@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 53391
Cc: larsi@HIDDEN, 53391 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Евгений Курневский <kurnevsky@HIDDEN>
> Date: Fri, 21 Jan 2022 10:01:23 +0000
> Cc: Eli Zaretskii <eliz@HIDDEN>, 53391 <at> debbugs.gnu.org
> 
> Could it be some kind of a race? When originally tried with my complete config I had different results with
> and without (require 'easy-mmode) before killing scratch buffer. Probably you can try with this line as well?

I already did, and I don't see the problem.

> Also I noticed that if you press q in this case emacs just kills this opened buffer. So probably emacs is in
> some mode in this case - can I check it somehow?

Can you type C-g and show the backtrace?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#53391; Package emacs. Full text available.

Message received at 53391 <at> debbugs.gnu.org:


Received: (at 53391) by debbugs.gnu.org; 21 Jan 2022 11:46:22 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jan 21 06:46:22 2022
Received: from localhost ([127.0.0.1]:60411 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nAsN3-0003BG-UD
	for submit <at> debbugs.gnu.org; Fri, 21 Jan 2022 06:46:22 -0500
Received: from eggs.gnu.org ([209.51.188.92]:42372)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1nAsN0-00034O-Px
 for 53391 <at> debbugs.gnu.org; Fri, 21 Jan 2022 06:46:21 -0500
Received: from [2001:470:142:3::e] (port=50332 helo=fencepost.gnu.org)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nAsMu-0001sm-VQ; Fri, 21 Jan 2022 06:46:13 -0500
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=IfC3Km0QQZvwl2P459dAvnF/fDhRp2Wm2UFUZtujAYo=; b=BB7nnj3+nEWEn0hG9cYS
 DLfS/CabMVXP+n6W01JmHnN1MA9ozgC/vy8cOfNpe5sfRU4nzBTYwm9NoqsCLz+AaDMkcZYqxrWJB
 dcVjabmm2/6btK/sXC98ly8n+NHW2c3dZdqVDYzAvvXfLeCNOBXHUESznUzDfgeltwqnJ5PsNtJh2
 9v3Nysbvyszb02O+5jemNXCuGY5sDLrKCR2ews4oUs/f0dju7joVN9c85vSbCkP1d+OIrUH1e64EE
 CopBko3rOjEZoQ01H1XvZXkTmpzqembw8DV86qBUwHYhY6RadlyvKVs7+NFODCyVX2BhghNfWuhaS
 uhgNkSTYr6dchA==;
Received: from [87.69.77.57] (port=3488 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nAsMt-0004Xx-NO; Fri, 21 Jan 2022 06:46:12 -0500
Date: Fri, 21 Jan 2022 13:46:12 +0200
Message-Id: <8335lhpb0b.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: =?utf-8?B?0JXQstCz0LXQvdC40Lkg0JrRg9GA0L3QtdCy0YHQutC40Lk=?=
 <kurnevsky@HIDDEN>
In-Reply-To: <CAOEHfois0Zvp+z0M+_1McbPVjZzkJ2dy8FvGpp0tWX2VTCJwiA@HIDDEN>
 (message from =?utf-8?B?0JXQstCz0LXQvdC40Lkg0JrRg9GA0L3QtdCy0YHQutC40Lk=?=
 on Fri, 21 Jan 2022 09:32:11 +0000)
Subject: Re: bug#53391: First keypress doesn't work when scratch buffer is
 killed in emacs 28, emacs daemon + emacs client is used
References: <CAOEHfohCa0FALqU6wd4HFJ3iEGPAXJGgYqMt44S-vBE9YrJ1fQ@HIDDEN>
 <87a6fqzea4.fsf@HIDDEN>
 <CAOEHfogLACgr=_xDR2Z8yN2mGAcCYEo0h5thw_e02Gs2-_=CaA@HIDDEN>
 <83k0eup2pw.fsf@HIDDEN>
 <CAOEHfoh5rrh6-2MKyKRkvGQRwe2bm-TqtnWopAfaGJVVv1s7Vw@HIDDEN>
 <87v8ydwiyr.fsf@HIDDEN>
 <CAOEHfogjxeJZXjnYM2S1hnvsyDv0My8szqvWJwurCv4FOsJevg@HIDDEN>
 <878rv9wicd.fsf@HIDDEN>
 <CAOEHfois0Zvp+z0M+_1McbPVjZzkJ2dy8FvGpp0tWX2VTCJwiA@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 53391
Cc: larsi@HIDDEN, 53391 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Евгений Курневский <kurnevsky@HIDDEN>
> Date: Fri, 21 Jan 2022 09:32:11 +0000
> Cc: Eli Zaretskii <eliz@HIDDEN>, 53391 <at> debbugs.gnu.org
> 
> It is a plain emacs built with nixos. These packages are just different versions of emacs, like
> stable/unstable/master and with or without native compilation/pgtk. Also it contains all elpa/melpa packages
> and functions to install them in nixos.

Does this mean you see the problem in stock Emacs 28 built from the
emacs-28 branch of the upstream Emacs repository on Savannah?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#53391; Package emacs. Full text available.

Message received at 53391 <at> debbugs.gnu.org:


Received: (at 53391) by debbugs.gnu.org; 21 Jan 2022 10:01:42 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jan 21 05:01:42 2022
Received: from localhost ([127.0.0.1]:60224 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nAqjl-0002Qu-W7
	for submit <at> debbugs.gnu.org; Fri, 21 Jan 2022 05:01:42 -0500
Received: from mail-yb1-f176.google.com ([209.85.219.176]:41576)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <kurnevsky@HIDDEN>) id 1nAqjk-0002Qh-JG
 for 53391 <at> debbugs.gnu.org; Fri, 21 Jan 2022 05:01:41 -0500
Received: by mail-yb1-f176.google.com with SMTP id g14so25993450ybs.8
 for <53391 <at> debbugs.gnu.org>; Fri, 21 Jan 2022 02:01:40 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :cc; bh=cAWNtUl4J2qd3tmRn7JVfqiJJBy7wRwL9BHsirzN6jA=;
 b=K/0fs/Zyw6Bx+qv0ziLklq+pkycjj82Z5/93kD48lzgCluokNv4k2eo314UPHNxI15
 4t4JHSODaMaUHemb9QwkxFviJ7eHLfpV51dB82Zv+QwOiB9kmvNbvMNxCx8OWsDXvq06
 us3NzAJu10EvZj8HNqJJnLuLJVS2yrf+qnu/1GqdfTFSd5dnpB4ekeerDDML4aEufrrx
 RGZMpKi6kk/UHh3ADluhSsFuxjeX34VKiVZp3k1MNXAd8m3hK3/zWqXXSjeHLiukGXho
 r5qnvAovgocym5JNEMXKei2hoOUlbqnZYqGp9uzkyhrnCtkt83r+t7H9jbIaazJSw3fo
 1LzQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=cAWNtUl4J2qd3tmRn7JVfqiJJBy7wRwL9BHsirzN6jA=;
 b=M5Cl8bnYNPuSsaGD+YzMSvRFYHkex7Zuu2fMlES7OtkuW3R1Nm4jxVgMTWTTe5NYhw
 0lgkTQtxJR1n4tXwI8sWJkyEBGNjRBqSWLfzMNF0GfahrVUGlQU+cSFAkgKHRFXlTuc4
 JUtYUsT0hFREt6QFmDFSgjutUxNZj9x0XSkcgjcNvd0+JyaFMCzSzy11gFBKh0Qb2x5y
 ijnh6CY1cJ686Ov3yhtSAfOpVBuJkg1YEcjYq4qzl2ZmBiQnaxlikizEO033O0c5hluG
 tubYfN+KgYtpgdEjTQlDHfoDKSf5634nlegCu1CVdiSLOmE/VzF26z5DhxClxrrBczAc
 q7nA==
X-Gm-Message-State: AOAM531pWcd2vYdRQO6VYY/9Gxk2LMRhDPVfN19c2MdhjKxzWmKF6B7q
 6COpi2Xl913Ccfoe3184eEMvPbWZtaUPxbOzxq0=
X-Google-Smtp-Source: ABdhPJxsDz2ye6q1Vqqun4p3bSPiYQqHHQggz4suz9xPNN1euIMKwfV9nBnrXx133lv0cX9zKErIXNL1t1Z3d/deM/Q=
X-Received: by 2002:a25:2886:: with SMTP id o128mr5198468ybo.453.1642759294995; 
 Fri, 21 Jan 2022 02:01:34 -0800 (PST)
MIME-Version: 1.0
References: <CAOEHfohCa0FALqU6wd4HFJ3iEGPAXJGgYqMt44S-vBE9YrJ1fQ@HIDDEN>
 <87a6fqzea4.fsf@HIDDEN>
 <CAOEHfogLACgr=_xDR2Z8yN2mGAcCYEo0h5thw_e02Gs2-_=CaA@HIDDEN>
 <83k0eup2pw.fsf@HIDDEN>
 <CAOEHfoh5rrh6-2MKyKRkvGQRwe2bm-TqtnWopAfaGJVVv1s7Vw@HIDDEN>
 <87v8ydwiyr.fsf@HIDDEN>
 <CAOEHfogjxeJZXjnYM2S1hnvsyDv0My8szqvWJwurCv4FOsJevg@HIDDEN>
 <878rv9wicd.fsf@HIDDEN>
 <CAOEHfois0Zvp+z0M+_1McbPVjZzkJ2dy8FvGpp0tWX2VTCJwiA@HIDDEN>
In-Reply-To: <CAOEHfois0Zvp+z0M+_1McbPVjZzkJ2dy8FvGpp0tWX2VTCJwiA@HIDDEN>
From: =?UTF-8?B?0JXQstCz0LXQvdC40Lkg0JrRg9GA0L3QtdCy0YHQutC40Lk=?=
 <kurnevsky@HIDDEN>
Date: Fri, 21 Jan 2022 10:01:23 +0000
Message-ID: <CAOEHfogFqst9EUkWJC2HTBamSpHGvxK2sx+Kefm5ToPRcwDmLA@HIDDEN>
Subject: Re: bug#53391: First keypress doesn't work when scratch buffer is
 killed in emacs 28, emacs daemon + emacs client is used
To: Lars Ingebrigtsen <larsi@HIDDEN>
Content-Type: multipart/alternative; boundary="0000000000003ad0ce05d614b416"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 53391
Cc: Eli Zaretskii <eliz@HIDDEN>, 53391 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--0000000000003ad0ce05d614b416
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Could it be some kind of a race? When originally tried with my complete
config I had different results with and without (require 'easy-mmode)
before killing scratch buffer. Probably you can try with this line as well?
Also I noticed that if you press q in this case emacs just kills this
opened buffer. So probably emacs is in some mode in this case - can I check
it somehow?

On Fri, Jan 21, 2022 at 9:32 AM =D0=95=D0=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9 =
=D0=9A=D1=83=D1=80=D0=BD=D0=B5=D0=B2=D1=81=D0=BA=D0=B8=D0=B9 <kurnevsky@gma=
il.com>
wrote:

> It is a plain emacs built with nixos. These packages are just different
> versions of emacs, like stable/unstable/master and with or without native
> compilation/pgtk. Also it contains all elpa/melpa packages and functions =
to
> install them in nixos.
>
> On Fri, Jan 21, 2022 at 9:26 AM Lars Ingebrigtsen <larsi@HIDDEN> wrote:
>
>> =D0=95=D0=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9 =D0=9A=D1=83=D1=80=D0=BD=D0=
=B5=D0=B2=D1=81=D0=BA=D0=B8=D0=B9 <kurnevsky@HIDDEN> writes:
>>
>> > Just a repository with additional emacs packages:
>> > https://github.com/nix-community/emacs-overlay
>> > Overlay is a nixos term: https://nixos.wiki/wiki/Overlays
>>
>> So the problem could be in these packages?  Could you try to build a
>> plain emacs-28 and see whether you can reproduce the problems there?
>>
>> --
>> (domestic pets only, the antidote for overdose, milk.)
>>    bloggy blog: http://lars.ingebrigtsen.no
>>
>
>
> --
> =D0=A1 =D1=83=D0=B2=D0=B0=D0=B6=D0=B5=D0=BD=D0=B8=D0=B5=D0=BC, =D0=9A=D1=
=83=D1=80=D0=BD=D0=B5=D0=B2=D1=81=D0=BA=D0=B8=D0=B9 =D0=95=D0=B2=D0=B3=D0=
=B5=D0=BD=D0=B8=D0=B9.
>


--=20
=D0=A1 =D1=83=D0=B2=D0=B0=D0=B6=D0=B5=D0=BD=D0=B8=D0=B5=D0=BC, =D0=9A=D1=83=
=D1=80=D0=BD=D0=B5=D0=B2=D1=81=D0=BA=D0=B8=D0=B9 =D0=95=D0=B2=D0=B3=D0=B5=
=D0=BD=D0=B8=D0=B9.

--0000000000003ad0ce05d614b416
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Could it be some kind of a race? When originally tried wit=
h my complete config I had different results with and without (require &#39=
;easy-mmode) before killing scratch buffer. Probably you can try with this =
line as well? Also I noticed that if you press q in this case emacs just ki=
lls this opened buffer. So probably emacs is in some mode in this case - ca=
n I check it somehow?<br></div><br><div class=3D"gmail_quote"><div dir=3D"l=
tr" class=3D"gmail_attr">On Fri, Jan 21, 2022 at 9:32 AM =D0=95=D0=B2=D0=B3=
=D0=B5=D0=BD=D0=B8=D0=B9 =D0=9A=D1=83=D1=80=D0=BD=D0=B5=D0=B2=D1=81=D0=BA=
=D0=B8=D0=B9 &lt;<a href=3D"mailto:kurnevsky@HIDDEN">kurnevsky@HIDDEN=
</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:=
0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">=
<div dir=3D"ltr">It is a plain emacs built with nixos. These packages are j=
ust different versions of emacs, like stable/unstable/master and with or wi=
thout native compilation/pgtk. Also it contains all elpa/melpa packages and=
 functions to install them in nixos.<br></div><br><div class=3D"gmail_quote=
"><div dir=3D"ltr" class=3D"gmail_attr">On Fri, Jan 21, 2022 at 9:26 AM Lar=
s Ingebrigtsen &lt;<a href=3D"mailto:larsi@HIDDEN" target=3D"_blank">lars=
i@HIDDEN</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=
=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding=
-left:1ex">=D0=95=D0=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9 =D0=9A=D1=83=D1=80=D0=
=BD=D0=B5=D0=B2=D1=81=D0=BA=D0=B8=D0=B9 &lt;<a href=3D"mailto:kurnevsky@gma=
il.com" target=3D"_blank">kurnevsky@HIDDEN</a>&gt; writes:<br>
<br>
&gt; Just a repository with additional emacs packages:<br>
&gt; <a href=3D"https://github.com/nix-community/emacs-overlay" rel=3D"nore=
ferrer" target=3D"_blank">https://github.com/nix-community/emacs-overlay</a=
><br>
&gt; Overlay is a nixos term: <a href=3D"https://nixos.wiki/wiki/Overlays" =
rel=3D"noreferrer" target=3D"_blank">https://nixos.wiki/wiki/Overlays</a><b=
r>
<br>
So the problem could be in these packages?=C2=A0 Could you try to build a<b=
r>
plain emacs-28 and see whether you can reproduce the problems there?<br>
<br>
-- <br>
(domestic pets only, the antidote for overdose, milk.)<br>
=C2=A0 =C2=A0bloggy blog: <a href=3D"http://lars.ingebrigtsen.no" rel=3D"no=
referrer" target=3D"_blank">http://lars.ingebrigtsen.no</a><br>
</blockquote></div><br clear=3D"all"><br>-- <br><div dir=3D"ltr">=D0=A1 =D1=
=83=D0=B2=D0=B0=D0=B6=D0=B5=D0=BD=D0=B8=D0=B5=D0=BC, =D0=9A=D1=83=D1=80=D0=
=BD=D0=B5=D0=B2=D1=81=D0=BA=D0=B8=D0=B9 =D0=95=D0=B2=D0=B3=D0=B5=D0=BD=D0=
=B8=D0=B9.<br></div>
</blockquote></div><br clear=3D"all"><br>-- <br><div dir=3D"ltr" class=3D"g=
mail_signature">=D0=A1 =D1=83=D0=B2=D0=B0=D0=B6=D0=B5=D0=BD=D0=B8=D0=B5=D0=
=BC, =D0=9A=D1=83=D1=80=D0=BD=D0=B5=D0=B2=D1=81=D0=BA=D0=B8=D0=B9 =D0=95=D0=
=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9.<br></div>

--0000000000003ad0ce05d614b416--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#53391; Package emacs. Full text available.

Message received at 53391 <at> debbugs.gnu.org:


Received: (at 53391) by debbugs.gnu.org; 21 Jan 2022 09:32:28 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jan 21 04:32:28 2022
Received: from localhost ([127.0.0.1]:60192 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nAqHU-0001fI-Iw
	for submit <at> debbugs.gnu.org; Fri, 21 Jan 2022 04:32:28 -0500
Received: from mail-yb1-f178.google.com ([209.85.219.178]:38743)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <kurnevsky@HIDDEN>) id 1nAqHT-0001f6-Eg
 for 53391 <at> debbugs.gnu.org; Fri, 21 Jan 2022 04:32:27 -0500
Received: by mail-yb1-f178.google.com with SMTP id m1so25880218ybo.5
 for <53391 <at> debbugs.gnu.org>; Fri, 21 Jan 2022 01:32:27 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :cc; bh=eC0rgz5LD/PUmCh0W4aXbH7s3BZ6aXhOc21+aRzFBBE=;
 b=etWFNeEeohFskJnxoQm+uvxwXXQEBR0xoytStjpdpVl00Q4Bxpo7l7Mekyr1S4UrbN
 UmPC7IJStWYQ2fa6viSXpGU5MwT6Cyzxo0hiV4zgulPpWsAuvyAtTh9/Qb3Too4n6pfc
 hiHHWW/ffrxx+NETzt+IJ5jP0rdLv6fWQrXGq1LNP32AYO4uJMmedH33M9tlNzy2yNB3
 1cspAVe7W71s+vlMSLx56Uw7b9Ln68pEWRiy37suxHh/Lh3Iy5AtkaA9xPltWpIEDEtc
 FeIJFNp6gwS3Gb/WvH10xDkOCP2WPEOUerFnWZ399egTxCS/jJAi7qFButU83K5OOB5l
 vd6w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=eC0rgz5LD/PUmCh0W4aXbH7s3BZ6aXhOc21+aRzFBBE=;
 b=w5ypuCNhFvbYeUxxe6sq8FVPTa+HXdV33JNsJI2cZtkk8zMhPnavXSitnE7MF0oAz9
 sxSUz3qRvupH2iz7zusAxGi1rBKWn39UbzlggwbqPBvvfjg1PMMkZ2A+hL+G7EGxp5vf
 0wO2RxnDUxVRGPI8U1VcGRiNHalWoYXDuPrzyjIu4RcZGClpelf8aW2M4//kj4uL66AU
 EpiG0stVR9/H/q3GEKGLFbdVUBGIq/Xv/0NSbs+p9yCxXGxxlhwfg7/WfZHMmlqAcd8t
 bTRtMKYvN1huAzGaDe6zI/Vues5xAt1dDEgghGO078W/ySMUb5+1Sfx/JCLH0cn8dOrY
 po2w==
X-Gm-Message-State: AOAM532YbA1FWYv+3CNW/Jc0WYgrLcQi2HCpsSfMpWTBbmwwdDKlFRFI
 F+3HNJ37sTT8NqpaW8NvqaHf9udtr4FIGgJvJRg=
X-Google-Smtp-Source: ABdhPJwJA2jLabbJ3t4eASRk817KUpfXHUPeNDfxZsnw9FbSRVwgzwGhXvqogIIcJ4OqXBZSzBi4JhKXktJ96crRP28=
X-Received: by 2002:a25:2707:: with SMTP id n7mr4899882ybn.142.1642757541876; 
 Fri, 21 Jan 2022 01:32:21 -0800 (PST)
MIME-Version: 1.0
References: <CAOEHfohCa0FALqU6wd4HFJ3iEGPAXJGgYqMt44S-vBE9YrJ1fQ@HIDDEN>
 <87a6fqzea4.fsf@HIDDEN>
 <CAOEHfogLACgr=_xDR2Z8yN2mGAcCYEo0h5thw_e02Gs2-_=CaA@HIDDEN>
 <83k0eup2pw.fsf@HIDDEN>
 <CAOEHfoh5rrh6-2MKyKRkvGQRwe2bm-TqtnWopAfaGJVVv1s7Vw@HIDDEN>
 <87v8ydwiyr.fsf@HIDDEN>
 <CAOEHfogjxeJZXjnYM2S1hnvsyDv0My8szqvWJwurCv4FOsJevg@HIDDEN>
 <878rv9wicd.fsf@HIDDEN>
In-Reply-To: <878rv9wicd.fsf@HIDDEN>
From: =?UTF-8?B?0JXQstCz0LXQvdC40Lkg0JrRg9GA0L3QtdCy0YHQutC40Lk=?=
 <kurnevsky@HIDDEN>
Date: Fri, 21 Jan 2022 09:32:11 +0000
Message-ID: <CAOEHfois0Zvp+z0M+_1McbPVjZzkJ2dy8FvGpp0tWX2VTCJwiA@HIDDEN>
Subject: Re: bug#53391: First keypress doesn't work when scratch buffer is
 killed in emacs 28, emacs daemon + emacs client is used
To: Lars Ingebrigtsen <larsi@HIDDEN>
Content-Type: multipart/alternative; boundary="000000000000bc560d05d6144bf4"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 53391
Cc: Eli Zaretskii <eliz@HIDDEN>, 53391 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--000000000000bc560d05d6144bf4
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

It is a plain emacs built with nixos. These packages are just different
versions of emacs, like stable/unstable/master and with or without native
compilation/pgtk. Also it contains all elpa/melpa packages and functions to
install them in nixos.

On Fri, Jan 21, 2022 at 9:26 AM Lars Ingebrigtsen <larsi@HIDDEN> wrote:

> =D0=95=D0=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9 =D0=9A=D1=83=D1=80=D0=BD=D0=B5=
=D0=B2=D1=81=D0=BA=D0=B8=D0=B9 <kurnevsky@HIDDEN> writes:
>
> > Just a repository with additional emacs packages:
> > https://github.com/nix-community/emacs-overlay
> > Overlay is a nixos term: https://nixos.wiki/wiki/Overlays
>
> So the problem could be in these packages?  Could you try to build a
> plain emacs-28 and see whether you can reproduce the problems there?
>
> --
> (domestic pets only, the antidote for overdose, milk.)
>    bloggy blog: http://lars.ingebrigtsen.no
>


--=20
=D0=A1 =D1=83=D0=B2=D0=B0=D0=B6=D0=B5=D0=BD=D0=B8=D0=B5=D0=BC, =D0=9A=D1=83=
=D1=80=D0=BD=D0=B5=D0=B2=D1=81=D0=BA=D0=B8=D0=B9 =D0=95=D0=B2=D0=B3=D0=B5=
=D0=BD=D0=B8=D0=B9.

--000000000000bc560d05d6144bf4
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">It is a plain emacs built with nixos. These packages are j=
ust different versions of emacs, like stable/unstable/master and with or wi=
thout native compilation/pgtk. Also it contains all elpa/melpa packages and=
 functions to install them in nixos.<br></div><br><div class=3D"gmail_quote=
"><div dir=3D"ltr" class=3D"gmail_attr">On Fri, Jan 21, 2022 at 9:26 AM Lar=
s Ingebrigtsen &lt;<a href=3D"mailto:larsi@HIDDEN">larsi@HIDDEN</a>&gt;=
 wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px =
0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">=D0=95=
=D0=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9 =D0=9A=D1=83=D1=80=D0=BD=D0=B5=D0=B2=
=D1=81=D0=BA=D0=B8=D0=B9 &lt;<a href=3D"mailto:kurnevsky@HIDDEN" target=
=3D"_blank">kurnevsky@HIDDEN</a>&gt; writes:<br>
<br>
&gt; Just a repository with additional emacs packages:<br>
&gt; <a href=3D"https://github.com/nix-community/emacs-overlay" rel=3D"nore=
ferrer" target=3D"_blank">https://github.com/nix-community/emacs-overlay</a=
><br>
&gt; Overlay is a nixos term: <a href=3D"https://nixos.wiki/wiki/Overlays" =
rel=3D"noreferrer" target=3D"_blank">https://nixos.wiki/wiki/Overlays</a><b=
r>
<br>
So the problem could be in these packages?=C2=A0 Could you try to build a<b=
r>
plain emacs-28 and see whether you can reproduce the problems there?<br>
<br>
-- <br>
(domestic pets only, the antidote for overdose, milk.)<br>
=C2=A0 =C2=A0bloggy blog: <a href=3D"http://lars.ingebrigtsen.no" rel=3D"no=
referrer" target=3D"_blank">http://lars.ingebrigtsen.no</a><br>
</blockquote></div><br clear=3D"all"><br>-- <br><div dir=3D"ltr" class=3D"g=
mail_signature">=D0=A1 =D1=83=D0=B2=D0=B0=D0=B6=D0=B5=D0=BD=D0=B8=D0=B5=D0=
=BC, =D0=9A=D1=83=D1=80=D0=BD=D0=B5=D0=B2=D1=81=D0=BA=D0=B8=D0=B9 =D0=95=D0=
=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9.<br></div>

--000000000000bc560d05d6144bf4--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#53391; Package emacs. Full text available.

Message received at 53391 <at> debbugs.gnu.org:


Received: (at 53391) by debbugs.gnu.org; 21 Jan 2022 09:26:05 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jan 21 04:26:05 2022
Received: from localhost ([127.0.0.1]:60173 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nAqBJ-0001Ta-D3
	for submit <at> debbugs.gnu.org; Fri, 21 Jan 2022 04:26:05 -0500
Received: from quimby.gnus.org ([95.216.78.240]:60246)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1nAqBH-0001T0-Hw
 for 53391 <at> debbugs.gnu.org; Fri, 21 Jan 2022 04:26:04 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID
 :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID:
 Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
 :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe:
 List-Post:List-Owner:List-Archive;
 bh=ONDH0IWOc/k0q/kZK/WEt88+vcwQ9wvWK/wc+5QGY5I=; b=k2J4oPs26vHVzfOEe+ghP5OGad
 SKbM3ODyKKDYB3occxx0BoCHunGyj1OuFaxTkYtZv2J5zbg8rJOPrRYQ1YgrKrmaoNu96AQMYw4U+
 z2hoxMBnhWWdNyidPNtr/8RGkNfv8r1d9FoccZ6zKOypwj5fpst9y3jsMzRGcq/swPYc=;
Received: from [84.212.220.105] (helo=giant)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1nAqB8-0008IT-K1; Fri, 21 Jan 2022 10:25:57 +0100
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: =?utf-8?B?0JXQstCz0LXQvdC40Lkg0JrRg9GA0L3QtdCy0YHQutC40Lk=?=
 <kurnevsky@HIDDEN>
Subject: Re: bug#53391: First keypress doesn't work when scratch buffer is
 killed in emacs 28, emacs daemon + emacs client is used
References: <CAOEHfohCa0FALqU6wd4HFJ3iEGPAXJGgYqMt44S-vBE9YrJ1fQ@HIDDEN>
 <87a6fqzea4.fsf@HIDDEN>
 <CAOEHfogLACgr=_xDR2Z8yN2mGAcCYEo0h5thw_e02Gs2-_=CaA@HIDDEN>
 <83k0eup2pw.fsf@HIDDEN>
 <CAOEHfoh5rrh6-2MKyKRkvGQRwe2bm-TqtnWopAfaGJVVv1s7Vw@HIDDEN>
 <87v8ydwiyr.fsf@HIDDEN>
 <CAOEHfogjxeJZXjnYM2S1hnvsyDv0My8szqvWJwurCv4FOsJevg@HIDDEN>
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj
 SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAG1BMVEU8WyYdI11fMxOU
 aUK4r7QZEQ6UWRHjpiX///93nAk3AAAAAWJLR0QIht6VegAAAAd0SU1FB+YBFQkLOnxH59QAAAGC
 SURBVDjLdZPBboMwDIZRpd3LpD5AjWLuhG4PUJ4gUsp5mUjuSCWvP9tQkYTuPwDKx287sVNV/6p+
 pw0ASWvd3+/NqTPmqvVZwCeDnoAetO4sNHW9g4YdAwHdwfUFLhsYhk4zuSYO/NW6uvcnQO8gAeiD
 1h99BT7EJQfeKWuV8b4AMTCwFjPHhUBcrKh0LF6t4FGA2W4yBVAvYEMOZA2AHmMCalmxY4xkNBmQ
 SFN4Sl0pmHhFtWsJaQ4n9ZCmN+BxBDX43UEt2B0YODsDZbMNeqlnBaPLAAf/JmANdinASJW2csTZ
 kVB7ZslOEdsMYJilSyWAFdhwI5oClBy0xakA1Fr6l7If+yFg5IcvAI3s2vOvAiwKGj4XUzpmmlLu
 H2bAUShAHjnj8ACAGwze+PysbjIQNPYTZo5F/reAoBCT5O1iNqDSKSEQrYyOQvfIkrdRuXV/rs2r
 ogsGRlkKmF81T1fKO0THH6nDs6hWYP4GAMgr7XkicD9pDieRVu0jetS5+gOKr92CeTbTtgAAACV0
 RVh0ZGF0ZTpjcmVhdGUAMjAyMi0wMS0yMVQwOToxMTo1OCswMDowMF2s0GkAAAAldEVYdGRhdGU6
 bW9kaWZ5ADIwMjItMDEtMjFUMDk6MTE6NTgrMDA6MDAs8WjVAAAAAElFTkSuQmCC
X-Now-Playing: Brian Auger & Julie Driscoll's _Open_: "Lament For Miss Baker"
Date: Fri, 21 Jan 2022 10:25:54 +0100
In-Reply-To: <CAOEHfogjxeJZXjnYM2S1hnvsyDv0My8szqvWJwurCv4FOsJevg@HIDDEN>
 (=?utf-8?B?ItCV0LLQs9C10L3QuNC5INCa0YPRgNC90LXQstGB0LrQuNC5Iidz?= message
 of "Fri, 21 Jan 2022 09:18:05 +0000")
Message-ID: <878rv9wicd.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 
 Content preview:  Евгений Курневский <kurnevsky@HIDDEN>
   writes: > Just a repository with additional emacs packages: > https://github.com/nix-community/emacs-overlay
    > Overlay is a nixos term: https://nixos.wiki/wiki/Overlays 
 
 Content analysis details:   (-2.9 points, 5.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
                             [score: 0.0000]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 53391
Cc: Eli Zaretskii <eliz@HIDDEN>, 53391 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

=D0=95=D0=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9 =D0=9A=D1=83=D1=80=D0=BD=D0=B5=
=D0=B2=D1=81=D0=BA=D0=B8=D0=B9 <kurnevsky@HIDDEN> writes:

> Just a repository with additional emacs packages:
> https://github.com/nix-community/emacs-overlay
> Overlay is a nixos term: https://nixos.wiki/wiki/Overlays

So the problem could be in these packages?  Could you try to build a
plain emacs-28 and see whether you can reproduce the problems there?

--=20
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#53391; Package emacs. Full text available.

Message received at 53391 <at> debbugs.gnu.org:


Received: (at 53391) by debbugs.gnu.org; 21 Jan 2022 09:18:23 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jan 21 04:18:23 2022
Received: from localhost ([127.0.0.1]:60165 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nAq3r-0001HJ-97
	for submit <at> debbugs.gnu.org; Fri, 21 Jan 2022 04:18:23 -0500
Received: from mail-yb1-f179.google.com ([209.85.219.179]:36635)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <kurnevsky@HIDDEN>) id 1nAq3p-0001H3-Mq
 for 53391 <at> debbugs.gnu.org; Fri, 21 Jan 2022 04:18:22 -0500
Received: by mail-yb1-f179.google.com with SMTP id c6so25768924ybk.3
 for <53391 <at> debbugs.gnu.org>; Fri, 21 Jan 2022 01:18:21 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :cc; bh=k+NplcmnjAZ/oBVDc2E1zsYCstxyMJ2ZeDB5EK2VgvY=;
 b=gbmoKUfCnMfDlaNcjE5oiSmgC4akbdRkp2c8SloVEX16lPMXUdebOglqkM1paoE/km
 3QCBTCoboRQvxbQXN26dzbGA8LOBGP8nRrKhsm5Fis9zq6eV1ljKaHdGV0OFpovy/71L
 wRNoXgeYkIczj4fzqV+vhvxO7PPDd/IlujHFjaxya/wBTzjTLg/3ROlMOrAnS0i83wii
 i8r3BGYsdDFAkyI2+YbFTRnObZiHNojBNZUO4CjKLIo4LElPnAR585djkBHVLkOJBiwD
 xiT34SnicRL5BXqyy5ybu7cCrRxweCITzbyU+HDX1Gg38OHK1GRnTW136w7y+iZjww6/
 p1zQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=k+NplcmnjAZ/oBVDc2E1zsYCstxyMJ2ZeDB5EK2VgvY=;
 b=N1jpyZoGrV9r7C2HA5h02roB43W/10gzYyImqbKEq6yqnwGD5ElAicSWihDgyZvfvt
 rrxroS+YGWZC9kInqFb7iY49H+5aAaeSxFNzt7GPNFmhYNF+hFmPMkAQjygbfdFOZ9Zu
 m9OiphYit2yq5E9pXezX0YAPKTQN07f+FGiGHmHwbsXEgLyBR1YWQDfKgYTff1FwT18R
 +7sMMQPpE0a2r0gUJN1YqSVBwHkOQUBruY8LNH7k1ycmc50HqeVxjKu8rlwoCP/S7Zp6
 RaIuh59z03lg/nu94rcSXAvJAQNL0uMv58x2uV7Qj7E7cfALv/cCCH8xsxjD++6KbtVR
 h77g==
X-Gm-Message-State: AOAM530qGuSa7/k93jA3aq3sC9VjQMoNA8R4Ak0s3JRmG4caHr0FypUs
 T2b/9nMsuPecuFqvpk5WXPCjlg3A7Pu0JaCMoVU=
X-Google-Smtp-Source: ABdhPJxBk6Um+LTDL5VKaHM5waKrHl0LoZGYIv4Pa3CWmUkc8odufQEKdHlNifxo62GejfqY2U3m6RBQNxAG+38jsyc=
X-Received: by 2002:a05:6902:10a:: with SMTP id
 o10mr4650367ybh.104.1642756696005; 
 Fri, 21 Jan 2022 01:18:16 -0800 (PST)
MIME-Version: 1.0
References: <CAOEHfohCa0FALqU6wd4HFJ3iEGPAXJGgYqMt44S-vBE9YrJ1fQ@HIDDEN>
 <87a6fqzea4.fsf@HIDDEN>
 <CAOEHfogLACgr=_xDR2Z8yN2mGAcCYEo0h5thw_e02Gs2-_=CaA@HIDDEN>
 <83k0eup2pw.fsf@HIDDEN>
 <CAOEHfoh5rrh6-2MKyKRkvGQRwe2bm-TqtnWopAfaGJVVv1s7Vw@HIDDEN>
 <87v8ydwiyr.fsf@HIDDEN>
In-Reply-To: <87v8ydwiyr.fsf@HIDDEN>
From: =?UTF-8?B?0JXQstCz0LXQvdC40Lkg0JrRg9GA0L3QtdCy0YHQutC40Lk=?=
 <kurnevsky@HIDDEN>
Date: Fri, 21 Jan 2022 09:18:05 +0000
Message-ID: <CAOEHfogjxeJZXjnYM2S1hnvsyDv0My8szqvWJwurCv4FOsJevg@HIDDEN>
Subject: Re: bug#53391: First keypress doesn't work when scratch buffer is
 killed in emacs 28, emacs daemon + emacs client is used
To: Lars Ingebrigtsen <larsi@HIDDEN>
Content-Type: multipart/alternative; boundary="000000000000515f8405d61419c8"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 53391
Cc: Eli Zaretskii <eliz@HIDDEN>, 53391 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--000000000000515f8405d61419c8
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Just a repository with additional emacs packages:
https://github.com/nix-community/emacs-overlay
Overlay is a nixos term: https://nixos.wiki/wiki/Overlays

On Fri, Jan 21, 2022 at 9:12 AM Lars Ingebrigtsen <larsi@HIDDEN> wrote:

> =D0=95=D0=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9 =D0=9A=D1=83=D1=80=D0=BD=D0=B5=
=D0=B2=D1=81=D0=BA=D0=B8=D0=B9 <kurnevsky@HIDDEN> writes:
>
> > I use nixos with emacs-overlay, and in particular this version of emacs=
:
> >
> https://github.com/nix-community/emacs-overlay/blob/master/repos/emacs/em=
acs-unstable.json
>
> What is emacs-overlay?
>
> --
> (domestic pets only, the antidote for overdose, milk.)
>    bloggy blog: http://lars.ingebrigtsen.no
>


--=20
=D0=A1 =D1=83=D0=B2=D0=B0=D0=B6=D0=B5=D0=BD=D0=B8=D0=B5=D0=BC, =D0=9A=D1=83=
=D1=80=D0=BD=D0=B5=D0=B2=D1=81=D0=BA=D0=B8=D0=B9 =D0=95=D0=B2=D0=B3=D0=B5=
=D0=BD=D0=B8=D0=B9.

--000000000000515f8405d61419c8
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Just a repository with additional emacs packages: <a =
href=3D"https://github.com/nix-community/emacs-overlay">https://github.com/=
nix-community/emacs-overlay</a></div><div>Overlay is a nixos term: <a href=
=3D"https://nixos.wiki/wiki/Overlays">https://nixos.wiki/wiki/Overlays</a><=
br></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gma=
il_attr">On Fri, Jan 21, 2022 at 9:12 AM Lars Ingebrigtsen &lt;<a href=3D"m=
ailto:larsi@HIDDEN">larsi@HIDDEN</a>&gt; wrote:<br></div><blockquote cl=
ass=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid=
 rgb(204,204,204);padding-left:1ex">=D0=95=D0=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=
=B9 =D0=9A=D1=83=D1=80=D0=BD=D0=B5=D0=B2=D1=81=D0=BA=D0=B8=D0=B9 &lt;<a hre=
f=3D"mailto:kurnevsky@HIDDEN" target=3D"_blank">kurnevsky@HIDDEN</a>&=
gt; writes:<br>
<br>
&gt; I use nixos with emacs-overlay, and in particular this version of emac=
s:<br>
&gt; <a href=3D"https://github.com/nix-community/emacs-overlay/blob/master/=
repos/emacs/emacs-unstable.json" rel=3D"noreferrer" target=3D"_blank">https=
://github.com/nix-community/emacs-overlay/blob/master/repos/emacs/emacs-uns=
table.json</a><br>
<br>
What is emacs-overlay?<br>
<br>
-- <br>
(domestic pets only, the antidote for overdose, milk.)<br>
=C2=A0 =C2=A0bloggy blog: <a href=3D"http://lars.ingebrigtsen.no" rel=3D"no=
referrer" target=3D"_blank">http://lars.ingebrigtsen.no</a><br>
</blockquote></div><br clear=3D"all"><br>-- <br><div dir=3D"ltr" class=3D"g=
mail_signature">=D0=A1 =D1=83=D0=B2=D0=B0=D0=B6=D0=B5=D0=BD=D0=B8=D0=B5=D0=
=BC, =D0=9A=D1=83=D1=80=D0=BD=D0=B5=D0=B2=D1=81=D0=BA=D0=B8=D0=B9 =D0=95=D0=
=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9.<br></div>

--000000000000515f8405d61419c8--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#53391; Package emacs. Full text available.

Message received at 53391 <at> debbugs.gnu.org:


Received: (at 53391) by debbugs.gnu.org; 21 Jan 2022 09:12:40 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jan 21 04:12:40 2022
Received: from localhost ([127.0.0.1]:60155 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nApyK-00017h-EH
	for submit <at> debbugs.gnu.org; Fri, 21 Jan 2022 04:12:40 -0500
Received: from quimby.gnus.org ([95.216.78.240]:60094)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1nApyI-00017R-6U
 for 53391 <at> debbugs.gnu.org; Fri, 21 Jan 2022 04:12:40 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID
 :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID:
 Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
 :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe:
 List-Post:List-Owner:List-Archive;
 bh=3EbS7bF+zKAIFVf4rY4g9kmbm7Hyy9wbzNLXEkWNfGI=; b=XaqnC2b1Ta02sv6aykh2jc71rf
 KOBWtEP6YfqtHnmgPp9HOkfS2YxnWYMCTRizHGNxkjB+mfrGrZ2kcHJ7uJCV5Mq+Xf2eT36rpnifh
 dK15bEvb6HiBUiIg3JA6mkPPvrRA0v2fkcpoaUIPG8wfHrVxScLaZMWkExRe8ueYd0jk=;
Received: from [84.212.220.105] (helo=giant)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1nApy8-0008Aj-Ur; Fri, 21 Jan 2022 10:12:31 +0100
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: =?utf-8?B?0JXQstCz0LXQvdC40Lkg0JrRg9GA0L3QtdCy0YHQutC40Lk=?=
 <kurnevsky@HIDDEN>
Subject: Re: bug#53391: First keypress doesn't work when scratch buffer is
 killed in emacs 28, emacs daemon + emacs client is used
References: <CAOEHfohCa0FALqU6wd4HFJ3iEGPAXJGgYqMt44S-vBE9YrJ1fQ@HIDDEN>
 <87a6fqzea4.fsf@HIDDEN>
 <CAOEHfogLACgr=_xDR2Z8yN2mGAcCYEo0h5thw_e02Gs2-_=CaA@HIDDEN>
 <83k0eup2pw.fsf@HIDDEN>
 <CAOEHfoh5rrh6-2MKyKRkvGQRwe2bm-TqtnWopAfaGJVVv1s7Vw@HIDDEN>
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj
 SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAG1BMVEU8WyYdI11fMxOU
 aUK4r7QZEQ6UWRHjpiX///93nAk3AAAAAWJLR0QIht6VegAAAAd0SU1FB+YBFQkLOnxH59QAAAGC
 SURBVDjLdZPBboMwDIZRpd3LpD5AjWLuhG4PUJ4gUsp5mUjuSCWvP9tQkYTuPwDKx287sVNV/6p+
 pw0ASWvd3+/NqTPmqvVZwCeDnoAetO4sNHW9g4YdAwHdwfUFLhsYhk4zuSYO/NW6uvcnQO8gAeiD
 1h99BT7EJQfeKWuV8b4AMTCwFjPHhUBcrKh0LF6t4FGA2W4yBVAvYEMOZA2AHmMCalmxY4xkNBmQ
 SFN4Sl0pmHhFtWsJaQ4n9ZCmN+BxBDX43UEt2B0YODsDZbMNeqlnBaPLAAf/JmANdinASJW2csTZ
 kVB7ZslOEdsMYJilSyWAFdhwI5oClBy0xakA1Fr6l7If+yFg5IcvAI3s2vOvAiwKGj4XUzpmmlLu
 H2bAUShAHjnj8ACAGwze+PysbjIQNPYTZo5F/reAoBCT5O1iNqDSKSEQrYyOQvfIkrdRuXV/rs2r
 ogsGRlkKmF81T1fKO0THH6nDs6hWYP4GAMgr7XkicD9pDieRVu0jetS5+gOKr92CeTbTtgAAACV0
 RVh0ZGF0ZTpjcmVhdGUAMjAyMi0wMS0yMVQwOToxMTo1OCswMDowMF2s0GkAAAAldEVYdGRhdGU6
 bW9kaWZ5ADIwMjItMDEtMjFUMDk6MTE6NTgrMDA6MDAs8WjVAAAAAElFTkSuQmCC
X-Now-Playing: Brian Auger & Julie Driscoll's _Open_: "In And Out"
Date: Fri, 21 Jan 2022 10:12:28 +0100
In-Reply-To: <CAOEHfoh5rrh6-2MKyKRkvGQRwe2bm-TqtnWopAfaGJVVv1s7Vw@HIDDEN>
 (=?utf-8?B?ItCV0LLQs9C10L3QuNC5INCa0YPRgNC90LXQstGB0LrQuNC5Iidz?= message
 of "Thu, 20 Jan 2022 20:42:51 +0000")
Message-ID: <87v8ydwiyr.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 
 Content preview:  Евгений Курневский <kurnevsky@HIDDEN>
   writes: > I use nixos with emacs-overlay, and in particular this version of
    emacs: > https://github.com/nix-community/emacs-overlay/blob/master/repos/emacs/emacs-unstable.json
    
 
 Content analysis details:   (-2.9 points, 5.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
                             [score: 0.0000]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 53391
Cc: Eli Zaretskii <eliz@HIDDEN>, 53391 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

=D0=95=D0=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9 =D0=9A=D1=83=D1=80=D0=BD=D0=B5=
=D0=B2=D1=81=D0=BA=D0=B8=D0=B9 <kurnevsky@HIDDEN> writes:

> I use nixos with emacs-overlay, and in particular this version of emacs:
> https://github.com/nix-community/emacs-overlay/blob/master/repos/emacs/em=
acs-unstable.json

What is emacs-overlay?

--=20
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#53391; Package emacs. Full text available.

Message received at 53391 <at> debbugs.gnu.org:


Received: (at 53391) by debbugs.gnu.org; 20 Jan 2022 20:43:09 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jan 20 15:43:09 2022
Received: from localhost ([127.0.0.1]:59307 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nAeGz-00089K-K0
	for submit <at> debbugs.gnu.org; Thu, 20 Jan 2022 15:43:09 -0500
Received: from mail-yb1-f170.google.com ([209.85.219.170]:39810)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <kurnevsky@HIDDEN>) id 1nAeGy-000897-3D
 for 53391 <at> debbugs.gnu.org; Thu, 20 Jan 2022 15:43:08 -0500
Received: by mail-yb1-f170.google.com with SMTP id o80so21400373yba.6
 for <53391 <at> debbugs.gnu.org>; Thu, 20 Jan 2022 12:43:08 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :cc; bh=4GWIGaRAmsrxWXpljFFOhoYGteRrG1xtFeYZzOPcK5s=;
 b=NhnNjbUkktVD3kAWlX22Jm4Er9p9GpXC+kMcD99kDtgeApdF7fJX/62UW5MGJFQJ46
 J/DhjYWx8BSSPKCz0MSrkUms+IpxdkXz494A3a9EMD52dI3D+MUrxss8Rstm5h58UjjO
 ZIkBkiohAqAMjRjEApM5gKnC2Xpg6sgCsQ4SZB5Wk5vTzEyN3AE7tHv1DV3ku7e6nlAI
 QvKT+BO0fnV58on+RUO0fm4/F6OtEEshjfq15Cq8UXpji4Q6XsTXxqLcTcYBXxirAY6B
 JI3hh15++7Pg9tjzEHGTB3G9T5Qt19dwnH/IJ6El1TiSeEJ2mf6e7XEB6JpCxf2tlPND
 p1uA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=4GWIGaRAmsrxWXpljFFOhoYGteRrG1xtFeYZzOPcK5s=;
 b=hzN2wrkXW6/nFs/CbzxiXPnBUaAO6dRuF7BSdL4V2SngKG6zJ19oOMgeFarh44NZ4z
 +pe3vJJBkkAWvf5RBD8fgFeCa9GOZU7Yn9XpajzLn87j6oksvKsHXgnzi+Bec+qSW7h0
 Byq0jJXw8ntFLjPbZiSl5F6IKmfNTokl2059ELWxCVfGKjtx2lWIwHbEzOJc6Xe9uON5
 0K8TIE0K5d/FZvv8YNimQ+4dinEK+50hvPEos4nPX6k2SEjBeh/j24JssVmGvsViUoXG
 A4+hHq3Jyb4pw3U/wkDx0m5bvuJGMrDebZqL8uzhrcZSXq3SApnKrODcKntILOBj0kng
 WoFQ==
X-Gm-Message-State: AOAM533kiC9xxdsvkJpk8/xpb7IqjX7/9oZNEcCpftrg6RjNa9GxfYom
 1sKafayO8RASKXKj0Dy/dfRrsIkozxXt+6BdZ6c=
X-Google-Smtp-Source: ABdhPJxzEJobS20xl6Dqeuc0lxjuGPtujsHmqWzTrTKhcdEQ/D1wjqYQpf5+VaZ7KyL1gsiYoQ+l3RobjZEdZiKZirw=
X-Received: by 2002:a25:b44b:: with SMTP id c11mr1373869ybg.342.1642711382239; 
 Thu, 20 Jan 2022 12:43:02 -0800 (PST)
MIME-Version: 1.0
References: <CAOEHfohCa0FALqU6wd4HFJ3iEGPAXJGgYqMt44S-vBE9YrJ1fQ@HIDDEN>
 <87a6fqzea4.fsf@HIDDEN>
 <CAOEHfogLACgr=_xDR2Z8yN2mGAcCYEo0h5thw_e02Gs2-_=CaA@HIDDEN>
 <83k0eup2pw.fsf@HIDDEN>
In-Reply-To: <83k0eup2pw.fsf@HIDDEN>
From: =?UTF-8?B?0JXQstCz0LXQvdC40Lkg0JrRg9GA0L3QtdCy0YHQutC40Lk=?=
 <kurnevsky@HIDDEN>
Date: Thu, 20 Jan 2022 20:42:51 +0000
Message-ID: <CAOEHfoh5rrh6-2MKyKRkvGQRwe2bm-TqtnWopAfaGJVVv1s7Vw@HIDDEN>
Subject: Re: bug#53391: First keypress doesn't work when scratch buffer is
 killed in emacs 28, emacs daemon + emacs client is used
To: Eli Zaretskii <eliz@HIDDEN>
Content-Type: multipart/alternative; boundary="000000000000684cb105d6098c44"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 53391
Cc: Lars Ingebrigtsen <larsi@HIDDEN>, 53391 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--000000000000684cb105d6098c44
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

I use nixos with emacs-overlay, and in particular this version of emacs:
https://github.com/nix-community/emacs-overlay/blob/master/repos/emacs/emac=
s-unstable.json
It can't be my local changes because the build process in nix is completely
automated and deterministic.
It's also compiled with NATIVE_FULL_AOT=3D1 - could it be the difference?

On Thu, Jan 20, 2022 at 8:33 PM Eli Zaretskii <eliz@HIDDEN> wrote:

> > From: =D0=95=D0=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9 =D0=9A=D1=83=D1=80=D0=
=BD=D0=B5=D0=B2=D1=81=D0=BA=D0=B8=D0=B9
> >  <kurnevsky@HIDDEN>
> > Date: Thu, 20 Jan 2022 14:19:00 +0000
> > Cc: 53391 <at> debbugs.gnu.org
> >
> > In GNU Emacs 28.0.91 (build 1, x86_64-pc-linux-gnu, GTK+ Version
> 3.24.30, cairo version 1.16.0)
> > Repository revision: emacs-28.0.91
> > Repository branch: master
>
> According to this, you've built from some Git repository that is not
> the upstream Emacs repository?  Are you sure there are no local
> changes in your master branch?
>


--=20
=D0=A1 =D1=83=D0=B2=D0=B0=D0=B6=D0=B5=D0=BD=D0=B8=D0=B5=D0=BC, =D0=9A=D1=83=
=D1=80=D0=BD=D0=B5=D0=B2=D1=81=D0=BA=D0=B8=D0=B9 =D0=95=D0=B2=D0=B3=D0=B5=
=D0=BD=D0=B8=D0=B9.

--000000000000684cb105d6098c44
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>I use nixos with emacs-overlay, and in particular thi=
s version of emacs: <a href=3D"https://github.com/nix-community/emacs-overl=
ay/blob/master/repos/emacs/emacs-unstable.json">https://github.com/nix-comm=
unity/emacs-overlay/blob/master/repos/emacs/emacs-unstable.json</a></div><d=
iv>It can&#39;t be my local changes because the build process in nix is com=
pletely automated and deterministic.</div><div>It&#39;s also compiled with =
<code>NATIVE_FULL_AOT=3D1 - could it be the difference?<br></code></div></d=
iv><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On =
Thu, Jan 20, 2022 at 8:33 PM Eli Zaretskii &lt;<a href=3D"mailto:eliz@HIDDEN=
rg">eliz@HIDDEN</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" =
style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);pa=
dding-left:1ex">&gt; From: =D0=95=D0=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9 =D0=
=9A=D1=83=D1=80=D0=BD=D0=B5=D0=B2=D1=81=D0=BA=D0=B8=D0=B9<br>
&gt;=C2=A0 &lt;<a href=3D"mailto:kurnevsky@HIDDEN" target=3D"_blank">kur=
nevsky@HIDDEN</a>&gt;<br>
&gt; Date: Thu, 20 Jan 2022 14:19:00 +0000<br>
&gt; Cc: <a href=3D"mailto:53391 <at> debbugs.gnu.org" target=3D"_blank">53391@d=
ebbugs.gnu.org</a><br>
&gt; <br>
&gt; In GNU Emacs 28.0.91 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.=
30, cairo version 1.16.0)<br>
&gt; Repository revision: emacs-28.0.91<br>
&gt; Repository branch: master<br>
<br>
According to this, you&#39;ve built from some Git repository that is not<br=
>
the upstream Emacs repository?=C2=A0 Are you sure there are no local<br>
changes in your master branch?<br>
</blockquote></div><br clear=3D"all"><br>-- <br><div dir=3D"ltr" class=3D"g=
mail_signature">=D0=A1 =D1=83=D0=B2=D0=B0=D0=B6=D0=B5=D0=BD=D0=B8=D0=B5=D0=
=BC, =D0=9A=D1=83=D1=80=D0=BD=D0=B5=D0=B2=D1=81=D0=BA=D0=B8=D0=B9 =D0=95=D0=
=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9.<br></div>

--000000000000684cb105d6098c44--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#53391; Package emacs. Full text available.

Message received at 53391 <at> debbugs.gnu.org:


Received: (at 53391) by debbugs.gnu.org; 20 Jan 2022 20:33:19 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jan 20 15:33:18 2022
Received: from localhost ([127.0.0.1]:59303 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nAe7S-0007uc-JU
	for submit <at> debbugs.gnu.org; Thu, 20 Jan 2022 15:33:18 -0500
Received: from eggs.gnu.org ([209.51.188.92]:49828)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1nAe7Q-0007uO-Gr
 for 53391 <at> debbugs.gnu.org; Thu, 20 Jan 2022 15:33:16 -0500
Received: from [2001:470:142:3::e] (port=51312 helo=fencepost.gnu.org)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nAe7C-00016V-Js; Thu, 20 Jan 2022 15:33:11 -0500
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=ZbljPbVFoE+UNsO+NJOKKf49ZcF+/Gv8OUdwzxiVm/c=; b=mXeUC2ny5yZRrsFqDv5T
 En5XC0JN/ayepm5TwwSBanpV6Qz2CfAoW8SVTBR8Tg/vNPZ+VPuJp391jeeDG3+UcoLGN713ycStg
 AmYQyxdeXVXNg1G4HGHc5v2z6ht2CnBxiogLY8al9mJ5Vi/7qFVw+2J+LZv9yMjuDKzFq/aBoHOME
 odlt4j9rSBiEspRul8UuoyoWfajcCa5E3s4l7/FpofJDrIajE/FAX59fClUmZvJ4P+x7aJBfEUs4y
 G6nVs8+dfaHp3xjPkuNALs0UW/KQ7bLz5TJnE8auVo8ZYbHOWAmw7hnv3BWWQ9b3PA9K3AryoxnZR
 2SMRrtrHWX9o3A==;
Received: from [87.69.77.57] (port=3309 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nAe7C-0000Qa-Bl; Thu, 20 Jan 2022 15:33:02 -0500
Date: Thu, 20 Jan 2022 22:32:59 +0200
Message-Id: <83k0eup2pw.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: =?utf-8?B?0JXQstCz0LXQvdC40Lkg0JrRg9GA0L3QtdCy0YHQutC40Lk=?=
 <kurnevsky@HIDDEN>
In-Reply-To: <CAOEHfogLACgr=_xDR2Z8yN2mGAcCYEo0h5thw_e02Gs2-_=CaA@HIDDEN>
 (kurnevsky@HIDDEN)
Subject: Re: bug#53391: First keypress doesn't work when scratch buffer is
 killed in emacs 28, emacs daemon + emacs client is used
References: <CAOEHfohCa0FALqU6wd4HFJ3iEGPAXJGgYqMt44S-vBE9YrJ1fQ@HIDDEN>
 <87a6fqzea4.fsf@HIDDEN>
 <CAOEHfogLACgr=_xDR2Z8yN2mGAcCYEo0h5thw_e02Gs2-_=CaA@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 53391
Cc: larsi@HIDDEN, 53391 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Евгений Курневский
>  <kurnevsky@HIDDEN>
> Date: Thu, 20 Jan 2022 14:19:00 +0000
> Cc: 53391 <at> debbugs.gnu.org
> 
> In GNU Emacs 28.0.91 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.30, cairo version 1.16.0)
> Repository revision: emacs-28.0.91
> Repository branch: master

According to this, you've built from some Git repository that is not
the upstream Emacs repository?  Are you sure there are no local
changes in your master branch?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#53391; Package emacs. Full text available.

Message received at 53391 <at> debbugs.gnu.org:


Received: (at 53391) by debbugs.gnu.org; 20 Jan 2022 14:19:21 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jan 20 09:19:21 2022
Received: from localhost ([127.0.0.1]:56953 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nAYHY-0007OF-Om
	for submit <at> debbugs.gnu.org; Thu, 20 Jan 2022 09:19:21 -0500
Received: from mail-yb1-f173.google.com ([209.85.219.173]:46012)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <kurnevsky@HIDDEN>) id 1nAYHW-0007O2-5w
 for 53391 <at> debbugs.gnu.org; Thu, 20 Jan 2022 09:19:20 -0500
Received: by mail-yb1-f173.google.com with SMTP id h14so18119633ybe.12
 for <53391 <at> debbugs.gnu.org>; Thu, 20 Jan 2022 06:19:18 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :cc; bh=rTmn1oPihNpUWQVTY12LbD7/M2TrzIdhWJsTRM1gm1I=;
 b=JGcjRP3G6TJyIVPsNY1E2v4TiyN3nISKu/N6hRB2JqpIZ1plnb1uQQ/yY2pdgLC/BE
 ivF3u6P2aGcb/MXDzSX3cTTayYEtbzlpQPy27iyP3xx78DXKCiiOjRSelmr0+qJ8eQeK
 xF3gvdJoUrA8pwhcAS7jQwdtrkGrJweTpiyrq6TofTwpkE1cdJk7agp/wCbi+SlVn/qV
 exv1oJvXVvmAa/Zod9Pm6ggQh6ZdWgkwqXNArt1zMLtHi+cp9a/wwNBGLxT+i2gQjV/2
 QEh5kmBEuyaf95BHEd/BvfiV9PIiHYOsitrGzBTUT8mej/H3x2cKDRKSaff8qGjXYyvt
 9iaQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=rTmn1oPihNpUWQVTY12LbD7/M2TrzIdhWJsTRM1gm1I=;
 b=yxVQDXzPu9fKotOZu0WXOS+5zp15dGUyFEYVc9QBgKZf9LPtLv0Th6AMz0UKqObzyn
 lNNDq++0Spk/BHuvumQT7s36BsSZhjcyfmhn2PUdji0PdC8ghF6hXiYn+6mqIRGvfbbq
 5I6rcYe/VGaPA9Z5Y3mSyzo5QLMOLSlJ/0uS1b2hRRnqTq/8dLX8TZpbfldqC6Cx0Mpp
 xCMIwgcZOk/URvJCtP3sDl3qeKMrS/iDnIbdGFoT4wwjrXiv5rL9za1xx2ogKtS5mahE
 4QcEO/b3v8SMrvBGzbqgFgy8e53bbEBC1sOmTKeNPoRwG1JWe58E1UpyLI1xx98dzfTB
 /wCQ==
X-Gm-Message-State: AOAM533KNa2pjHq16YzuTq4jG+VEQZHA2zXdmGdpIiRJihCZ0rq/Ucky
 OC5+EEBxg4KNkaJTtjz9DpD5bYihROYXiRztKM4X+T+c
X-Google-Smtp-Source: ABdhPJwVxRvydW7JiLjXkC/V/KIn3BvavyGFdDVR/pyV4ppUSdK9DFMO/vgHaqlAU66XjMXYbrYIFwgl/LThLvvC0TE=
X-Received: by 2002:a25:38c6:: with SMTP id f189mr43833769yba.35.1642688352426; 
 Thu, 20 Jan 2022 06:19:12 -0800 (PST)
MIME-Version: 1.0
References: <CAOEHfohCa0FALqU6wd4HFJ3iEGPAXJGgYqMt44S-vBE9YrJ1fQ@HIDDEN>
 <87a6fqzea4.fsf@HIDDEN>
In-Reply-To: <87a6fqzea4.fsf@HIDDEN>
From: =?UTF-8?B?0JXQstCz0LXQvdC40Lkg0JrRg9GA0L3QtdCy0YHQutC40Lk=?=
 <kurnevsky@HIDDEN>
Date: Thu, 20 Jan 2022 14:19:00 +0000
Message-ID: <CAOEHfogLACgr=_xDR2Z8yN2mGAcCYEo0h5thw_e02Gs2-_=CaA@HIDDEN>
Subject: Re: bug#53391: First keypress doesn't work when scratch buffer is
 killed in emacs 28, emacs daemon + emacs client is used
To: Lars Ingebrigtsen <larsi@HIDDEN>
Content-Type: multipart/alternative; boundary="000000000000b91db905d6042fee"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 53391
Cc: 53391 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--000000000000b91db905d6042fee
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

In GNU Emacs 28.0.91 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.30,
cairo version 1.16.0)
Repository revision: emacs-28.0.91
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12101003
System Description: NixOS 21.11 (Porcupine)

Configured using:
 'configure
 --prefix=3D/nix/store/1a8vlvdff3s7a9ymx38yg9vrg3w6gmxs-emacs-gcc-28.0.91
 --disable-build-details --with-modules --with-x-toolkit=3Dgtk3 --with-xft
 --with-cairo --with-native-compilation'

Configured features:
CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON
LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY
INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS
X11 XDBE XIM XPM GTK3 ZLIB

Important settings:
  value of $EMACSLOADPATH:
/nix/store/dywjh8zmfvyxsppx613yh8zyfcxmcxqr-emacs-packages-deps/share/emacs=
/site-lisp:
  value of $EMACSNATIVELOADPATH:
/nix/store/dywjh8zmfvyxsppx613yh8zyfcxmcxqr-emacs-packages-deps/share/emacs=
/native-lisp::
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Messages

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  buffer-read-only: t
  line-number-mode: t
  indent-tabs-mode: t
  transient-mark-mode: t

Load-path shadows:
/nix/store/dywjh8zmfvyxsppx613yh8zyfcxmcxqr-emacs-packages-deps/share/emacs=
/site-lisp/elpa/transient-20220117.1122/transient
hides
/nix/store/1a8vlvdff3s7a9ymx38yg9vrg3w6gmxs-emacs-gcc-28.0.91/share/emacs/2=
8.0.91/lisp/transient
/nix/store/dywjh8zmfvyxsppx613yh8zyfcxmcxqr-emacs-packages-deps/share/emacs=
/site-lisp/elpa/let-alist-1.0.6/let-alist
hides
/nix/store/1a8vlvdff3s7a9ymx38yg9vrg3w6gmxs-emacs-gcc-28.0.91/share/emacs/2=
8.0.91/lisp/emacs-lisp/let-alist

Features:
(shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs
rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util rmail
rmail-loaddefs auth-source cl-seq eieio eieio-core cl-macs
eieio-loaddefs password-cache json map text-property-search time-date
subr-x seq byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies
mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs
cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils
iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks
lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd
tool-bar dnd fontset image regexp-opt fringe tabulated-list replace
newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar
rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock
font-lock syntax font-core term/tty-colors frame minibuffer cl-generic
cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese composite emoji-zwj charscript
charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray
cl-preloaded nadvice button loaddefs faces cus-face macroexp files
window text-properties overlay sha1 md5 base64 format env code-pages
mule custom widget hashtable-print-readable backquote threads dbusbind
inotify dynamic-setting system-font-setting font-render-setting cairo
move-toolbar gtk x-toolkit x multi-tty make-network-process
native-compile emacs)

Memory information:
((conses 16 70501 6217)
 (symbols 48 6638 0)
 (strings 32 19836 2949)
 (string-bytes 1 766284)
 (vectors 16 14132)
 (vector-slots 8 299534 10510)
 (floats 8 23 29)
 (intervals 56 225 0)
 (buffers 992 10))


On Thu, Jan 20, 2022 at 2:13 PM Lars Ingebrigtsen <larsi@HIDDEN> wrote:

> =D0=95=D0=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9 =D0=9A=D1=83=D1=80=D0=BD=D0=B5=
=D0=B2=D1=81=D0=BA=D0=B8=D0=B9 <kurnevsky@HIDDEN> writes:
>
> > I have encountered a problem with emacs 28 - sometimes it skips the
> > first button press in a very specific case. To reproduce write the
> > following as a config file:
> >
> > (kill-buffer "*scratch*")
> >
> > Start emacs daemon with: emacs -Q -l this_init_file.el --daemon
> > Launch emacs client with: emacsclient -nw some_file.txt
> > Try to type some key, like 'x', and you will see 'x is undefined'
>
> I'm unable to reproduce this in Emacs 28 on Debian/bookworm.  Can you
> include the information that `M-x report-emacs-bug' outputs?
>
> --
> (domestic pets only, the antidote for overdose, milk.)
>    bloggy blog: http://lars.ingebrigtsen.no
>


--=20
=D0=A1 =D1=83=D0=B2=D0=B0=D0=B6=D0=B5=D0=BD=D0=B8=D0=B5=D0=BC, =D0=9A=D1=83=
=D1=80=D0=BD=D0=B5=D0=B2=D1=81=D0=BA=D0=B8=D0=B9 =D0=95=D0=B2=D0=B3=D0=B5=
=D0=BD=D0=B8=D0=B9.

--000000000000b91db905d6042fee
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">In GNU Emacs 28.0.91 (build 1, x86_64-pc-linux-gnu, GTK+ V=
ersion 3.24.30, cairo version 1.16.0)<br>Repository revision: emacs-28.0.91=
<br>Repository branch: master<br>Windowing system distributor &#39;The X.Or=
g Foundation&#39;, version 11.0.12101003<br>System Description: NixOS 21.11=
 (Porcupine)<br><br>Configured using:<br>=C2=A0&#39;configure<br>=C2=A0--pr=
efix=3D/nix/store/1a8vlvdff3s7a9ymx38yg9vrg3w6gmxs-emacs-gcc-28.0.91<br>=C2=
=A0--disable-build-details --with-modules --with-x-toolkit=3Dgtk3 --with-xf=
t<br>=C2=A0--with-cairo --with-native-compilation&#39;<br><br>Configured fe=
atures:<br>CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG =
JSON<br>LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP N=
OTIFY<br>INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL=
_BARS<br>X11 XDBE XIM XPM GTK3 ZLIB<br><br>Important settings:<br>=C2=A0 va=
lue of $EMACSLOADPATH: /nix/store/dywjh8zmfvyxsppx613yh8zyfcxmcxqr-emacs-pa=
ckages-deps/share/emacs/site-lisp:<br>=C2=A0 value of $EMACSNATIVELOADPATH:=
 /nix/store/dywjh8zmfvyxsppx613yh8zyfcxmcxqr-emacs-packages-deps/share/emac=
s/native-lisp::<br>=C2=A0 value of $LANG: en_US.UTF-8<br>=C2=A0 locale-codi=
ng-system: utf-8-unix<br><br>Major mode: Messages<br><br>Minor modes in eff=
ect:<br>=C2=A0 tooltip-mode: t<br>=C2=A0 global-eldoc-mode: t<br>=C2=A0 sho=
w-paren-mode: t<br>=C2=A0 electric-indent-mode: t<br>=C2=A0 mouse-wheel-mod=
e: t<br>=C2=A0 tool-bar-mode: t<br>=C2=A0 menu-bar-mode: t<br>=C2=A0 file-n=
ame-shadow-mode: t<br>=C2=A0 global-font-lock-mode: t<br>=C2=A0 font-lock-m=
ode: t<br>=C2=A0 blink-cursor-mode: t<br>=C2=A0 auto-composition-mode: t<br=
>=C2=A0 auto-encryption-mode: t<br>=C2=A0 auto-compression-mode: t<br>=C2=
=A0 buffer-read-only: t<br>=C2=A0 line-number-mode: t<br>=C2=A0 indent-tabs=
-mode: t<br>=C2=A0 transient-mark-mode: t<br><br>Load-path shadows:<br>/nix=
/store/dywjh8zmfvyxsppx613yh8zyfcxmcxqr-emacs-packages-deps/share/emacs/sit=
e-lisp/elpa/transient-20220117.1122/transient hides /nix/store/1a8vlvdff3s7=
a9ymx38yg9vrg3w6gmxs-emacs-gcc-28.0.91/share/emacs/28.0.91/lisp/transient<b=
r>/nix/store/dywjh8zmfvyxsppx613yh8zyfcxmcxqr-emacs-packages-deps/share/ema=
cs/site-lisp/elpa/let-alist-1.0.6/let-alist hides /nix/store/1a8vlvdff3s7a9=
ymx38yg9vrg3w6gmxs-emacs-gcc-28.0.91/share/emacs/28.0.91/lisp/emacs-lisp/le=
t-alist<br><br>Features:<br>(shadow sort mail-extr emacsbug message rmc pun=
y dired dired-loaddefs<br>rfc822 mml mml-sec epa derived epg rfc6068 epg-co=
nfig gnus-util rmail<br>rmail-loaddefs auth-source cl-seq eieio eieio-core =
cl-macs<br>eieio-loaddefs password-cache json map text-property-search time=
-date<br>subr-x seq byte-opt gv bytecomp byte-compile cconv mm-decode mm-bo=
dies<br>mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loa=
ddefs<br>cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail=
-utils<br>iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-ho=
oks<br>lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x=
-dnd<br>tool-bar dnd fontset image regexp-opt fringe tabulated-list replace=
<br>newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar=
<br>rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock<br>=
font-lock syntax font-core term/tty-colors frame minibuffer cl-generic<br>c=
ham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao<br>k=
orean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech<br>europ=
ean ethiopic indian cyrillic chinese composite emoji-zwj charscript<br>char=
prop case-table epa-hook jka-cmpr-hook help simple abbrev obarray<br>cl-pre=
loaded nadvice button loaddefs faces cus-face macroexp files<br>window text=
-properties overlay sha1 md5 base64 format env code-pages<br>mule custom wi=
dget hashtable-print-readable backquote threads dbusbind<br>inotify dynamic=
-setting system-font-setting font-render-setting cairo<br>move-toolbar gtk =
x-toolkit x multi-tty make-network-process<br>native-compile emacs)<br><br>=
Memory information:<br>((conses 16 70501 6217)<br>=C2=A0(symbols 48 6638 0)=
<br>=C2=A0(strings 32 19836 2949)<br>=C2=A0(string-bytes 1 766284)<br>=C2=
=A0(vectors 16 14132)<br>=C2=A0(vector-slots 8 299534 10510)<br>=C2=A0(floa=
ts 8 23 29)<br>=C2=A0(intervals 56 225 0)<br>=C2=A0(buffers 992 10))<br><br=
></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr"=
>On Thu, Jan 20, 2022 at 2:13 PM Lars Ingebrigtsen &lt;<a href=3D"mailto:la=
rsi@HIDDEN">larsi@HIDDEN</a>&gt; wrote:<br></div><blockquote class=3D"g=
mail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204=
,204,204);padding-left:1ex">=D0=95=D0=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9 =D0=
=9A=D1=83=D1=80=D0=BD=D0=B5=D0=B2=D1=81=D0=BA=D0=B8=D0=B9 &lt;<a href=3D"ma=
ilto:kurnevsky@HIDDEN" target=3D"_blank">kurnevsky@HIDDEN</a>&gt; wri=
tes:<br>
<br>
&gt; I have encountered a problem with emacs 28 - sometimes it skips the<br=
>
&gt; first button press in a very specific case. To reproduce write the<br>
&gt; following as a config file:<br>
&gt;<br>
&gt; (kill-buffer &quot;*scratch*&quot;)<br>
&gt;<br>
&gt; Start emacs daemon with: emacs -Q -l this_init_file.el --daemon<br>
&gt; Launch emacs client with: emacsclient -nw some_file.txt<br>
&gt; Try to type some key, like &#39;x&#39;, and you will see &#39;x is und=
efined&#39;<br>
<br>
I&#39;m unable to reproduce this in Emacs 28 on Debian/bookworm.=C2=A0 Can =
you<br>
include the information that `M-x report-emacs-bug&#39; outputs?<br>
<br>
-- <br>
(domestic pets only, the antidote for overdose, milk.)<br>
=C2=A0 =C2=A0bloggy blog: <a href=3D"http://lars.ingebrigtsen.no" rel=3D"no=
referrer" target=3D"_blank">http://lars.ingebrigtsen.no</a><br>
</blockquote></div><br clear=3D"all"><br>-- <br><div dir=3D"ltr" class=3D"g=
mail_signature">=D0=A1 =D1=83=D0=B2=D0=B0=D0=B6=D0=B5=D0=BD=D0=B8=D0=B5=D0=
=BC, =D0=9A=D1=83=D1=80=D0=BD=D0=B5=D0=B2=D1=81=D0=BA=D0=B8=D0=B9 =D0=95=D0=
=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9.<br></div>

--000000000000b91db905d6042fee--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#53391; Package emacs. Full text available.
Added tag(s) moreinfo. Request was from Lars Ingebrigtsen <larsi@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 53391 <at> debbugs.gnu.org:


Received: (at 53391) by debbugs.gnu.org; 20 Jan 2022 14:13:19 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jan 20 09:13:19 2022
Received: from localhost ([127.0.0.1]:56916 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nAYBj-0004xx-G0
	for submit <at> debbugs.gnu.org; Thu, 20 Jan 2022 09:13:19 -0500
Received: from quimby.gnus.org ([95.216.78.240]:49926)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1nAYBi-0004xg-2g
 for 53391 <at> debbugs.gnu.org; Thu, 20 Jan 2022 09:13:18 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID
 :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID:
 Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
 :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe:
 List-Post:List-Owner:List-Archive;
 bh=J+os52JJEgWmshOw3tuO1lsG0r6HsW+M/o/+eaUlfWQ=; b=PC7HDpbfMure6gV7Mv3QfqwxlO
 6SHOVaZ623P8D57lVFQFaylLhsNKn+G3la2t6N5wBx4MfF/zq8FJ1k0o9tT6wbzKOxvVebpVgsQI4
 Uup/o720Y1DO0+S/tr52Lfd5fDSni2E4A6r1LulNchC6BW2SnVtxi8kAYETBzWt1i8vw=;
Received: from [84.212.220.105] (helo=giant)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1nAYBZ-0006Sa-5w; Thu, 20 Jan 2022 15:13:11 +0100
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: =?utf-8?B?0JXQstCz0LXQvdC40Lkg0JrRg9GA0L3QtdCy0YHQutC40Lk=?=
 <kurnevsky@HIDDEN>
Subject: Re: bug#53391: First keypress doesn't work when scratch buffer is
 killed in emacs 28, emacs daemon + emacs client is used
References: <CAOEHfohCa0FALqU6wd4HFJ3iEGPAXJGgYqMt44S-vBE9YrJ1fQ@HIDDEN>
X-Now-Playing: Joni Mitchell's _Archives: The Early Years (4)_: "Morning
 Morgantown"
Date: Thu, 20 Jan 2022 15:13:07 +0100
In-Reply-To: <CAOEHfohCa0FALqU6wd4HFJ3iEGPAXJGgYqMt44S-vBE9YrJ1fQ@HIDDEN>
 (=?utf-8?B?ItCV0LLQs9C10L3QuNC5INCa0YPRgNC90LXQstGB0LrQuNC5Iidz?= message
 of "Thu, 20 Jan 2022 13:49:19 +0000")
Message-ID: <87a6fqzea4.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 
 Content preview:  Евгений Курневский <kurnevsky@HIDDEN>
   writes: > I have encountered a problem with emacs 28 - sometimes it skips
   the > first button press in a very specific case. To reproduce write the >
    following as a config file: > > (kill-buffer "*scratch*") > [...] 
 
 Content analysis details:   (-2.9 points, 5.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
                             [score: 0.0000]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 53391
Cc: 53391 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

=D0=95=D0=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9 =D0=9A=D1=83=D1=80=D0=BD=D0=B5=
=D0=B2=D1=81=D0=BA=D0=B8=D0=B9 <kurnevsky@HIDDEN> writes:

> I have encountered a problem with emacs 28 - sometimes it skips the
> first button press in a very specific case. To reproduce write the
> following as a config file:
>
> (kill-buffer "*scratch*")
>
> Start emacs daemon with: emacs -Q -l this_init_file.el --daemon
> Launch emacs client with: emacsclient -nw some_file.txt
> Try to type some key, like 'x', and you will see 'x is undefined'

I'm unable to reproduce this in Emacs 28 on Debian/bookworm.  Can you
include the information that `M-x report-emacs-bug' outputs?

--=20
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#53391; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 20 Jan 2022 13:49:53 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jan 20 08:49:53 2022
Received: from localhost ([127.0.0.1]:56851 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nAXp2-000255-JN
	for submit <at> debbugs.gnu.org; Thu, 20 Jan 2022 08:49:53 -0500
Received: from lists.gnu.org ([209.51.188.17]:42338)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <kurnevsky@HIDDEN>) id 1nAXp0-00024v-RC
 for submit <at> debbugs.gnu.org; Thu, 20 Jan 2022 08:49:51 -0500
Received: from eggs.gnu.org ([209.51.188.92]:59336)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <kurnevsky@HIDDEN>)
 id 1nAXp0-0006Xp-0d
 for bug-gnu-emacs@HIDDEN; Thu, 20 Jan 2022 08:49:50 -0500
Received: from [2607:f8b0:4864:20::b33] (port=40619
 helo=mail-yb1-xb33.google.com)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <kurnevsky@HIDDEN>)
 id 1nAXom-0005mL-VC
 for bug-gnu-emacs@HIDDEN; Thu, 20 Jan 2022 08:49:40 -0500
Received: by mail-yb1-xb33.google.com with SMTP id 23so17897154ybf.7
 for <bug-gnu-emacs@HIDDEN>; Thu, 20 Jan 2022 05:49:31 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=mime-version:from:date:message-id:subject:to;
 bh=iRFrpWTZT6AAdlBZjGSkfmYFZMqXoNzQA2GvPn9RZuU=;
 b=ePTCPYT1fV/nzo2RG+3RIlVYf3Cl3zOhErYQF8IikCnINVJbUXQ6uJHsLdQoNvpqss
 ZChlpi99/bXWzd604wNixJZVfYrFGPokcjSn6/ef9VzvXezTidYO2iN3Q5FDCupkqcxB
 4x2A4DXaZj9mjXGZf9tJpGFR/IXXzpRBDmCeBhHAI7ZXoxUDLX0VqNp8cEqZmOl6awSZ
 k+BOOTeXF4fHJ74eqdVrxaBRN8ibmlHbZqy3lxKpYrimeWnCxY2gihNzyKZnRd7YLIii
 077SCVtELROI9wg1EqaFDOlSFjtp61AT0V23SJemLZpjl6VIIcq/be7jHDDrXn6Bxf8A
 wEuQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
 bh=iRFrpWTZT6AAdlBZjGSkfmYFZMqXoNzQA2GvPn9RZuU=;
 b=P9XquhSgb99TA9oVgvIJx1usP6prNnr9qYU7TVDX41ex2SQ3ZlaxShtGGb6+ZmVjOY
 fPcP34559wlZ+uJCKS/RYGVk9dwxobRjHndvEbxuvRNrWXl4f5yC7pRnQN/i0+DLxCXk
 hDf3YSk9MGeOdYGpXAOlsGu5rOSpflx1VMKK00fUwrNgaTKx/Teob31uerDbPpA8x3Mk
 KWcgRWRnXfpmFo932dYbAbbpOPvHUa85rJYfwGcX0LD4vVsy6OnbUXsHQ54vNfNDXLXd
 FjXOfbq8cgZbJPcyb3GG7vWDewmE/R75awR4g9h8zQ9CY754KE1ie2oAF+mMJZgj834P
 4sIg==
X-Gm-Message-State: AOAM531aIMxNHgOi3Mu8PCeBj9jenN+Bz71/JemOR/aybk1KsCKb4pbq
 j+C1yvHtdwBca2qnJ2i7ZaBI/ePlfKljlLdRH47oxDVZ
X-Google-Smtp-Source: ABdhPJxZGOiCf7smB9K2Tvhg92Auwue4XWaLVdrN85X34QG3lOy4dxOoru8aMGkxYVCGmrkK/4LS+S6CsjbX6Fz45cU=
X-Received: by 2002:a25:6b4b:: with SMTP id o11mr16348300ybm.412.1642686570710; 
 Thu, 20 Jan 2022 05:49:30 -0800 (PST)
MIME-Version: 1.0
From: =?UTF-8?B?0JXQstCz0LXQvdC40Lkg0JrRg9GA0L3QtdCy0YHQutC40Lk=?=
 <kurnevsky@HIDDEN>
Date: Thu, 20 Jan 2022 13:49:19 +0000
Message-ID: <CAOEHfohCa0FALqU6wd4HFJ3iEGPAXJGgYqMt44S-vBE9YrJ1fQ@HIDDEN>
Subject: First keypress doesn't work when scratch buffer is killed in emacs
 28, emacs daemon + emacs client is used
To: bug-gnu-emacs@HIDDEN
Content-Type: multipart/alternative; boundary="00000000000086495205d603c599"
X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::b33
 (failed)
Received-SPF: pass client-ip=2607:f8b0:4864:20::b33;
 envelope-from=kurnevsky@HIDDEN; helo=mail-yb1-xb33.google.com
X-Spam_score_int: -12
X-Spam_score: -1.3
X-Spam_bar: -
X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 HTML_MESSAGE=0.001, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001,
 RDNS_NONE=0.793, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -0.1 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

--00000000000086495205d603c599
Content-Type: text/plain; charset="UTF-8"

I have encountered a problem with emacs 28 - sometimes it skips the first
button press in a very specific case. To reproduce write the following as a
config file:

(kill-buffer "*scratch*")

Start emacs daemon with: emacs -Q -l this_init_file.el --daemon
Launch emacs client with: emacsclient -nw some_file.txt
Try to type some key, like 'x', and you will see 'x is undefined'

Probably I shouldn't have killed the scratch buffer in the first place, so
I'm fine if it's not considered as a bug. But this used to work fine with
emacs 27 and causes this strange behavior with emacs 28 which was
unexpected to me.

Emacs version I use: 28.0.91

Initially reported here: https://github.com/jwiegley/use-package/issues/973

--00000000000086495205d603c599
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>I have encountered a problem with emacs 28 - sometime=
s it skips the first button press in a very specific case. To reproduce wri=
te the following as a config file:</div><br><div>(kill-buffer &quot;*scratc=
h*&quot;)<br></div><div><br></div><div>Start emacs daemon with: emacs -Q -l=
 this_init_file.el --daemon</div><div>Launch emacs client with: emacsclient=
 -nw some_file.txt</div><div>Try to type some key, like &#39;x&#39;, and yo=
u will see &#39;x is undefined&#39;<br></div><div><br></div><div>Probably I=
 shouldn&#39;t have killed the scratch buffer in the first place, so I&#39;=
m fine if it&#39;s not considered as a bug. But this used to work fine with=
 emacs 27 and causes this strange behavior with emacs 28 which was unexpect=
ed to me.</div><div><br></div><div>Emacs version I use: 28.0.91</div><div><=
br></div><div>Initially reported here: <a href=3D"https://github.com/jwiegl=
ey/use-package/issues/973">https://github.com/jwiegley/use-package/issues/9=
73</a><br></div></div>

--00000000000086495205d603c599--




Acknowledgement sent to Евгений Курневский <kurnevsky@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#53391; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 19 Feb 2022 13:00:03 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.