From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 14 11:50:32 2024 Received: (at submit) by debbugs.gnu.org; 14 Aug 2024 15:50:32 +0000 Received: from localhost ([127.0.0.1]:47281 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1seGGd-0000PY-VM for submit@debbugs.gnu.org; Wed, 14 Aug 2024 11:50:32 -0400 Received: from lists.gnu.org ([209.51.188.17]:59744) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1seGCA-0000G5-20 for submit@debbugs.gnu.org; Wed, 14 Aug 2024 11:45:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1seGBT-0005xO-NJ for bug-gnu-emacs@gnu.org; Wed, 14 Aug 2024 11:45:12 -0400 Received: from mail.w13.tutanota.de ([185.205.69.213]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1seGBP-0001Jc-MM for bug-gnu-emacs@gnu.org; Wed, 14 Aug 2024 11:45:09 -0400 Received: from tutadb.w10.tutanota.de (w10.api.tuta.com [IPv6:fd:ac::d:10]) by mail.w13.tutanota.de (Postfix) with ESMTP id BF6B9154A966 for ; Wed, 14 Aug 2024 17:45:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1723650303; s=s1; d=tutamail.com; h=From:From:To:To:Subject:Subject:Content-Description:Content-ID:Content-Type:Content-Type:Content-Transfer-Encoding:Content-Transfer-Encoding:Cc:Date:Date:In-Reply-To:MIME-Version:MIME-Version:Message-ID:Message-ID:Reply-To:References:Sender; bh=QPbVLUJ3ZK2+TS5WzA7SSwYlHkJVCFpIxJQowqaCIOs=; b=qt/ATCAU5bp4qTyTkALaDUBFfL0CKSgAX8N6DT3PpQyQwXMnWL4JIgW0Pju0576s hgVZLG2CfwDZV/nRj2SbadpZr9Xzbg5SAFlhqi7a82eYgLGYoGtU/a1O9GWq2fA+53T 02KFJqRyHl9zaRooATghAJ01/4BQDPGJUIds/l6FPOj+tW4yQMiu9KMJEWe1cy8yhBc N2nicI8DJFMmfIvlD4eYWBtmSPPcZPigyj2L9+3QcU7z0gFM/db10r/CrEMHh3TzgTq o/lNZlZ8xlF2F3/ElJaC5NT45rUKbTREmA1kKg3o10nqO4lAuoUW526jsa9jtJcV3SO kI6+FMdhPw== Date: Wed, 14 Aug 2024 17:45:03 +0200 (CEST) From: mr.meowking@tutamail.com To: Bug Gnu Emacs Message-ID: Subject: 31.0.50; minor-mode-overriding-map-alist doesn't have higher priority than local map, which differs from docs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.205.69.213; envelope-from=mr.meowking@tutamail.com; helo=mail.w13.tutanota.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 14 Aug 2024 11:50:31 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) NOTE: please view https://codeberg.org/meow_king/typst-ts-mode/issues/6#issuecomment-2174390 for rendered markdown view. According to docs `(elisp) Active Keymaps` : > Emacs contains many keymaps, but at any time only a few keymaps are =E2=80=9Cactive=E2=80=9D.=C2=A0 When Emacs receives user input, it translat= es the input event (*note Translation Keymaps::), and looks for a key binding in the active keymaps. > >=C2=A0=C2=A0 Usually, the active keymaps are: (i) the keymap specified by = the =E2=80=98keymap=E2=80=99 property, (ii) the keymaps of enabled minor modes,= (iii) the current buffer's local keymap, and (iv) the global keymap, in that order.=C2=A0 Emacs searches for each input key sequence in all these keymap= s. > >=C2=A0=C2=A0 Of these usual keymaps, the highest-precedence one is specifi= ed by the =E2=80=98keymap=E2=80=99 text or overlay property at point, if any.=C2= =A0 (For a mouse input event, Emacs uses the event position instead of point; *note Searching Keymaps::.) > >=C2=A0=C2=A0 Next in precedence are keymaps specified by enabled minor mod= es. These keymaps, if any, are specified by the variables =E2=80=98emulation-mode-map-alists=E2=80=99, =E2=80=98minor-mode-overriding= -map-alist=E2=80=99, and =E2=80=98minor-mode-map-alist=E2=80=99.=C2=A0 *Note Controlling Active Maps= ::. > >=C2=A0=C2=A0 Next in precedence is the buffer's =E2=80=9Clocal keymap=E2= =80=9D, containing key bindings specific to the buffer.=C2=A0 The minibuffer also has a local keym= ap (*note Intro to Minibuffers::).=C2=A0 If there is a =E2=80=98local-map=E2= =80=99 text or overlay property at point, that specifies the local keymap to use, in place of the buffer's default local keymap. =E2=80=98minor-mode-overriding-map-alist` should have higher priority than = the buffer local keymap. However, the actual behavior is different than what the docs say. Here is my test: ```elisp ;;;###autoload (defvar-keymap typst-ts-mode-map ;; .. "RET" #'typst-ts-mode-return) (defvar-keymap mk/test-map "RET" #'(lambda () (interactive) (message "mk/test-map"))) ;;;###autoload (define-derived-mode typst-ts-mode text-mode "Typst" "Major mode for editing Typst, powered by tree-sitter." :group 'typst :syntax-table typst-ts-mode-syntax-table :after-hook (typst-ts-mode-after-hook-function) (setq minor-mode-overriding-map-alist '((outline-minor-mode . nil))) (setcdr (assq #'outline-minor-mode minor-mode-overriding-map-alist) mk/test= -map) ;; ... ) ``` In this situation, `typst-ts-mode-return` will be executed.=C2=A0 If we execute this elisp code and then re-enter `typst-ts-mode` ```elisp=C2=A0 (keymap-set outline-minor-mode-map "" #'(lambda () (interactive) (m= essage "outline-minor-mode-map"))) ``` it will still execute `typst-ts-mode-return` function. However, in addition of the previous code, if we then remove the following = code in `typst-ts-mode` setup process: ```elisp (setq minor-mode-overriding-map-alist '((outline-minor-mode . nil))) (setcdr (assq #'outline-minor-mode minor-mode-overriding-map-alist) mk/test= -map) ``` then the lambda function in `outline-minor-mode-map` will be executed.=C2= =A0 ---=C2=A0 In GNU Emacs 31.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.43, cairo version 1.18.0) Repository revision: 643b564bd38cf037c55dba1a160b7d0c4c8355a9 Repository branch: master System Description: NixOS 24.11 (Vicuna) Configured using: 'configure --prefix=3D/nix/store/dj6bh0vp6gzqdmb3ilri3aw5kcq62myf-emacs-pgtk-20240811.= 0 --disable-build-details --with-modules --with-pgtk --with-compress-install --with-toolkit-scroll-bars --with-native-compilation --without-imagemagick --with-mailutils --without-small-ja-dic --with-tree-sitter --without-xinput2 --with-xwidgets --with-dbus --with-selinux' From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 17 06:05:54 2024 Received: (at 72624) by debbugs.gnu.org; 17 Aug 2024 10:05:54 +0000 Received: from localhost ([127.0.0.1]:53562 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sfGJl-0003bE-Sp for submit@debbugs.gnu.org; Sat, 17 Aug 2024 06:05:54 -0400 Received: from eggs.gnu.org ([209.51.188.92]:42868) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sfGJj-0003az-E3 for 72624@debbugs.gnu.org; Sat, 17 Aug 2024 06:05:52 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sfGJ0-0000OG-UN; Sat, 17 Aug 2024 06:05:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=v+k+SScKsDKxDfNY25Epu+h1ujw/kuFq0Q6pJ1Ht0x0=; b=lPd9BAtATh90aQtHiowQ gBfS3RPBVwBEXXt1WhtgzGdLNJ2jNJBtXKWE+GJZvR2Zhcf2CLpweqmhyx9IXfxLvsILGMO+yLHE4 tfyxcDQ1Zv+UriM2vYpVzZacS2lr2cz7eGxcphwhxGycdExTpcQ5nfy1GOYsYobggBbmIobTM148r a/lNHhPP8rSw/jt1YQQx8ivtcARNa4jo7rJL+HkxBJAFDBVrmBCkY62NeYf672fO27+qs7Nf3FEWT 77IrdI5nfZ0/2+UDx6MSuiX0DG8WR40sXYTOcjNRY9fTQh8aQz2mUzEgMMh81RFdPNWaoicqBv/at roZqGW0HjUANKg==; Date: Sat, 17 Aug 2024 13:05:04 +0300 Message-Id: <86o75r31nz.fsf@gnu.org> From: Eli Zaretskii To: mr.meowking@tutamail.com, Stefan Monnier In-Reply-To: (bug-gnu-emacs@gnu.org) Subject: Re: bug#72624: 31.0.50; minor-mode-overriding-map-alist doesn't have higher priority than local map, which differs from docs References: MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 72624 Cc: 72624@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Wed, 14 Aug 2024 17:45:03 +0200 (CEST) > From: mr.meowking--- via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > NOTE: please view > https://codeberg.org/meow_king/typst-ts-mode/issues/6#issuecomment-2174390 > for rendered markdown view. > > According to docs `(elisp) Active Keymaps` : > > > Emacs contains many keymaps, but at any time only a few keymaps are > “active”.  When Emacs receives user input, it translates the input event > (*note Translation Keymaps::), and looks for a key binding in the active > keymaps. > > > >   Usually, the active keymaps are: (i) the keymap specified by the > ‘keymap’ property, (ii) the keymaps of enabled minor modes, (iii) the > current buffer's local keymap, and (iv) the global keymap, in that > order.  Emacs searches for each input key sequence in all these keymaps. > > > >   Of these usual keymaps, the highest-precedence one is specified by > the ‘keymap’ text or overlay property at point, if any.  (For a mouse > input event, Emacs uses the event position instead of point; *note > Searching Keymaps::.) > > > >   Next in precedence are keymaps specified by enabled minor modes. > These keymaps, if any, are specified by the variables > ‘emulation-mode-map-alists’, ‘minor-mode-overriding-map-alist’, and > ‘minor-mode-map-alist’.  *Note Controlling Active Maps::. > > > >   Next in precedence is the buffer's “local keymap”, containing key > bindings specific to the buffer.  The minibuffer also has a local keymap > (*note Intro to Minibuffers::).  If there is a ‘local-map’ text or > overlay property at point, that specifies the local keymap to use, in > place of the buffer's default local keymap. > > ‘minor-mode-overriding-map-alist` should have higher priority than the buffer local keymap. > However, the actual behavior is different than what the docs say. > > Here is my test: > > ```elisp > ;;;###autoload > (defvar-keymap typst-ts-mode-map > ;; .. > "RET" #'typst-ts-mode-return) > > (defvar-keymap mk/test-map > "RET" #'(lambda () (interactive) (message "mk/test-map"))) > > ;;;###autoload > (define-derived-mode typst-ts-mode text-mode "Typst" > "Major mode for editing Typst, powered by tree-sitter." > :group 'typst > :syntax-table typst-ts-mode-syntax-table > :after-hook > (typst-ts-mode-after-hook-function) > > (setq minor-mode-overriding-map-alist '((outline-minor-mode . nil))) > (setcdr (assq #'outline-minor-mode minor-mode-overriding-map-alist) mk/test-map) > > ;; ... > ) > ``` > In this situation, `typst-ts-mode-return` will be executed.  > > If we execute this elisp code and then re-enter `typst-ts-mode` > ```elisp  > (keymap-set outline-minor-mode-map "" #'(lambda () (interactive) (message "outline-minor-mode-map"))) > ``` > it will still execute `typst-ts-mode-return` function. > > However, in addition of the previous code, if we then remove the following code in `typst-ts-mode` setup process: > ```elisp > (setq minor-mode-overriding-map-alist '((outline-minor-mode . nil))) > (setcdr (assq #'outline-minor-mode minor-mode-overriding-map-alist) mk/test-map) > ``` > then the lambda function in `outline-minor-mode-map` will be executed.  Stefan, any comments or suggestions? From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 19 10:53:10 2024 Received: (at 72624) by debbugs.gnu.org; 19 Aug 2024 14:53:10 +0000 Received: from localhost ([127.0.0.1]:58926 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sg3ks-0006hx-H3 for submit@debbugs.gnu.org; Mon, 19 Aug 2024 10:53:10 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:2960) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sg3kq-0006hd-CT for 72624@debbugs.gnu.org; Mon, 19 Aug 2024 10:53:09 -0400 Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id A101C441BF6; Mon, 19 Aug 2024 10:52:20 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1724079139; bh=zY1lKmCafXAb2hwArcjDQFngIfbmOkAGjPl3Gpkt8tc=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=mRirOC+LSUUXF4AtxDu+lzA7QKGKSExQYDte1KRN4n+RYDdK2zajZrmcKGb6s1h5L oSqB+EXcUF6pSL7qHWKvjiK3Ed9i1Uw6HFkvF8Me9Slwx6fmLwlig1jdQ4zzttfx7M aTuXQ3joeMeFQxc/JzuiJzJnBaowp2b/5BybZj+RFp6h/bF8h6oTdjYH+fxqj3y7Be HvchtKRisimT5teIFzznCvoyUO1tnhCae+w5ENfyjG1UaiFBmwccgeSczRhX/ehR9a KorVw1CS0tM4nlVF0p+AEmauRDRYgVoRD5QHOoQM/p5o4D3Vq3tDe+WZsqZod84WGT EWl21ybtXAgMg== Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 05E294419AF; Mon, 19 Aug 2024 10:52:19 -0400 (EDT) Received: from lechazo (lechon.iro.umontreal.ca [132.204.27.242]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id EAE03120497; Mon, 19 Aug 2024 10:52:18 -0400 (EDT) From: Stefan Monnier To: mr.meowking@tutamail.com Subject: Re: bug#72624: 31.0.50; minor-mode-overriding-map-alist doesn't have higher priority than local map, which differs from docs In-Reply-To: (mr meowking's message of "Wed, 14 Aug 2024 17:45:03 +0200 (CEST)") Message-ID: References: Date: Mon, 19 Aug 2024 10:52:14 -0400 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL 0.148 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain T_SCC_BODY_TEXT_LINE -0.01 - X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 72624 Cc: 72624@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > =E2=80=98minor-mode-overriding-map-alist` should have higher priority tha= n the > buffer local keymap. According to my tests, it does. > (defvar-keymap mk/test-map > "RET" #'(lambda () (interactive) (message "mk/test-map"))) [...] > (keymap-set outline-minor-mode-map "" #'(lambda () (interactive) > (message "outline-minor-mode-map"))) Binding a command to "" is generally a bug. You should bind it to "RET" instead, unless you really know what you're doing. The way the bug manifests itself is exactly in the way you show here. Emacs will first look for a binding for `return` and if it finds one it'll use it in preference to a binding for `RET`, regardless of the relative precedence of the keymaps involved. [ Side note: > ```elisp [...] > (setq minor-mode-overriding-map-alist '((outline-minor-mode . nil))) [...] > ``` =20=20 `minor-mode-overriding-map-alist` is automatically buffer-local, so setting it at the toplevel of an ELisp file doesn't make much sense: it will set it only in the buffer that happens to be current when you load that ELisp file. ] Stefan From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 19 13:17:19 2024 Received: (at 72624) by debbugs.gnu.org; 19 Aug 2024 17:17:19 +0000 Received: from localhost ([127.0.0.1]:59121 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sg60L-0002es-MW for submit@debbugs.gnu.org; Mon, 19 Aug 2024 13:17:18 -0400 Received: from mail.w13.tutanota.de ([185.205.69.213]:55804) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sg493-0007VA-09 for 72624@debbugs.gnu.org; Mon, 19 Aug 2024 11:18:11 -0400 Received: from tutadb.w10.tutanota.de (w10.api.tuta.com [IPv6:fd:ac::d:10]) by mail.w13.tutanota.de (Postfix) with ESMTP id B4C9E1708DC2; Mon, 19 Aug 2024 17:16:50 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1724080610; s=s1; d=tutamail.com; h=From:From:To:To:Subject:Subject:Content-Description:Content-ID:Content-Type:Content-Type:Content-Transfer-Encoding:Content-Transfer-Encoding:Cc:Cc:Date:Date:In-Reply-To:In-Reply-To:MIME-Version:MIME-Version:Message-ID:Message-ID:Reply-To:References:References:Sender; bh=exbd014+9/NrcdfWDw6BP5sHvhHZsOx7p5MWGf6EfGY=; b=JmfvMj65f558ZVYLctFqlJGAxAKOweFJn9RzfkYz528/8gHVdTH9xTxOQZ24RnLB s/+tqijg23pHlDSY405rDwnWHggJ8B8zzUCVaj0slhQogwjbPcz3yQtsuGaTDvaNLz+ MnIFmXFQ6qPlE4nurpC95qRRoTsEsDY2lRKrlq45Ta/Tu6ZAAHlop72dp0wzxa/Xf6t 7Nq1jdAWu2pqEeCNRgntjksVuO70deP4x1FumyyJsw7z3b3ioD1KRFArWty9wlsQmLP xIcfrgvT0At5+rBGSc9Dww5ciN5o0teWfhMkGdZfeJQPE5w1BTsfGOE8UaxyXnWoC/v idwknsfBZg== Date: Mon, 19 Aug 2024 17:16:50 +0200 (CEST) From: Meow King To: Stefan Monnier Message-ID: In-Reply-To: References: Subject: Re: bug#72624: 31.0.50; minor-mode-overriding-map-alist doesn't have higher priority than local map, which differs from docs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 72624 X-Mailman-Approved-At: Mon, 19 Aug 2024 13:17:16 -0400 Cc: 72624 <72624@debbugs.gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > Emacs will first look for a binding for `return` and if it finds one > it'll use it in preference to a binding for `RET`, regardless of the > relative precedence of the keymaps involved. Thanks! After correctly bound keys, issues related to Corfu resolved, and I see `minor-mode-overriding-map-alist` works well and behave in order. From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 31 04:11:56 2024 Received: (at 72624-done) by debbugs.gnu.org; 31 Aug 2024 08:11:56 +0000 Received: from localhost ([127.0.0.1]:53878 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1skJD9-0006Wl-Q4 for submit@debbugs.gnu.org; Sat, 31 Aug 2024 04:11:56 -0400 Received: from eggs.gnu.org ([209.51.188.92]:57112) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1skJD8-0006WW-Jd for 72624-done@debbugs.gnu.org; Sat, 31 Aug 2024 04:11:54 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1skJC5-0007U9-0h; Sat, 31 Aug 2024 04:10:50 -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=xK1NFTWuziUm/zG7nOIDb4+9lbB3Ae1EVl5xZw5griI=; b=HLOWnI0GK60k mIic7Z7Rqp9C7hEhV5R7fJYGwE70eRno4Ywe4wNVWZpUwa5xPedn2wJKFtCsdKy7c0LMjfhGaxwu/ PYFckZr2riKtqKfffRBwApJboTFEtIQiGpcHrayVIF6wtX4u/YHl4VIDWNA4PjpkrdNcV8Cf4K//G doQ5EUbLq87Mj4GmpHKsoVarvqXW8frXO+ZWAoze15iymevHS0EKw64UxAMYjGdobGm3Sk+UVH/bY ALQf25cqmRNvN06sxKzbF0GPQyHqnnlSPiKxkUx4oQmGLIfdYw69yhTFFKy8B51vJpjZf7LYmF87o vt7SgYXFv8OJ8f7zc3ug6g==; Date: Sat, 31 Aug 2024 11:10:45 +0300 Message-Id: <86le0dcdtm.fsf@gnu.org> From: Eli Zaretskii To: Meow King In-Reply-To: (bug-gnu-emacs@gnu.org) Subject: Re: bug#72624: 31.0.50; minor-mode-overriding-map-alist doesn't have higher priority than local map, which differs from docs References: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 72624-done Cc: 72624-done@debbugs.gnu.org, monnier@iro.umontreal.ca X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Cc: 72624 <72624@debbugs.gnu.org> > Date: Mon, 19 Aug 2024 17:16:50 +0200 (CEST) > From: Meow King via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > > Emacs will first look for a binding for `return` and if it finds one > > it'll use it in preference to a binding for `RET`, regardless of the > > relative precedence of the keymaps involved. > > Thanks! After correctly bound keys, issues related to Corfu resolved, and I see `minor-mode-overriding-map-alist` works well and behave in order. No further comments, so I assume the problem is solved, and I'm therefore closing this bug. From unknown Sat Aug 16 11:10:50 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 28 Sep 2024 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator