all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@linkov.net>
To: miha@kamnitnik.top
Cc: 57512@debbugs.gnu.org
Subject: bug#57512: 29.0.50; outline-minor-mode-map outline-minor-mode-cycle-map are eq
Date: Thu, 01 Sep 2022 10:27:25 +0300	[thread overview]
Message-ID: <86r10vd06a.fsf@mail.linkov.net> (raw)
In-Reply-To: <87k06op1f1.fsf@miha-pc> (miha's message of "Wed, 31 Aug 2022 23:07:30 +0200")

> (progn
>   (require 'outline)
>   (eq outline-minor-mode-map outline-minor-mode-cycle-map))
>
> -> t

It seems you found a bug in easy-mmode-define-keymap.

  (define-minor-mode outline-minor-mode
    :keymap (easy-mmode-define-keymap
             `(([menu-bar] . ,outline-minor-mode-menu-bar-map)
               (,outline-minor-mode-prefix . ,outline-mode-prefix-map))
             :inherit outline-minor-mode-cycle-map)

This supposed to create a new keymap with these additional keybindings.
But it also destructively modifies outline-minor-mode-cycle-map
from which it should only inherit without changing it.





  parent reply	other threads:[~2022-09-01  7:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-31 21:07 bug#57512: 29.0.50; outline-minor-mode-map outline-minor-mode-cycle-map are eq miha--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-09-01  5:07 ` Eli Zaretskii
2022-09-01  6:49   ` miha--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-09-01  7:27 ` Juri Linkov [this message]
2022-09-01  8:21   ` Lars Ingebrigtsen
2022-09-01 10:24 ` Lars Ingebrigtsen

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86r10vd06a.fsf@mail.linkov.net \
    --to=juri@linkov.net \
    --cc=57512@debbugs.gnu.org \
    --cc=miha@kamnitnik.top \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.