all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: 13685@debbugs.gnu.org
Subject: bug#13685: a way to say that dir-locals should only apply to buffers with files
Date: Mon, 11 Feb 2013 21:32:49 -0500	[thread overview]
Message-ID: <qspq06mfce.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <emtxpj7gzs.fsf@fencepost.gnu.org> (Glenn Morris's message of "Sun, 10 Feb 2013 20:53:59 -0500")

Glenn Morris wrote:

> I think there should be some way in a dir-locals file to say
> "these settings should only be applied to buffers with files".
> Sometimes some options are not appropriate for file-less buffers.
> Ref bug#11127.

This seems easy to do, but I don't know what the best UI is.
An element in the dir-locals list:

  (fileonly . t)

or

  (apply-to . files)

The latter allows for

  (apply-to . nonfiles)

as well (though I can't think of a use for that).





       reply	other threads:[~2013-02-12  2:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <emtxpj7gzs.fsf@fencepost.gnu.org>
2013-02-12  2:32 ` Glenn Morris [this message]
2013-02-13  3:24   ` bug#13685: a way to say that dir-locals should only apply to buffers with files Josh
2013-02-13  8:36     ` Andreas Schwab
2013-02-13 17:18       ` Josh
2013-02-21 16:16     ` 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

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

  git send-email \
    --in-reply-to=qspq06mfce.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=13685@debbugs.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.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.