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: Thu, 20 Jan 2022 13:49:19 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000086495205d603c599" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25767"; mail-complaints-to="usenet@ciao.gmane.io" To: 53391@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jan 20 20:31:52 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 1nAdA0-0006YP-1p for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 20 Jan 2022 20:31:52 +0100 Original-Received: from localhost ([::1]:42532 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nAd9y-0000Og-PR for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 20 Jan 2022 14:31:50 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:59422) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nAXpD-0006mq-5w for bug-gnu-emacs@gnu.org; Thu, 20 Jan 2022 08:50:05 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35715) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nAXpC-0005q5-Rz for bug-gnu-emacs@gnu.org; Thu, 20 Jan 2022 08:50:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nAXpC-00025b-HS for bug-gnu-emacs@gnu.org; Thu, 20 Jan 2022 08:50: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: Thu, 20 Jan 2022 13:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 53391 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.16426865938010 (code B ref -1); Thu, 20 Jan 2022 13:50:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 20 Jan 2022 13:49:53 +0000 Original-Received: from localhost ([127.0.0.1]:56851 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nAXp2-000255-JN for submit@debbugs.gnu.org; Thu, 20 Jan 2022 08:49:53 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:42338) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nAXp0-00024v-RC for submit@debbugs.gnu.org; Thu, 20 Jan 2022 08:49:51 -0500 Original-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 ) id 1nAXp0-0006Xp-0d for bug-gnu-emacs@gnu.org; Thu, 20 Jan 2022 08:49:50 -0500 Original-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 ) id 1nAXom-0005mL-VC for bug-gnu-emacs@gnu.org; Thu, 20 Jan 2022 08:49:40 -0500 Original-Received: by mail-yb1-xb33.google.com with SMTP id 23so17897154ybf.7 for ; 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) 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@gmail.com; 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-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:224686 Archived-At: --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
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:

(kill-buffer "*scratc= h*")

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 yo= u 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 unexpect= ed to me.

Emacs version I use: 28.0.91
<= br>
--00000000000086495205d603c599--