From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: max.brieiev@gmail.com Newsgroups: gmane.emacs.bugs Subject: bug#48254: 28.0.50; minibuffer does not show the prompt of a command on first invocation Date: Fri, 07 May 2021 17:45:29 +0300 Message-ID: <878s4q1u2e.fsf@gmail.com> References: <87h7jg7z53.fsf@gmail.com> <531453ddd6cc9bc89ad2@heytings.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38091"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 48254@debbugs.gnu.org To: Gregory Heytings Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri May 07 16:58:58 2021 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 1lf1wQ-0009mt-Lw for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 07 May 2021 16:58:58 +0200 Original-Received: from localhost ([::1]:46384 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lf1wP-0007AR-Kq for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 07 May 2021 10:58:57 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39726) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lf1jx-0000py-VB for bug-gnu-emacs@gnu.org; Fri, 07 May 2021 10:46:06 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:32796) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lf1ju-0001uf-Jf for bug-gnu-emacs@gnu.org; Fri, 07 May 2021 10:46:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lf1ju-0007c4-Gq for bug-gnu-emacs@gnu.org; Fri, 07 May 2021 10:46:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: max.brieiev@gmail.com Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 07 May 2021 14:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48254 X-GNU-PR-Package: emacs Original-Received: via spool by 48254-submit@debbugs.gnu.org id=B48254.162039874229251 (code B ref 48254); Fri, 07 May 2021 14:46:02 +0000 Original-Received: (at 48254) by debbugs.gnu.org; 7 May 2021 14:45:42 +0000 Original-Received: from localhost ([127.0.0.1]:44341 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lf1ja-0007bj-IX for submit@debbugs.gnu.org; Fri, 07 May 2021 10:45:42 -0400 Original-Received: from mail-lj1-f175.google.com ([209.85.208.175]:34367) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lf1jY-0007bd-PV for 48254@debbugs.gnu.org; Fri, 07 May 2021 10:45:41 -0400 Original-Received: by mail-lj1-f175.google.com with SMTP id p12so11903261ljg.1 for <48254@debbugs.gnu.org>; Fri, 07 May 2021 07:45:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=lWRJoAtHJvqvEE0D2n0I+JRb5+BWw67f7leHBn9BC+U=; b=t/r0d3tmCDECMN9X3mo8s50nu1PAOjKdqNHTMdRA9O+4FHKWSBdljQn2p9okNPgJbh 1EoKm0xxo1uwAEL0rBpExo39w2+mjvP20OUfZtXNVmN5whjwdlfjQlKZFYyrksxw9C4Z AsbANkB5PhPj4e0MmT9tdOk/QxQmkUa7svy8dyqic3FhbYomPRz2Jlxep7ZXyFqIfe/W BXR9RKK9SrDknWKiITsDZfPSL9Hh4Bvd/oycJPgb+f5k3i1GvnF2QhXDwy4ZmzX9ykRY Udfc0aWW2shXNqsErqOJUQb4Y5w7tkYu2Mcfu7d4Dcg+85yAwf6CQhvyIFR9WdstPD4L OrCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=lWRJoAtHJvqvEE0D2n0I+JRb5+BWw67f7leHBn9BC+U=; b=nWOK6efiCPNURDkP+WYabsBpqUe1bVX0wY4bJZz2+V65GcS/R7QZg7T2EXoJQrRoKo YMI4zPQ3y/mxWC7p3zEcN1YDssytAm5hXURtw437HwPvQKJS/v7625ndB4TQDKa7LH2q n2FcNMlzKbObIQFd7rl1qXsG5fd0vDMqHjjN7tIkU4ukTMajDArl9J4DNaj+bbWA5YLc oCTYl4gn4NSc0J8o1S4kR5qr/G8DVJLuEnvIUTM9iN9sd4ZGfzjWWR6sPOvsIS6lGWB1 vCEaJrs9dm9h/DuNcuR5+tuj/F643OusBwBdcASEAeqfSDavaqziEEglNsy6qnIZknkY NLTw== X-Gm-Message-State: AOAM530eC29oERtWH8MAKtdVJdqJjlR+azvr5oRjhJCqObIi3XmqqJIc 7Rh1xWfT57sCyNkieoozAK5IxUkARK3nAA== X-Google-Smtp-Source: ABdhPJzURg7bHnGaH/DMNl3K+cqygBHwFYoxP+3nCdKcRkrynpTVZkyL317NvQvEk8O3Kj+lN83fNQ== X-Received: by 2002:a05:651c:201e:: with SMTP id s30mr7841675ljo.22.1620398732878; Fri, 07 May 2021 07:45:32 -0700 (PDT) Original-Received: from arch-max (host-176-37-1-68.b025.la.net.ua. [176.37.1.68]) by smtp.gmail.com with ESMTPSA id a30sm1386535lfo.24.2021.05.07.07.45.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 May 2021 07:45:31 -0700 (PDT) In-Reply-To: <531453ddd6cc9bc89ad2@heytings.org> (Gregory Heytings's message of "Thu, 06 May 2021 19:23:54 +0000") 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:205948 Archived-At: Gregory Heytings writes: > (add-hook 'change-major-mode-hook (lambda () (or (minibufferp) (set-input-method "english-dvorak")))) > (add-hook 'minibuffer-setup-hook (lambda () (set-input-method "english-dvorak"))) > ... > Does that solve the problem you have? Thanks, this solves the issue. But I have some other issues related to input methods, which I don't know how to reproduce reliably. Maybe you can give me some hints and I will report them as separate bugs. One issue is related to the prompts, where the input is a single key like "y" or "!", like the prompt shown when you have some modified buffers while exiting Emacs. Sometimes I have to press the key as it is laid on qwerty layout, but sometimes it is as on dvorak layout. This is quite annoying, since I always have to guess, which layout is active for the shown yes-no prompt. The other issue is probably somehow related to Edebug. I am learning elisp, so I often run Edebug just to learn how some functionality works. Once in a while, when some breakpoint is hit, something bad happens to Emacs in a way that each keymap that defines just basic characters (I mean without modifier bits), like Info buffer, or Edebug, or Gnus is turned to think that underlying layout is dvorak. So pressing "l" inside Info buffer runs actually 'Info-next' command, which is bound to "n", istead of going back in history. So to make keybindings operate normally again I have to press "C-\" in every buffer to reset input method. The other side effect of this is that read-only edebug buffer suddenly becomes editable and I can enter text there, though mode line still shows '%%'.