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: Sat, 08 May 2021 11:26:44 +0300 Message-ID: <87h7jdocl7.fsf@gmail.com> References: <87h7jg7z53.fsf@gmail.com> <531453ddd6cc9bc89ad2@heytings.org> <878s4q1u2e.fsf@gmail.com> <9d2af8183134a906cbe8@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="18946"; 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 Sat May 08 10:27:10 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 1lfIIo-0004na-D6 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 08 May 2021 10:27:10 +0200 Original-Received: from localhost ([::1]:41476 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lfIIm-0003DB-Tc for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 08 May 2021 04:27:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41540) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lfIIg-0003D2-ON for bug-gnu-emacs@gnu.org; Sat, 08 May 2021 04:27:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37282) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lfIIg-0005zZ-H4 for bug-gnu-emacs@gnu.org; Sat, 08 May 2021 04:27:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lfIIg-0001gs-D2 for bug-gnu-emacs@gnu.org; Sat, 08 May 2021 04:27: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: Sat, 08 May 2021 08:27: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.16204624166488 (code B ref 48254); Sat, 08 May 2021 08:27:02 +0000 Original-Received: (at 48254) by debbugs.gnu.org; 8 May 2021 08:26:56 +0000 Original-Received: from localhost ([127.0.0.1]:48828 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lfIIZ-0001ga-OB for submit@debbugs.gnu.org; Sat, 08 May 2021 04:26:55 -0400 Original-Received: from mail-wr1-f44.google.com ([209.85.221.44]:41519) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lfIIX-0001gR-KA for 48254@debbugs.gnu.org; Sat, 08 May 2021 04:26:54 -0400 Original-Received: by mail-wr1-f44.google.com with SMTP id d11so11492981wrw.8 for <48254@debbugs.gnu.org>; Sat, 08 May 2021 01:26:53 -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=KsxB73hF1Om4KtmwhQF9f7epC6XHahoKzQ7b5t0yUGE=; b=t8zAGAp/syOfXYR8PwXqhHlLc6rrNnv9SvPyRPBFtCeNq65piIzxgwG49W9GiP7ssd mwRCjNrI0+gxJE54lVkpC4YNYGGI9AYujEvKlWNxUtGMwL7SmkyLh6oFoXqbFvLCVyUq nCrnD2VzJCcDELU3PJnPn1ifOEgLhVcnrs/CqxK5FBnkk2xtIr3mRgI5trk9THMj4uUD k8+yT9TGz0A7mPkkjSwDxbyncpCXLvYOkTM59zeDTUZwO9hpt08Gu7lFTmhn6QhfoUuJ DUB1IiTQKUSrEDtcUtHYZvAi3P6lpdbXWfwHEQd13ztH6qwKVJFTe3zvPOwkbLRWFmo3 7ZrQ== 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=KsxB73hF1Om4KtmwhQF9f7epC6XHahoKzQ7b5t0yUGE=; b=Uj6n08t1qrJHE7vLPK7k3IHWUFPDcDC4jI176LfIIu8BA0x1HuyZTWZGQoy56FZcUJ fXuSwGnwvY+giaZf4q3rzUeCxdExt+UfEvejV+KJd4ivSxxUSRigPU16MTRm9df38pb1 dkPEnMmBOKYLEnpIMm8hSGRp0lPUjB8jMNJFDu4BwqILY+w/fHFrpFPxtUsmgexkfRm4 yo8KDwSlBtOX768eUi7VvDglzOvTolZC3zriQa5GbzdqWZEOr0Apx+4OLBRQc2pzX0is uL0mV++ZpVzlcxONok5ATStRW0XOlVV9M8q9zH536B3LJFm49Cmxh7wFVZAYtST5KrXv 0Uyw== X-Gm-Message-State: AOAM5302jHfDoa0VQr6w/o26seD6HmZ9vbWEf5Qh/dcZJdxJKEvrtgx0 NcYnai/ncj7FHBMhFthPdb69dbRycDREPg== X-Google-Smtp-Source: ABdhPJx7N9giEwdM+iRdlUC0pRh6vLfXQqdURkWsUt+NCkOeJFiyymRzvmpnnakrs1kOr9fVckE7Sw== X-Received: by 2002:a5d:4c91:: with SMTP id z17mr3418336wrs.349.1620462407188; Sat, 08 May 2021 01:26:47 -0700 (PDT) Original-Received: from arch-max ([109.251.233.9]) by smtp.gmail.com with ESMTPSA id k62sm3266874wme.30.2021.05.08.01.26.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 08 May 2021 01:26:46 -0700 (PDT) In-Reply-To: <9d2af8183134a906cbe8@heytings.org> (Gregory Heytings's message of "Fri, 07 May 2021 15:28:17 +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:205989 Archived-At: Ok, let's try next recipe. The content of .emacs file: (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"))) Then: - Modify some file buffer. - Press 'C-x C-c' - You will be prompted with: "Save file ... (y, n, ., q, ...)" - Press "q" as in qwerty layout. This will quit the prompt, meaning that the actual layout is qwerty. But: - M-: RET (y-or-n-p "test: ") RET - then press "y" as in dvorak layout, this is "t" letter in qwerty. This will exit the prompt, meaning that the actual layout is dvorak. So in each case I had to guess, which layout is active to actually answer the prompt. Another case. I use 'project.el'. When you select the project with `C-x p p`, you are prompted with a menu like: [f] Find file [g] Find regexp [d] Dired ... Previously this menu used to respect qwerty layout only. I re-build Emacs approximately once in 1-2 weeks and since some recent build it started to respect only dvorak keys. I don't have strong opinion here, but I think this is wrong. I think "one letter prompts" should ignore current input methods, because they are essentially keybindings just with modifier key omitted. An user with Japanese input method won't be able to answer any of the prompt unless she explicitly resets inputh method.