From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#47150: [External] : bug#47150: 28.0.50; Incorrect major-mode in minibuffer Date: Mon, 19 Apr 2021 15:35:33 -0400 Message-ID: References: <8cbe7629-2091-45d3-9424-46444d7a4633@www.fastmail.com> <887bda9c-906c-4163-a8db-08b45e021bfd@www.fastmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19720"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: "47150@debbugs.gnu.org" <47150@debbugs.gnu.org>, Alan Mackenzie To: "Sheng Yang" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Apr 19 21:59:30 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 1lYa3O-00053C-0d for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 19 Apr 2021 21:59:30 +0200 Original-Received: from localhost ([::1]:39628 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lYa3N-0006PZ-4Q for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 19 Apr 2021 15:59:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52618) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lYZgg-0000Cp-T2 for bug-gnu-emacs@gnu.org; Mon, 19 Apr 2021 15:36:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40609) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lYZgg-0008Ng-IL for bug-gnu-emacs@gnu.org; Mon, 19 Apr 2021 15:36:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lYZgg-0001Nc-F8 for bug-gnu-emacs@gnu.org; Mon, 19 Apr 2021 15:36:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 19 Apr 2021 19:36:02 +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.16188609445278 (code B ref 47150); Mon, 19 Apr 2021 19:36:02 +0000 Original-Received: (at 47150) by debbugs.gnu.org; 19 Apr 2021 19:35:44 +0000 Original-Received: from localhost ([127.0.0.1]:52155 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYZgO-0001N4-H1 for submit@debbugs.gnu.org; Mon, 19 Apr 2021 15:35:44 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:43115) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYZgL-0001Mp-H4 for 47150@debbugs.gnu.org; Mon, 19 Apr 2021 15:35:42 -0400 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id D427A1002F2; Mon, 19 Apr 2021 15:35:35 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 76C0C10021B; Mon, 19 Apr 2021 15:35:34 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1618860934; bh=DdX0YzAFNzP0VKkk7GePRaPD3N7DCe/d/zaxjnulQ00=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=WKrMNf4e+1dxyxrZdCud904RS531VoW8Bhq4DeUNCrvmvbGycUN+plsgcD44wl/Ey eapYDnOOS+aK+vg6B0sWxNbWhYVOO89NPrZRv8waoyZiZSIWtf2wY6bLmPKcLK836a gnrCIyfAlAbvSW+ldvW/AD4Xt4luk2TFD6cfIzmqzx3nTRNpKrwbUFenqxWAfwgRaZ RwABIyH4cpRNa8PvxUGp1qI5tdhUXU2q/juuGThqIiHMYZc59G17UEntF7x/r1lVQD SJPuf8JYpwokoqsegED/e0GXPeZ/ZfWAsr5gOFxB6pOhUz1SerQcrDxqICJz0yU+9o wq0/w3k/452QA== Original-Received: from alfajor (104-222-126-84.cpe.teksavvy.com [104.222.126.84]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 3DB43120283; Mon, 19 Apr 2021 15:35:34 -0400 (EDT) In-Reply-To: <887bda9c-906c-4163-a8db-08b45e021bfd@www.fastmail.com> (Sheng Yang's message of "Mon, 19 Apr 2021 14:18:29 -0500") 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:204503 Archived-At: > I managed to fix those by replacing (eq major-mode > 'minibuffer-inactive-mode) with (derived-mode-p 'minibuffer-mode). When this Any reason why you won't use `minibufferp` instead, which seems more reliable (and backward compatible to boot)? Stefan