Ticket #2773 (new defect)

Opened 10 years ago

Last modified 7 years ago

'include' keyword (for command class def) have no effect if it was defined before 'Include' keyword (for commad def).

Reported by: gavenkoa Owned by:
Priority: major Milestone: Future Releases
Component: mc-core Version: master
Keywords: Cc: gavenkoa@…
Blocked By: Blocking:
Branch state: no branch Votes for changeset:


If I create ~/.config/mc/mc.ext file:

	Open=echo OK

and then press RET on .avi file nothing happen.

But if swap this entries I get 'OK' in terminal.

I discover this bug when introduce techniture to merge system wide and own mc.ext file in: #2772 (Suggestion to load /etc/mc/mc.ext before ~/.config/mc/mc.ext anyway or add keyword to mc.ext for this purpose).

For example I want redefine class 'video'. So I put:

    Open=GOOD-VIEWER %f

then I put content of /etc/mc/mc.ext, which have such lines:

### Video ###


	Open=BAD_VEWER %f

But Open=GOOD-VIEWER %f was ignored and Open=BAD_VEWER %f was taken in account.

Because of this bug I can not just concatenate my settings with system wide, I need use some sed/awk/perl magic...

Change History

comment:1 Changed 10 years ago by gavenkoa

I use MC:

GNU Midnight Commander, версия 4.8.1

from Debian wheezy/sid.

comment:2 Changed 10 years ago by andrew_b

  • Blocking 1677 added

comment:3 Changed 10 years ago by andrew_b

  • Blocking 1677 removed

comment:4 Changed 7 years ago by gavenkoa

  • Cc gavenkoa@… added
Note: See TracTickets for help on using tickets.