unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Tom Tromey <tom@tromey.com>
Cc: 18721@debbugs.gnu.org
Subject: bug#18721: 25.0.50; choose major mode from .dir-locals.el
Date: Tue, 14 Oct 2014 19:54:41 -0400	[thread overview]
Message-ID: <jwviojmmcm0.fsf-monnier+emacsbugs@gnu.org> (raw)
In-Reply-To: <87ppduza9c.fsf@tromey.com> (Tom Tromey's message of "Tue, 14 Oct 2014 14:06:39 -0600")

> It would be nice if there were a way to associate
> file extensions with major modes in .dir-locals.el.
> This would let projects use project-specific extensions
> without requiring per-file mode cookies or having
> everybody modify their .emacs

Indeed.  Binding .tex to latex-mode would be a common use over here.


        Stefan





  reply	other threads:[~2014-10-14 23:54 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-14 20:06 bug#18721: 25.0.50; choose major mode from .dir-locals.el Tom Tromey
2014-10-14 23:54 ` Stefan Monnier [this message]
2014-10-16 13:23   ` Ted Zlatanov
2017-01-15  2:38 ` bug#18721: patch Tom Tromey
2017-01-15 15:33   ` Eli Zaretskii
2017-01-15 19:22     ` Eli Zaretskii
2017-01-16 19:17     ` Tom Tromey
2021-05-29  4:07       ` bug#18188: Please make it possible to have a directory-local setting for auto-mode-alist Lars Ingebrigtsen
2021-05-29 15:13         ` Tom Tromey
2021-07-23 14:00           ` bug#18188: bug#18721: 25.0.50; choose major mode from .dir-locals.el Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwviojmmcm0.fsf-monnier+emacsbugs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=18721@debbugs.gnu.org \
    --cc=tom@tromey.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).