unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: emacs-devel@gnu.org
Subject: Re: lisp/gnus/.dir-locals.el shadows top-level .dir-locals.el
Date: Fri, 26 Apr 2013 15:00:15 -0400	[thread overview]
Message-ID: <jwvy5c56rxi.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <u7ppxh5ilc.fsf@fencepost.gnu.org> (Glenn Morris's message of "Fri, 26 Apr 2013 13:04:31 -0400")

> lisp/gnus has this vital .dir-locals.el:
>   ((emacs-lisp-mode . ((show-trailing-whitespace . t))))
> (Which seems like personal preference to me.)

I tend to agree, tho it might actually reflect a coding convention used
for all of Gnus code.

> Anyway, this prevents the actually-has-useful-content
> (log-edit-rewrite-fixes etc) top-level Emacs .dir-locals.el from
> being seen.

Indeed (I didn't notice it because I always commit from a vc-dir buffer
showing the whole of `emacs' rather than a particular subdirectory).

> The simplest solution seems not to have lisp/gnus/.dir-locals.el in the
> Emacs repo. (Rather than duplicating all the top-level content into the
> Gnus one, or implementing .dir-locals inheritance, desirable though that
> might be.)

I'll let the Gnus people decide what they prefer in the short term, but
dir-locals inheritance would be very welcome.


        Stefan



  reply	other threads:[~2013-04-26 19:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-26 17:04 lisp/gnus/.dir-locals.el shadows top-level .dir-locals.el Glenn Morris
2013-04-26 19:00 ` Stefan Monnier [this message]
2013-05-01  0:13   ` Ted Zlatanov
2013-05-05  4:55     ` Stefan Monnier

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