GNU bug report logs - #34080
27.0.50, 26.1; undocumented key bindings for *vc-diff*

Previous Next

Package: emacs;

Reported by: Van L <van <at> scratch.space>

Date: Tue, 15 Jan 2019 05:31:01 UTC

Severity: wishlist

Found in version 27.0.50

Done: Sean Whitton <spwhitton <at> spwhitton.name>

Full log


View this message in rfc822 format

From: Sean Whitton <spwhitton <at> spwhitton.name>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 34080 <at> debbugs.gnu.org, Juri Linkov <juri <at> linkov.net>
Subject: bug#34080: 27.0.50, 26.1; undocumented key bindings for *vc-diff*
Date: Fri, 18 Jul 2025 10:58:53 +0100
Hello,

On Wed 09 Jul 2025 at 11:40am +01, Sean Whitton wrote:

> What do you think about replacing activating a minor mode with just
> switching the major mode map?  So far as I can tell the disadvantage
> would be repeating keymap definitions, and the advantage would be more
> standardised *Help* output.

I spent some time seeing how this change would be implemented and I now
think that, instead, diff-minor-mode should be renamed
diff-read-only-mode.  Am I right that diff-minor-mode is only intended
as a way to add bindings when diff-mode buffers are read-only?

I'm given pause by diff-minor-mode-prefix.  Why do we have this?  Aren't
all the bindings available without this prefix whenever diff-minor-mode
is active?  If I'm right then I'd propose to obsolete it and tidy things
up.

-- 
Sean Whitton




This bug report was last modified 21 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.