unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Евгений Курневский" <kurnevsky@gmail.com>
To: 53391@debbugs.gnu.org
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	[thread overview]
Message-ID: <CAOEHfohCa0FALqU6wd4HFJ3iEGPAXJGgYqMt44S-vBE9YrJ1fQ@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 718 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 995 bytes --]

             reply	other threads:[~2022-01-20 13:49 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-20 13:49 Евгений Курневский [this message]
2022-01-20 14:13 ` bug#53391: First keypress doesn't work when scratch buffer is killed in emacs 28, emacs daemon + emacs client is used Lars Ingebrigtsen
2022-01-20 14:19   ` Евгений Курневский
2022-01-20 20:32     ` Eli Zaretskii
2022-01-20 20:42       ` Евгений Курневский
2022-01-21  9:12         ` Lars Ingebrigtsen
2022-01-21  9:18           ` Евгений Курневский
2022-01-21  9:25             ` Lars Ingebrigtsen
2022-01-21  9:32               ` Евгений Курневский
2022-01-21 10:01                 ` Евгений Курневский
2022-01-21 11:55                   ` Eli Zaretskii
2022-01-21 12:10                     ` Евгений Курневский
2022-01-21 12:57                       ` Eli Zaretskii
2022-01-21 13:05                         ` Евгений Курневский
2022-01-21 11:46                 ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAOEHfohCa0FALqU6wd4HFJ3iEGPAXJGgYqMt44S-vBE9YrJ1fQ@mail.gmail.com \
    --to=kurnevsky@gmail.com \
    --cc=53391@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).