Ticket #4375 (closed defect: invalid)

Opened 6 months ago

Last modified 6 months ago

A number of custom shortcuts stopped working after upgrade from 4.8.23 to 4.8.27

Reported by: DKroot Owned by:
Priority: major Milestone:
Component: mc-key-bindings Version: 4.8.27
Keywords: Cc:
Blocked By: Blocking:
Branch state: no branch Votes for changeset:

Description

I'm using mc primarily on Linux with a number of custom shortcuts defined in ~/.config/mc/mc.keymap. After upgrading from 4.8.23 to 4.8.27, a number of them stopped working. Here are the ones that stopped:

[main]
HotList = f12
DirSize = ctrl-l
Find = f17 # Shift-F7
Select = ctrl-a
PanelInfo = alt-i
CompareFiles = f11

To make sure, this is a regression, I downgraded to 4.8.7 (the last available version in Red Hat repos) and, sure enough, the shortcuts are working again.

I can reproduce the issue on macOS / 4.8.27 and I'm reporting it for the macOS version:

$ LC_MESSAGES=C mc -F
Home directory: /Users/korobskd
Profile root directory: /Users/korobskd

[System data]
    Config directory: /usr/local/Cellar/midnight-commander/4.8.27/etc/mc/
    Data directory:   /usr/local/Cellar/midnight-commander/4.8.27/share/mc/
    File extension handlers: /usr/local/Cellar/midnight-commander/4.8.27/libexec/mc/ext.d/
    VFS plugins and scripts: /usr/local/Cellar/midnight-commander/4.8.27/libexec/mc/
	extfs.d:        /usr/local/Cellar/midnight-commander/4.8.27/libexec/mc/extfs.d/
	fish:           /usr/local/Cellar/midnight-commander/4.8.27/libexec/mc/fish/

[User data]
    Config directory: /Users/korobskd/.config/mc/
    Data directory:   /Users/korobskd/.local/share/mc/
	skins:          /Users/korobskd/.local/share/mc/skins/
	extfs.d:        /Users/korobskd/.local/share/mc/extfs.d/
	fish:           /Users/korobskd/.local/share/mc/fish/
	mcedit macros:  /Users/korobskd/.local/share/mc/mc.macros
	mcedit external macros: /Users/korobskd/.local/share/mc/mcedit/macros.d/macro.*
    Cache directory:  /Users/korobskd/.cache/mc/

$ mc --configure-options
 '--disable-debug' '--disable-dependency-tracking' '--disable-silent-rules' '--prefix=/usr/local/Cellar/midnight-commander/4.8.27' '--without-x' '--with-screen=slang' '--enable-vfs-sftp' 'CC=clang' 'PKG_CONFIG_PATH=/usr/local/opt/libffi/lib/pkgconfig:/usr/local/opt/pcre/lib/pkgconfig:/usr/local/opt/openssl@1.1/lib/pkgconfig:/usr/local/opt/readline/lib/pkgconfig:/usr/local/opt/sqlite/lib/pkgconfig:/usr/local/opt/xz/lib/pkgconfig:/usr/local/opt/python@3.9/lib/pkgconfig:/usr/local/opt/glib/lib/pkgconfig:/usr/local/opt/libssh2/lib/pkgconfig:/usr/local/opt/libpng/lib/pkgconfig:/usr/local/opt/s-lang/lib/pkgconfig' 'PKG_CONFIG_LIBDIR=/usr/lib/pkgconfig:/usr/local/Homebrew/Library/Homebrew/os/mac/pkgconfig/11'

Change History

comment:1 Changed 6 months ago by andrew_b

  • Status changed from new to closed
  • Version changed from master to 4.8.27
  • Resolution set to invalid
  • Milestone Future Releases deleted

Please rename sections in your mc.keymap:

main -> filemanager
main:xmap -> filemanager:xmap

comment:2 Changed 6 months ago by DKroot

This worked. Thanks!

Note: See TracTickets for help on using tickets.