From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Joost Kremers Newsgroups: gmane.emacs.help Subject: Re: Ignoring unknown mode `GNUmakefile-mode' Date: 27 Jun 2016 09:56:59 GMT Message-ID: References: NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1467021642 3313 80.91.229.3 (27 Jun 2016 10:00:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 27 Jun 2016 10:00:42 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jun 27 12:00:41 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bHTLL-0007pv-Tm for geh-help-gnu-emacs@m.gmane.org; Mon, 27 Jun 2016 12:00:40 +0200 Original-Received: from localhost ([::1]:57629 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHTLL-00068E-Aj for geh-help-gnu-emacs@m.gmane.org; Mon, 27 Jun 2016 06:00:39 -0400 Original-Path: usenet.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 20 Original-X-Trace: individual.net Wv01ctPHFLqIHNwVJhLUIglCpvAZYU6t2xbuaYFvBF+hfWqutz Cancel-Lock: sha1:vN3hY0+5w2Fe1DFIbSa2TKkNrGQ= Mail-Copies-To: nobody X-Editor: Emacs of course! User-Agent: slrn/1.0.1 (Linux) Original-Xref: usenet.stanford.edu gnu.emacs.help:218299 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:110608 Archived-At: 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 joostkremers@fastmail.fm Selbst in die Unterwelt dringt durch Spalten Licht EN:SiS(9)