From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Reuben Thomas Newsgroups: gmane.emacs.bugs Subject: bug#18188: Please make it possible to have a directory-local setting for auto-mode-alist Date: Mon, 4 Aug 2014 11:28:18 +0100 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e011609d092dd7904ffcb322d X-Trace: ger.gmane.org 1407148154 27265 80.91.229.3 (4 Aug 2014 10:29:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 4 Aug 2014 10:29:14 +0000 (UTC) To: 18188@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Aug 04 12:29:09 2014 Return-path: Envelope-to: geb-bug-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 1XEFVt-0005mY-4a for geb-bug-gnu-emacs@m.gmane.org; Mon, 04 Aug 2014 12:29:09 +0200 Original-Received: from localhost ([::1]:51419 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XEFVs-0005lQ-Hq for geb-bug-gnu-emacs@m.gmane.org; Mon, 04 Aug 2014 06:29:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33876) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XEFVo-0005lJ-3E for bug-gnu-emacs@gnu.org; Mon, 04 Aug 2014 06:29:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XEFVn-0005KN-1V for bug-gnu-emacs@gnu.org; Mon, 04 Aug 2014 06:29:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49732) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XEFVm-0005KH-UW for bug-gnu-emacs@gnu.org; Mon, 04 Aug 2014 06:29:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XEFVm-0005Mp-F9 for bug-gnu-emacs@gnu.org; Mon, 04 Aug 2014 06:29:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Reuben Thomas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 04 Aug 2014 10:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 18188 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-emacs Original-Received: via spool by submit@debbugs.gnu.org id=B.140714811420586 (code B ref -1); Mon, 04 Aug 2014 10:29:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 4 Aug 2014 10:28:34 +0000 Original-Received: from localhost ([127.0.0.1]:56674 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XEFVJ-0005Lx-Ff for submit@debbugs.gnu.org; Mon, 04 Aug 2014 06:28:33 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:60326) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XEFVG-0005Lh-Kn for submit@debbugs.gnu.org; Mon, 04 Aug 2014 06:28:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XEFV9-0005EJ-S6 for submit@debbugs.gnu.org; Mon, 04 Aug 2014 06:28:25 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:45624) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XEFV9-0005EB-PS for submit@debbugs.gnu.org; Mon, 04 Aug 2014 06:28:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33801) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XEFV8-0005XZ-OJ for bug-gnu-emacs@gnu.org; Mon, 04 Aug 2014 06:28:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XEFV7-0005Di-Oe for bug-gnu-emacs@gnu.org; Mon, 04 Aug 2014 06:28:22 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:34624) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XEFV7-0005Dc-Lt for bug-gnu-emacs@gnu.org; Mon, 04 Aug 2014 06:28:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57947) by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1XEFV7-00062S-Fq for bug-emacs@gnu.org; Mon, 04 Aug 2014 06:28:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XEFV6-0005DJ-Ad for bug-emacs@gnu.org; Mon, 04 Aug 2014 06:28:21 -0400 Original-Received: from mail-la0-x22b.google.com ([2a00:1450:4010:c03::22b]:45201) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XEFV6-0005Cu-31 for bug-emacs@gnu.org; Mon, 04 Aug 2014 06:28:20 -0400 Original-Received: by mail-la0-f43.google.com with SMTP id hr17so5176794lab.2 for ; Mon, 04 Aug 2014 03:28:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sc3d.org; s=google; h=mime-version:date:message-id:subject:from:to:content-type; bh=s+AvgNLR74hOW7WITe3lz2zB80j3wLQI3kZij0h9aSg=; b=catv1C0toOAW2ZiW54I1gTFvaD1Hs3lSog5anP+NyEN7vqE/HVbtR24IkEIjkTaNQM J/z2O2O9pxh/fOq9IqDD1asqUbrzNZQvgcyPehuFKdLUnycApKyaGNuBHv/9eOmVUkyX 82MWAT/IYnOhXYp14DbrnIEIB11iUjLPBScS4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=s+AvgNLR74hOW7WITe3lz2zB80j3wLQI3kZij0h9aSg=; b=Jc+cR3GIJC1uj2WQz+f67vSHpVGO8oNICuqLeWLgJ4CaklqBVygZ5OdyXQ0j7KG7NF CfHapHrD6qciFCf1/p6MIe+enobKevxPphIWqWTTbh6FFXJcpvW3KWZMO8bL/0vCxEJt 2V0Z02y0ym6JD+qluRW53VmEWsTa14THMtuTu0DN0eAY85v44+FySyXTu2GQ0sBM5wg+ aSfA1JT4NULAQHfh7FVG8Ws20BSE1csHdETx3KdzO8oqYlfshOhMdWnWYC8kLEn9U74v LSCiZykw6UQhZQcUITBGaNXLO6oUPexNzrYRQvA3A4yEL69J4zkUZ0jcu0UKVrtStji2 beaw== X-Gm-Message-State: ALoCoQkEwbKQ9rPas3H6ndG2L1xVWsN0+Kfjhn8Eho/n7RusTiHnhVcOF/RJLK27EFCOGAPSwF6U X-Received: by 10.112.138.195 with SMTP id qs3mr21639494lbb.49.1407148098770; Mon, 04 Aug 2014 03:28:18 -0700 (PDT) Original-Received: by 10.152.246.10 with HTTP; Mon, 4 Aug 2014 03:28:18 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:92095 Archived-At: --089e011609d092dd7904ffcb322d Content-Type: text/plain; charset=UTF-8 I'd like to use a different major mode for Javascript files in a particular project from the one I use by default. At present this seems to be easy to achieve only by changing auto-mode-alist; changing this idempotently in .dir-locals.el is tricky. As per http://lists.gnu.org/archive/html/help-gnu-emacs/2011-01/msg00363.html , where Stefan Monnier said he thought this was a reasonable idea and a bug should be filed, and as per http://lists.gnu.org/archive/html/help-gnu-emacs/2011-01/msg00579.html where Ted Zlatonov noticed that the original requester had not filed a bug, I'm requesting this feature. -- http://rrt.sc3d.org --089e011609d092dd7904ffcb322d Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I'd like to use a different major mode for Javascript = files in a particular project from the one I use by default. At present thi= s seems to be easy to achieve only by changing auto-mode-alist; changing th= is idempotently in .dir-locals.el is tricky.

As per http://lists.gnu.org/archive/html/help-gnu-emacs/2011-01= /msg00363.html , where Stefan Monnier said he thought this was a reason= able idea and a bug should be filed, and as per http://lists.gnu.or= g/archive/html/help-gnu-emacs/2011-01/msg00579.html where Ted Zlatonov = noticed that the original requester had not filed a bug, I'm requesting= this feature.
--089e011609d092dd7904ffcb322d--