From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Emacs 28 trigger after-change-major-mode-hook inside mini buffer Date: Sun, 21 Aug 2022 17:37:05 +0300 Message-ID: <83sflpbr3i.fsf@gnu.org> References: <20220821142250.27cb3c84@jcubic> <83edx9dbk6.fsf@gnu.org> <20220821162026.376a8515@jcubic> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3754"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Aug 21 16:37:31 2022 Return-path: Envelope-to: geh-help-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 1oPm4x-0000mE-GB for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 21 Aug 2022 16:37:31 +0200 Original-Received: from localhost ([::1]:52466 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oPm4w-0006yk-Cb for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 21 Aug 2022 10:37:30 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59372) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oPm4V-0006vf-8f for help-gnu-emacs@gnu.org; Sun, 21 Aug 2022 10:37:03 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:54966) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oPm4U-0002WJ-VJ for help-gnu-emacs@gnu.org; Sun, 21 Aug 2022 10:37:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=y9NOvnaG+Ae+SHVv69sx2Izn/0Rl7EV2ZIUJjQU8Yuk=; b=HIq0ZcKSAOi7 14D7Expepr4UsN/Qw2Sb0m7H6W+0M4bhKXJFqfMJXJhzDVuC26h2foGEiNCUSEoZmUQi7eM07QmEx 18c9ONh4EnW7H2wKVnWWMXuaeryuRxL6Ho9geTMeF+Sf3jilNlLVG0vY2Vv5MFEGzGj+HkunR5d/Z eR8kZDhffgf5XI6ldKtdSUWmlvP5D2OrMvXcceGgB5qU9t2r5JO1jreSyMm98O5gl5zsN8ooLn+Mp 435JgRjaWX9qjiaa6inIwTFGwpl0oEWHP2nrZTE4R65ENz3zxaUZgQf2EixVRVN3IaNIU5fqJJE7E aiKGN76uIL0QBNaEkXLjTA==; Original-Received: from [87.69.77.57] (port=1239 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oPm4U-0003Mz-EZ for help-gnu-emacs@gnu.org; Sun, 21 Aug 2022 10:37:02 -0400 In-Reply-To: <20220821162026.376a8515@jcubic> X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:138964 Archived-At: > Date: Sun, 21 Aug 2022 16:20:26 +0200 > From: "Jakub T. Jankiewicz" > > > > So to fix the problem I need to know: what type of major mode does the > > > mini buffer now have in Emacs 28? So I can filter out that major mode. > > > > It's minibuffer-mode, unsurprisingly. > > > > Thanks that works. Do you know any use cases when it's useful to have major > mode inside mini buffer? To have a keymap? To have font-lock definitions?