[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Ignoring unknown mode `GNUmakefile-mode'

From: Joost Kremers
Subject: Re: Ignoring unknown mode `GNUmakefile-mode'
Date: 27 Jun 2016 09:56:59 GMT
User-agent: slrn/1.0.1 (Linux)

Dan Hitt wrote:
> I have a file whose name is not 'makefile', nor 'Makefile', nor 'GNUmakefile'.
> If i visit it using emacs (v 24.5.1, xubuntu 16.04), the modeline
> correctly indicates GNUmakefile.
> But if i add
> # -*- GNUmakefile -*-
> at the top of the file, i get a message:
>     Ignoring unknown mode `GNUmakefile-mode'.

The name displayed in the mode line is not necessarily the actual name
of the major mode. For that, you should inspect the (buffer-local) value
of the variable `major-mode'. Do `C-h v major-mode RET` to check it out.

Joost Kremers                                   address@hidden
Selbst in die Unterwelt dringt durch Spalten Licht

reply via email to

[Prev in Thread] Current Thread [Next in Thread]