From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Hitt Newsgroups: gmane.emacs.help Subject: Ignoring unknown mode `GNUmakefile-mode' Date: Sun, 26 Jun 2016 14:05:28 -0700 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1467017690 7644 80.91.229.3 (27 Jun 2016 08:54:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 27 Jun 2016 08:54:50 +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 10:54:49 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 1bHSJb-0002KT-SG for geh-help-gnu-emacs@m.gmane.org; Mon, 27 Jun 2016 10:54:48 +0200 Original-Received: from localhost ([::1]:57237 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHSJb-0005mc-8M for geh-help-gnu-emacs@m.gmane.org; Mon, 27 Jun 2016 04:54:47 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35562) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHHFD-000381-EI for help-gnu-emacs@gnu.org; Sun, 26 Jun 2016 17:05:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bHHFB-0000M7-Gx for help-gnu-emacs@gnu.org; Sun, 26 Jun 2016 17:05:30 -0400 Original-Received: from mail-vk0-x22a.google.com ([2607:f8b0:400c:c05::22a]:35162) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHHFB-0000Lz-9V for help-gnu-emacs@gnu.org; Sun, 26 Jun 2016 17:05:29 -0400 Original-Received: by mail-vk0-x22a.google.com with SMTP id j2so210150015vkg.2 for ; Sun, 26 Jun 2016 14:05:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=ayM82iByVxf9PjL/tQ6bSgTXzduintZJFkjZc9wqnsk=; b=J4l+1RnMfqownzjEFiMSSn+ZQ/fHwzT+9IFPYoeUx8zfG0CGD5WcSpSEClC8QCMO2s MXbG+tCVUFRTzrGJQaEAJFK7LoFWViT4ZejYfbXFf7Syf/oXf43GSSV5NY9kx0inASvp jxMibANEbpA2tQgGrqtzCNWpsQqOWKKj2m235yukyHPFft0BD7bugrZVAgHYgC7YfNya SAH7SMi73N4HmbME7/3u93aODE3ONqIaXcPv55sBanEzu3G0dzhoAmMXb8cUvadJMEgL N0uus9CyXJet5M7mFiNTuJo/DQkBrnrtPO4qz1mPmsPN685tJfgBJRS7wjIhKXRNVXtX taug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=ayM82iByVxf9PjL/tQ6bSgTXzduintZJFkjZc9wqnsk=; b=VmH3zjnDK2FTcNimIA14K/50mjorjl0vfCjjJXQvr/8yYsQh47ZD3qg2CaMwrIUrkS rWNYwqX/vGkIuq6GqBKZ0calNVJgD0Eh26tYHSeXPcy4BwRWAGHzfQmGEkc1YHBtUP0B i7h54/B3whIJdnIASelfpoV+Jkd9+QxHN3+n5xSTc8Ln9HqleSfc4J2rbUe9GsrBLPjK ZHTfDdz7aVdj705AVLX/sF0JBMRliUmjhLoOo1HLVtrXAEXHzg+ruBn5BLHofeJp3Wsh zUh4hWC2c+aFS0+2wSrbJYWwqIpxBWhkhMu23g6/LE29pxQxN0y3kqWN37nWOqNJZH6c kF/w== X-Gm-Message-State: ALyK8tLxhPw/Nbr18LDP6t067hzR9/Ns+9cC5t7uTbTIl0ADTBSJSMyvJSiqvEyMSsU19JtBBHURn7Kjan5Gnw== X-Received: by 10.31.72.135 with SMTP id v129mr7392770vka.120.1466975128635; Sun, 26 Jun 2016 14:05:28 -0700 (PDT) Original-Received: by 10.159.39.228 with HTTP; Sun, 26 Jun 2016 14:05:28 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400c:c05::22a X-Mailman-Approved-At: Mon, 27 Jun 2016 04:52:51 -0400 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:110605 Archived-At: 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'. This makes me very uneasy, because i don't know how it is detecting the mode, and if i mess up the file, it may no longer recognize it as a GNUmakefile. Also, i don't know if other versions of emacs will be able to recognize that it is a GNUmakefile. Note that i can explicitly set the mode with a line like # -*- Makefile -*- That does not generate any warnings, but the mode line indicates 'Makefile' rather than 'GNUmakefile', which is not really correct since it uses a bunch of GNUmakefile specific things. So . . . is there some way i can instruct emacs, in the text of the file, that i want it to be treated as a GNUmakefile? TIA for any clues! dan PS: i googled for the line in the subject, and was very surprised not to get a single match.