From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Sheng Yang" Newsgroups: gmane.emacs.bugs Subject: bug#47150: [External] : bug#47150: 28.0.50; Incorrect major-mode in minibuffer Date: Fri, 09 Apr 2021 03:57:01 -0500 Message-ID: <0f564ae1-ab0a-4e0f-a436-68f29b71d8a9@www.fastmail.com> References: <877dm9nsii.fsf@gmail.com> <40f3c845-ba30-4112-bb3c-9c06c1f106d3@www.fastmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=fe3f80cbb0984c43b668191968bd1984 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26712"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Cyrus-JMAP/3.5.0-alpha0-273-g8500d2492d-fm-20210323.002-g8500d249 Cc: "47150@debbugs.gnu.org" <47150@debbugs.gnu.org>, Alan Mackenzie To: "Drew Adams" , "Stefan Monnier" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Apr 09 10:58:22 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 1lUmy4-0006mf-6f for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 09 Apr 2021 10:58:20 +0200 Original-Received: from localhost ([::1]:39246 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lUmy3-0000CM-8x for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 09 Apr 2021 04:58:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53886) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lUmxm-00008D-5X for bug-gnu-emacs@gnu.org; Fri, 09 Apr 2021 04:58:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37514) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lUmxl-0003vQ-Up for bug-gnu-emacs@gnu.org; Fri, 09 Apr 2021 04:58:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lUmxl-0003Yi-TV for bug-gnu-emacs@gnu.org; Fri, 09 Apr 2021 04:58:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Sheng Yang" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 09 Apr 2021 08:58: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.161795865013629 (code B ref 47150); Fri, 09 Apr 2021 08:58:01 +0000 Original-Received: (at 47150) by debbugs.gnu.org; 9 Apr 2021 08:57:30 +0000 Original-Received: from localhost ([127.0.0.1]:49060 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lUmxF-0003Xk-Nq for submit@debbugs.gnu.org; Fri, 09 Apr 2021 04:57:30 -0400 Original-Received: from out1-smtp.messagingengine.com ([66.111.4.25]:46857) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lUmxD-0003XV-NM for 47150@debbugs.gnu.org; Fri, 09 Apr 2021 04:57:28 -0400 Original-Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 5B08A5C0103; Fri, 9 Apr 2021 04:57:22 -0400 (EDT) Original-Received: from imap2 ([10.202.2.52]) by compute6.internal (MEProxy); Fri, 09 Apr 2021 04:57:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= mime-version:message-id:in-reply-to:references:date:from:to:cc :subject:content-type; s=fm2; bh=MObfWssnmqdoxFT+3UhQ/0TlJvBziHo LIBtY/6Tuon4=; b=HKpgG1pHVshOWNTFMHGYWSqrFMFdx8xBDN21+VSjdZLS7eV qAAcG1MOngt0XadUzzOv8lqE47CPaNvMXq6VOtS3pwJhy1pJ/4Z3kNWjKC+8wDIo LPWzTziHaidnPQZYg3wLUMvUEVqHYYlPMs4bqjx6ZW3Tj1nmw8Dm372Sd2pxIkoz SAQDLaGrxsWsXtHeejH2lZu1jJJbB5N0WYtRmpAcwD0LcjqxSBIW336g3C2kkUGf E+UIy5vutj/kkHdvOBAH7uDmMF/RJ6r12xqIs6XEV8X5plNGAZzokkG6Jf62jYsO NPiCr4Yw8vOW/Dg/ZFDHdNi32VlAjVIFPd4QAlg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=MObfWs snmqdoxFT+3UhQ/0TlJvBziHoLIBtY/6Tuon4=; b=k3Yqy/Gp9/cje+THeT8gau lT6DcVJ6D2AIRnxD0ua/tqF9P1f3HmbEcotdclFk7RgbyUtiV6SeoBg3LJtMbg/U Pxr9avSaakQi3IQg/AP86tm0n2UnEFuOQwQPwMFfZi5C78PB3WF+1xhN2OCsUTB5 36s1yAyegH4nOlrsr8vwJCqpLgnFr2O9DovHQy9u2+jaunsq7vc8anbBSJYcrHr/ Q+48s+udFzmYy+hJ6SjhfDXHb1kQlzfKKZr00LUyidajd4PGHiXmFLBsJn5sAWu4 OhoeSerHOKFLAFt+izElhPu9yq1hGKneKpCCKET7ZZomejNjWgszN7a4+jh2NfnQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudekuddguddtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvffutgesrgdtreerreerjeenucfhrhhomhepfdfuhhgv nhhgucgjrghnghdfuceoshhthigrnhhgsehfrghsthhmrghilhdrtghomheqnecuggftrf grthhtvghrnhepheeluedtudffffegffeileettedvudeihefhvefgvdeivddttdeifeei geegveejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh epshhthigrnhhgsehfrghsthhmrghilhdrtghomh X-ME-Proxy: Original-Received: by mailuser.nyi.internal (Postfix, from userid 501) id B787DA00079; Fri, 9 Apr 2021 04:57:21 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface In-Reply-To: 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:203757 Archived-At: --fe3f80cbb0984c43b668191968bd1984 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable Any update/decision on this? The discussions have been inactive for more= than 2 weeks. On Mon, Mar 22, 2021, at 16:36, Drew Adams wrote: > > > Can I ask what's wrong with what I suggested: One mode, not two; j= ust > > > change the name and provide a helpful doc-string that covers both > > > active and inactive? > >=20 > > What's the benefit? Have you tried to implement it? >=20 > Is there really something to "implement"? >=20 > Rename `minibuffer-inactive-mode' to something > without "inactive". >=20 > Give it a doc string that says when inactive... > and when active.... We already have the former > part. The latter can just point out the keymaps > (which become links to their doc). >=20 > Benefit: Like what we have now - or after Alan's > change to fundamental-mode - but with better doc > and without a misleading mode name. >=20 > The behavior is already there, no? When inactive > we get the inactive key bindings. Otherwise, we > get the usual minibuffer keymaps. >=20 > IIUC, that's the case whether or not the "active" > state nominally uses `fundamental-mode', since the > minibuffer keymaps are still used. The difference > is (1) doc and (2) only one mode. >=20 > Feel free to let me know what I'm missing. >=20 Sheng Yang(=E6=9D=A8=E5=9C=A3), PhD Computer Science Department University of Maryland, College Park E-mail: styang@fastmail.com E-mail (old but still used): yangsheng6810@gmail.com --fe3f80cbb0984c43b668191968bd1984 Content-Type: text/html;charset=utf-8 Content-Transfer-Encoding: quoted-printable
Any update/deci= sion on this? The discussions have been inactive for more than 2 weeks.<= br>

