From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#47150: [External] : bug#47150: 28.0.50; Incorrect major-mode in minibuffer Date: Mon, 22 Mar 2021 21:36:53 +0000 Message-ID: References: <877dm9nsii.fsf@gmail.com> <40f3c845-ba30-4112-bb3c-9c06c1f106d3@www.fastmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19809"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "47150@debbugs.gnu.org" <47150@debbugs.gnu.org>, Alan Mackenzie , Sheng Yang To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Mar 22 22:38:23 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 1lOSFi-00053y-O9 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 22 Mar 2021 22:38:22 +0100 Original-Received: from localhost ([::1]:44460 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lOSFh-0004rE-Ls for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 22 Mar 2021 17:38:21 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49800) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lOSFO-0004r7-3E for bug-gnu-emacs@gnu.org; Mon, 22 Mar 2021 17:38:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47488) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lOSFN-0006px-RP for bug-gnu-emacs@gnu.org; Mon, 22 Mar 2021 17:38:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lOSFN-0004LP-Nw for bug-gnu-emacs@gnu.org; Mon, 22 Mar 2021 17:38:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 22 Mar 2021 21:38: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.161644902316634 (code B ref 47150); Mon, 22 Mar 2021 21:38:01 +0000 Original-Received: (at 47150) by debbugs.gnu.org; 22 Mar 2021 21:37:03 +0000 Original-Received: from localhost ([127.0.0.1]:59034 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lOSER-0004KE-EK for submit@debbugs.gnu.org; Mon, 22 Mar 2021 17:37:03 -0400 Original-Received: from userp2130.oracle.com ([156.151.31.86]:38088) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lOSEQ-0004Jk-1c for 47150@debbugs.gnu.org; Mon, 22 Mar 2021 17:37:02 -0400 Original-Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 12MLPjFR109454; Mon, 22 Mar 2021 21:36:56 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=corp-2020-01-29; bh=n40kbV84LltyLEd7l16+4NBeBkM1AooPY/CXiQSiMJE=; b=Fgt24YrX2dJx5Ojbd9NsF7Wo6ktJZNeyIVaTNYR7dTIMnvLhKG72ppec2XCiT5jD0nV7 Etfgf6To4nO0T5doubVdxEBjSh89+8gKq0isekaE1ISFdb0M/xdNKCeXOpwnImXex04l ekOsLT1EOtJgQ370Ocqu5Rx0V8mGCPYSNN/0/64YloSDodnH3CVPoTo9QjZH1UKtMZEN jCPBpMa3njXr6i74n8Nstnr1jcMvvzke90vE9ZlUagNtT/JVZdvkmy/qYpNDR622aP3X Zt3RpEVZ6axhpT4f+jqrwLAeqJhrk/o0LpeBkIeRZKpNqUZdcxmWy33cqV7H62938zAW hw== Original-Received: from userp3030.oracle.com (userp3030.oracle.com [156.151.31.80]) by userp2130.oracle.com with ESMTP id 37d8fr4xnd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 22 Mar 2021 21:36:55 +0000 Original-Received: from pps.filterd (userp3030.oracle.com [127.0.0.1]) by userp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 12MLKrsW127589; Mon, 22 Mar 2021 21:36:55 GMT Original-Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2177.outbound.protection.outlook.com [104.47.59.177]) by userp3030.oracle.com with ESMTP id 37dtywkyqg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 22 Mar 2021 21:36:55 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=buiuc5ichw9iqcOiVHe1Sz08W+xAQ/r8jI8Kdmzceq56tR8zcmZ8gSgilXhLIzh2xsYBUR96aZutoddvZmmdxcdCv+afSj+bVY0QWvEG+JaOIyE+ybiu52jHSVLyOffVILEC9/mRGhaqAsC1Uyk+JJ4zngEZ7tNJ3dzrwsJl1IR1gwZFRdpX7v1dFSPQWfZJyf3updN9HR7cKlaX47QM8HXGJdjuceO/QJtv2tRx3KQfONhiRdPmImIjU62jnxk8cqgzO3J6oIbI+jRL7uFEG8NDYr5aaS8PujqWdOZ3GgNQr0kqhH69ruxCj7EnFLdGrFC8G8ulLGYBjlN3JP9jIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=n40kbV84LltyLEd7l16+4NBeBkM1AooPY/CXiQSiMJE=; b=gv9elsmbMvhwLSIMYz7RL0hdc5D5C0DudHCB5Ngoi7ioHNTRLaEN/4K7b5GoDXVK24nr8+6LIJhyDnEy79mXGr6iG4sSkmS1yz1G0RFySOKfDhXD0Y0Xa5YQRBBfd2n+kmjH+T34EZikFjAG55HDx5AHwJDjIbNaFtlZuqlMsmHRBJ6/9dQNZ4ibRquQJCzT59XAmQFBrkyoLX4chja4sCx1NR5a8ZPyKusxI8ElcinTAGtscygjWbfGd58PCg4OvF7/gbkpBcsNFSAizVspGjxwJ22zGIOYU0Jrpsf5Dlyry2eivDzqkZi4Zkt7tY60A01SV4xFdEUgJsYGZ34OVA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=n40kbV84LltyLEd7l16+4NBeBkM1AooPY/CXiQSiMJE=; b=Z+XQA8lFCzVi/iH23hkj+DcLsMLQOHVO7xcgKWQdmvNTgAQHrj4qRNQOJXvihiXY6WqxZ1GfrsHgNDHAXIzqMDVnPON7BvkqisqUQo0kkhIUNAroloE2OdxOA36SCgT0cogxDy/I9lHV8U9OLjvTdd6qpNdIoLPhZVgEJJxfmxg= Original-Received: from SA2PR10MB4474.namprd10.prod.outlook.com (2603:10b6:806:11b::15) by SA2PR10MB4780.namprd10.prod.outlook.com (2603:10b6:806:118::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3955.18; Mon, 22 Mar 2021 21:36:53 +0000 Original-Received: from SA2PR10MB4474.namprd10.prod.outlook.com ([fe80::b8d2:db6d:3e4b:d315]) by SA2PR10MB4474.namprd10.prod.outlook.com ([fe80::b8d2:db6d:3e4b:d315%5]) with mapi id 15.20.3955.027; Mon, 22 Mar 2021 21:36:53 +0000 Thread-Topic: [External] : bug#47150: 28.0.50; Incorrect major-mode in minibuffer Thread-Index: AQHXH1eL2/hwyGfNj0aZBjqNTMDLa6qQhpbA In-Reply-To: Accept-Language: en-US Content-Language: en-US authentication-results: iro.umontreal.ca; dkim=none (message not signed) header.d=none;iro.umontreal.ca; dmarc=none action=none header.from=oracle.com; x-originating-ip: [73.170.83.28] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 9e38bd72-4405-411a-3c0e-08d8ed7a9c55 x-ms-traffictypediagnostic: SA2PR10MB4780: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7691; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 58GqkddjWWxCzotU5FxadOp2455anC7CtlxTNV5ZukDRBxX9mGFepFtIpvd1nGzhfn1rrS/X76aqlJcMKPqzYpM3LntAlfGh0tBe6X3bAgPtTLCw2x8fU2kd7l2NoKpszmgzrkd/yrutFr0erUU/TJf3eYC6+GFTv5tE6X+433ZgutVxaj19A6TrVWpi3puosM/EzRkgOZjWA5gEEOd2PSMrYuAyAUfBC3/ZVVQUrkccQljBmb+ovmbOQKsgzowD05ZPcp16KSVDDzq4ke9eGolBAHMpsBboouciXcS10guxhQ7QGyFH/Z2mRGjZS8BYq1Vr00gkcXDMS7Gl7J2zJL1K0RpS3dE4BQPUsSR0UWs9wgfVEAkmu4+2MnGxedbm9YgeYh289mzrVFUqyVCjcEuxjI6RCwAJdtaISS2t5GNry/9wuyLBDaQyKktLBsF0HftNBsQnYao4M8UYfGzBhL93X5MElKrJkByQgD4NTPgxbg5pi4iGa3h7vSnHxleESnBXfxxfiCrteYq4U+bgwIKaKaywvc9+NRfMi+YsyCqlOvYKbm4vFpAW2iv4jv16Bn1wrvlcMvJvTzxXCAlJoUXEcuflZAemcR8A1ohosbFFDHTTpCIQfq1mlMFp1O9mrqrLIrPpnT3wb7keOaV/s7iITShBOWRPLLuQ1/etTVA= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SA2PR10MB4474.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(39860400002)(136003)(376002)(346002)(396003)(366004)(9686003)(71200400001)(55016002)(4326008)(86362001)(8676002)(2906002)(33656002)(38100700001)(76116006)(186003)(54906003)(296002)(6916009)(316002)(26005)(66446008)(8936002)(64756008)(44832011)(478600001)(66556008)(6506007)(66476007)(66946007)(7696005)(5660300002)(52536014); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: sqHnBn81krT9M1+4A41tB5B+u8dfVhn63UiC2cH+tSMmzLuclv/+uDhVyJMoKTQaa8KjQgAi+ZcFKCxTa9CeJOTicCJocbrswZewsHGAF8bTFtdfRMwRWYwfFetFWHLBbVeaNf5MM3w8sU8092osL4uMapCW3pgYo6JbGuaznB/8Gee/bUYRo9s+rdKQFma/2WlpEUzRZgcZlNyw6/dXtjUuHqwq2Q1Q1rQS90iTHI5pbdzbHl3AOlwV0kHGaOuScMEVS9qGL06Ytz4CN10jRUURvfjaSaJXK7UBI/ag5RI/7QfzRQSDVv4rTbLl2xg13IKMtTEU334i9/UC0CrainwmFHtaMFdPXTW8A9V/FtgcZ3gB8ExRcSKb44MlvR+eFk4f//fNhpyTZ5QQDpXSUrqJIgZtgqzo/cdtDti/UA3uXXLKsyV95JoBcmLbszsHJw1dwjhaZUOoG9KGaRrCmnkRq0+SR2W4It2TFQQp8/iJ5BmlPZhPeZ6E+3EIT+10yEL6C1wI7J/vgAhycyVjH8BMiA7hg4cOyNU5T1+dlScPnWpXyuOFRddPDWhYHb1b96j+a/SKm9bZKOMiyQgZxJK9GlT9CYuqAMh9UADZ3X2TfxBOPXAHxwEsA07DzBFEwfg4PYbXj7S41PdZnAShaw1LHmdHn4UhfxlmH6+rOF/kJC7ZMfHnIwdsdayR7z14tS+8ZO/rZB1Tg/IXx3+mVEAlkI+JwQ2OJMy3FJgwvcQggoZFP88Z9r2iPudk LrRCVEWrZnLfkox9ZSLoY2tiuGybcj24nO7qJkU8k93mgW3VhVpENQc6Gm7XK6xHsFdPIR6HBfg7w+D1UrQcXkYosWVid33RVx x-ms-exchange-transport-forked: True X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SA2PR10MB4474.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9e38bd72-4405-411a-3c0e-08d8ed7a9c55 X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Mar 2021 21:36:53.6295 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: CDxRSCG9kVPzFflfHXRakgxlY4pKk7IzheCdV0YIA0xMXx5Gsr/s4nmbxjixDjYcLpTPaExZy0uG6Y6mFhbK9g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR10MB4780 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=9931 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 bulkscore=0 phishscore=0 mlxlogscore=803 suspectscore=0 spamscore=0 malwarescore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2103220157 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=9931 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 lowpriorityscore=0 priorityscore=1501 impostorscore=0 spamscore=0 mlxscore=0 suspectscore=0 mlxlogscore=999 phishscore=0 bulkscore=0 adultscore=0 malwarescore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2103220157 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:202871 Archived-At: > > Can I ask what's wrong with what I suggested: One mode, not two; just > > 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? Is there really something to "implement"? Rename `minibuffer-inactive-mode' to something without "inactive". 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). Benefit: Like what we have now - or after Alan's change to fundamental-mode - but with better doc and without a misleading mode name. The behavior is already there, no? When inactive we get the inactive key bindings. 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. Feel free to let me know what I'm missing.