Comment 4 for bug 246354

Revision history for this message
era (era) wrote :

When opening a Makefile, the default mode is GNUmakefile-mode. Manually switching to M-x makefile-mode works around the problem that std_header.el does not have the correct settings for GNUmakefile-mode. The syntax error in std_comment.el does not seem to affect this at all.

It seems mildly confusing and inconsistent that the general template code for Makefiles is activated even in GNUmakefile-mode, but that the comment lead-in character sequence for the time stamp is not defined in GNUmakefile-mode. Perhaps there is a problem in how GNUmakefile-mode inherits from makefile-mode, rather than in emacs-extra, although my bets would be on the latter.