On Mon, Mar 22, 2021, at 16:36, Drew Adams = wrote:
>= > Can I ask what's wrong with what I suggested: One mode, not two; j= ust
> > change the name and provide a helpful doc-st= ring that covers both
> > active and inactive?

> What's the benefit?  Have yo= u tried to implement it?

Is there really so= mething to "implement"?

Rename `minibuffer-= inactive-mode' to something
without "inactive".
<= div>
Give it a doc string that says when inactive...
and when active....  We already have the former
<= div>part.  The latter can just point out the keymaps
= (which become links to their doc).

Benefit:= Like what we have now - or after Alan's
change to fundame= ntal-mode - but with better doc
and without a misleading m= ode name.

The behavior is already there, no= ?  When inactive
we get the inactive key bindings.&nb= sp; Otherwise, we
get the usual minibuffer keymaps.

IIUC, that's the case whether or not the "active"=
state nominally uses `fundamental-mode', since the
minibuffer keymaps are still used.  The difference
is (1) doc and (2) only one mode.

Fee= l free to let me know what I'm missing.


She= ng Yang(=E6=9D=A8=E5=9C=A3), PhD
Compu= ter Science Department
University of M= aryland, College Park
E-mail (old but still used): yangsheng6810@gmail.com


--fe3f80cbb0984c43b668191968bd1984--