all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Robert Pluim <rpluim@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: emacs-30 ab7c40ea52a: Fix Imenu in 'emacs-news-view-mode'
Date: Mon, 22 Jul 2024 14:36:55 +0200	[thread overview]
Message-ID: <878qxtbo2g.fsf@gmail.com> (raw)
In-Reply-To: <861q3lbqq7.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 22 Jul 2024 14:39:28 +0300")

>>>>> On Mon, 22 Jul 2024 14:39:28 +0300, Eli Zaretskii <eliz@gnu.org> said:


    Eli> I tried, but it didn't work.  I guess this keymap stuff is above my
    Eli> paygrade (make-composed-keymap? what's that?)  So I ended up doing
    Eli> what did work.

`make-composed-keymap' just makes a new keymap referring to the
keymap(s) you pass it. I guess my mind just twists the right way 🙂

    Eli> Feel free to make any changes you see fit, but please be sure to test
    Eli> them well, since this is the release branch.  One requirement is that
    Eli> if you go back top emacs-news-mode, those key bindings go away.
    Eli> Another requirement is not to disable outline-minor-mode bindings and
    Eli> menus.

Iʼd be stunned if changing major mode messed with a minor mode. But
Iʼll test it.

Should `emacs-news-view-mode' still have bindings for the
`emacs-news-mode' commands that change the buffer? Theyʼd all fail
because of the read-only buffer, but we could remove them. (hmm, the
menus are wrong for `emacs-news-view-mode' anyway. Iʼll fix that as
well).

Robert
-- 



  reply	other threads:[~2024-07-22 12:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <172146804439.2058.3466869777211222963@vcs2.savannah.gnu.org>
     [not found] ` <20240720093404.DAF02C41F01@vcs2.savannah.gnu.org>
2024-07-22 11:19   ` emacs-30 ab7c40ea52a: Fix Imenu in 'emacs-news-view-mode' Robert Pluim
2024-07-22 11:39     ` Eli Zaretskii
2024-07-22 12:36       ` Robert Pluim [this message]
2024-07-22 12:48         ` Eli Zaretskii
2024-07-23 12:42           ` Robert Pluim

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=878qxtbo2g.fsf@gmail.com \
    --to=rpluim@gmail.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    /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.