From: Stefan Monnier via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Emacs 28 trigger after-change-major-mode-hook inside mini buffer
Date: Sun, 21 Aug 2022 10:49:31 -0400 [thread overview]
Message-ID: <jwvwnb1y7qf.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: 20220821162026.376a8515@jcubic
Jakub T. Jankiewicz [2022-08-21 16:20:26] wrote:
> On Sun, 21 Aug 2022 15:29:45 +0300
> Eli Zaretskii <eliz@gnu.org> wrote:
>
>> > Date: Sun, 21 Aug 2022 14:22:50 +0200
>> > From: "Jakub T. Jankiewicz" <jcubic@onet.pl>
>> >
>> > 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.
It can be something else, of course. E.g. for `M-!` the major mode
should be a mix of `minibuffer-mode` and `shell-mode` for completion,
and for `M-:` you'd want a mix of `minibuffer-mode` and `elisp-mode`
(for completion and eldoc).
Stefan
next prev parent reply other threads:[~2022-08-21 14:49 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-21 12:22 Emacs 28 trigger after-change-major-mode-hook inside mini buffer Jakub T. Jankiewicz
2022-08-21 12:29 ` Eli Zaretskii
2022-08-21 14:20 ` Jakub T. Jankiewicz
2022-08-21 14:37 ` Eli Zaretskii
2022-08-21 14:49 ` Stefan Monnier via Users list for the GNU Emacs text editor [this message]
2022-08-21 14:22 ` Stefan Monnier via Users list for the GNU Emacs text editor
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvwnb1y7qf.fsf-monnier+emacs@gnu.org \
--to=help-gnu-emacs@gnu.org \
--cc=monnier@iro.umontreal.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).