From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?=D0=95=D0=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9_?= =?UTF-8?Q?=D0=9A=D1=83=D1=80=D0=BD=D0=B5=D0=B2=D1=81=D0=BA=D0=B8=D0=B9?= Newsgroups: gmane.emacs.bugs Subject: bug#53391: First keypress doesn't work when scratch buffer is killed in emacs 28, emacs daemon + emacs client is used Date: Fri, 21 Jan 2022 12:10:42 +0000 Message-ID: References: <87a6fqzea4.fsf@gnus.org> <83k0eup2pw.fsf@gnu.org> <87v8ydwiyr.fsf@gnus.org> <878rv9wicd.fsf@gnus.org> <83zgnpnw0w.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000af683c05d6168207" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31267"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Lars Ingebrigtsen , 53391@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jan 21 13:16:26 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nAsqA-0007uP-FL for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 21 Jan 2022 13:16:26 +0100 Original-Received: from localhost ([::1]:42460 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nAsq9-0003ur-4S for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 21 Jan 2022 07:16:25 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:48068) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nAslu-0008I6-Ul for bug-gnu-emacs@gnu.org; Fri, 21 Jan 2022 07:12:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39378) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nAslu-0007Px-8F for bug-gnu-emacs@gnu.org; Fri, 21 Jan 2022 07:12:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nAslu-0007B2-54 for bug-gnu-emacs@gnu.org; Fri, 21 Jan 2022 07:12:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?=D0=95=D0=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9_?= =?UTF-8?Q?=D0=9A=D1=83=D1=80=D0=BD=D0=B5=D0=B2=D1=81=D0=BA=D0=B8=D0=B9?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 21 Jan 2022 12:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53391 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 53391-submit@debbugs.gnu.org id=B53391.164276706127479 (code B ref 53391); Fri, 21 Jan 2022 12:12:02 +0000 Original-Received: (at 53391) by debbugs.gnu.org; 21 Jan 2022 12:11:01 +0000 Original-Received: from localhost ([127.0.0.1]:60510 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nAskv-00078z-DG for submit@debbugs.gnu.org; Fri, 21 Jan 2022 07:11:01 -0500 Original-Received: from mail-yb1-f180.google.com ([209.85.219.180]:42775) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nAskt-00078f-6u for 53391@debbugs.gnu.org; Fri, 21 Jan 2022 07:10:59 -0500 Original-Received: by mail-yb1-f180.google.com with SMTP id m6so26947909ybc.9 for <53391@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) In-Reply-To: <83zgnpnw0w.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:224761 Archived-At: --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 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 > > Date: Fri, 21 Jan 2022 10:01:23 +0000 > > Cc: Eli Zaretskii , 53391@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
= > 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@gmail.com>
> Date: Fri, 21 Jan 2022 10:01:23 +0000
> Cc: Eli Zaretskii <eliz@gnu.org>, 53391@debbugs.gnu.org
>
> Could it be some kind of a race? When originally tried with my complet= e config I had different results with
> and without (require 'easy-mmode) before killing scratch buffer. P= robably 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?


--
=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--