id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	branch_state	votes
1651	user menu: filetype-specific items don't show in 'mc -e' standalone	csigaa	andrew_b	"When called with 'mc -e' or mcedit, the standalone editor doesn't recognize (thus doesn't show the filetype-specific menu items for) the file types defined only by '+ f REGEX'.

For example:
--- entry begins ---
+ y Perl\ Program | f \.pl$
2       while ()
        cat <<EOF > %b
        %iwhile() {
        %i}
        EOF
--- entry ends ---

This shows up in standalone mode, because the type 'Perl\sProgram' is defined in $PREFIX/share/syntax/Syntax, so the file type is recognized correctly.

But:
--- entry begins ---
+ f \.c$ | f \.cc$
3       if ()
        cat <<EOF > %b
        %iif () {
        %i}
        EOF
--- entry ends ---
This doesn't, because mcedit somehow ignores the filename-based file type recognition.

Problem is present in 4.6 and 4.7pre also. 
In 4.7, because the lack of $PREFIX/share/syntax/Syntax file, none of the filetype-specific menu items work in standalone editor mode."	defect	closed	minor	4.7.5	mc-core	master	fixed	filename match user menu					committed-master
