unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: How in .dir-locals.el make association between file extension and Emacs mode?
Date: Mon, 10 Jan 2011 13:23:43 -0500	[thread overview]
Message-ID: <jwvfwt0aabc.fsf-monnier+gnu.emacs.help@gnu.org> (raw)
In-Reply-To: mailman.0.1294614772.18285.help-gnu-emacs@gnu.org

> I understand how set 'fill-column' via '.dir-local.el'.
> But how set coding system and make association between file extension
> and Emacs modes?

IIUC you want to have a "directory-local" setting for auto-mode-alist,
i.e. some way to specify that "files with name *.foo under this
directory should use bar-mode".

This sounds like an eminently reasonable request, and I don't think you
can do it with .dir-locals.el currently.  So please M-x report-emacs-bug
and request this new feature.


        Stefan


  parent reply	other threads:[~2011-01-10 18:23 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-28 22:31 How in .dir-locals.el make association between file extension and Emacs mode? Oleksandr Gavenko
2011-01-04  7:40 ` Kevin Rodgers
2011-01-04 12:48   ` Oleksandr Gavenko
     [not found]   ` <mailman.0.1294145359.16099.help-gnu-emacs@gnu.org>
2011-01-04 23:11     ` Tim X
2011-01-09 23:12       ` Oleksandr Gavenko
     [not found]       ` <mailman.0.1294614772.18285.help-gnu-emacs@gnu.org>
2011-01-10  0:00         ` Tim X
2011-01-10 18:23         ` Stefan Monnier [this message]
2011-01-19 20:54           ` Ted Zlatanov

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=jwvfwt0aabc.fsf-monnier+gnu.emacs.help@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=help-gnu-emacs@gnu.org \
    /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.
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).