From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#47150: [External] : bug#47150: 28.0.50; Incorrect major-mode in minibuffer Date: Mon, 12 Apr 2021 16:15:22 +0000 Message-ID: References: <0f564ae1-ab0a-4e0f-a436-68f29b71d8a9@www.fastmail.com> <8cbe7629-2091-45d3-9424-46444d7a4633@www.fastmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29236"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "47150@debbugs.gnu.org" <47150@debbugs.gnu.org>, Sheng Yang To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Apr 12 18:16:17 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 1lVzEV-0007U9-Do for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 12 Apr 2021 18:16:15 +0200 Original-Received: from localhost ([::1]:45908 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lVzEU-0004Cm-Ef for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 12 Apr 2021 12:16:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42992) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lVzEI-0004Az-89 for bug-gnu-emacs@gnu.org; Mon, 12 Apr 2021 12:16:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46279) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lVzEH-00087u-V0 for bug-gnu-emacs@gnu.org; Mon, 12 Apr 2021 12:16:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lVzEH-0003Rp-Q1 for bug-gnu-emacs@gnu.org; Mon, 12 Apr 2021 12:16:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 12 Apr 2021 16:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47150 X-GNU-PR-Package: emacs Original-Received: via spool by 47150-submit@debbugs.gnu.org id=B47150.161824413113212 (code B ref 47150); Mon, 12 Apr 2021 16:16:01 +0000 Original-Received: (at 47150) by debbugs.gnu.org; 12 Apr 2021 16:15:31 +0000 Original-Received: from localhost ([127.0.0.1]:57824 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lVzDn-0003R1-1Q for submit@debbugs.gnu.org; Mon, 12 Apr 2021 12:15:31 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:25439 helo=mail.muc.de) by debbugs.gnu.org with smtp (Exim 4.84_2) (envelope-from ) id 1lVzDl-0003Qo-JL for 47150@debbugs.gnu.org; Mon, 12 Apr 2021 12:15:30 -0400 Original-Received: (qmail 25399 invoked by uid 3782); 12 Apr 2021 16:15:22 -0000 Original-Received: from acm.muc.de (p4fe15ca4.dip0.t-ipconnect.de [79.225.92.164]) (using STARTTLS) by colin.muc.de (tmda-ofmipd) with ESMTP; Mon, 12 Apr 2021 18:15:22 +0200 Original-Received: (qmail 8223 invoked by uid 1000); 12 Apr 2021 16:15:22 -0000 Content-Disposition: inline In-Reply-To: X-Submission-Agent: TMDA/1.3.x (Ph3nix) X-Primary-Address: acm@muc.de 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:203915 Archived-At: Hello, Stefan. On Mon, Apr 12, 2021 at 10:01:28 -0400, Stefan Monnier wrote: > >> To sum up, the minibuffer will always be in `minibuffer-mode', > >> regardless of whether it is active or inactive. > Please don't do that. Make `minibuffer-mode` be the *parent* mode, yes. > But keep `minibuffer-inactive-mode` as a separate major mode. Why? Until very recently (? 2 months ago), minibuffer-inactive-mode served for both active and inactive MBs. The idea is simply to rename that mode to minibuffer-mode (with aliases for the old names). The idea here is to avoid the proliferation of unneeded major modes. We don't seem to need two distinct modes here for the minibuffer. > >> I think this will enable you to solve the problems you have. > But it would be a regression since it would get rid of > `minibuffer-inactive-mode`. No, it would rename it; the only difference between -active- and -inactive- would be the local key map in force. This would revert to minibuffer-mode-map (formerly known as ...-inactive-...) at the termination of the minibuffer operation. This is pretty much, but not quite, the same as how things were up until recently. > Stefan -- Alan Mackenzie (Nuremberg, Germany).