From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.bugs Subject: bug#1672: we should add an emacs/.dir-locals.el Date: Mon, 22 Dec 2008 08:33:15 -0800 (PST) Message-ID: <200812221633.mBMGXFUe000186@mothra.ics.uci.edu> Reply-To: Dan Nicolaescu , 1672@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1229964237 7284 80.91.229.12 (22 Dec 2008 16:43:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 22 Dec 2008 16:43:57 +0000 (UTC) To: bug-gnu-emacs Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Dec 22 17:45:04 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LEnto-0004co-5M for geb-bug-gnu-emacs@m.gmane.org; Mon, 22 Dec 2008 17:44:56 +0100 Original-Received: from localhost ([127.0.0.1]:54070 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LEnsb-0000vu-G5 for geb-bug-gnu-emacs@m.gmane.org; Mon, 22 Dec 2008 11:43:41 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LEnsJ-0000qO-Uv for bug-gnu-emacs@gnu.org; Mon, 22 Dec 2008 11:43:23 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LEnsI-0000pt-D2 for bug-gnu-emacs@gnu.org; Mon, 22 Dec 2008 11:43:23 -0500 Original-Received: from [199.232.76.173] (port=44791 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LEnsI-0000pm-8v for bug-gnu-emacs@gnu.org; Mon, 22 Dec 2008 11:43:22 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:35394) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LEnsH-0007hS-RW for bug-gnu-emacs@gnu.org; Mon, 22 Dec 2008 11:43:22 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBMGhKAl002650; Mon, 22 Dec 2008 08:43:20 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id mBMGZ2vv032032; Mon, 22 Dec 2008 08:35:02 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Dan Nicolaescu Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 22 Dec 2008 16:35:02 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 1672 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.122996361431854 (code B ref -1); Mon, 22 Dec 2008 16:35:02 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 22 Dec 2008 16:33:34 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBMGXVHZ031845 for ; Mon, 22 Dec 2008 08:33:32 -0800 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LEnil-0005bq-0I for bug-gnu-emacs@gnu.org; Mon, 22 Dec 2008 11:33:31 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LEnii-0005Yw-DU for bug-gnu-emacs@gnu.org; Mon, 22 Dec 2008 11:33:30 -0500 Original-Received: from [199.232.76.173] (port=53631 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LEnii-0005Ys-6Z for bug-gnu-emacs@gnu.org; Mon, 22 Dec 2008 11:33:28 -0500 Original-Received: from barrelv2.ics.uci.edu ([128.195.1.114]:54490) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1LEnih-0006EJ-Os for bug-gnu-emacs@gnu.org; Mon, 22 Dec 2008 11:33:28 -0500 Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by barrelv2.ics.uci.edu (8.13.8+Sun/8.13.8) with ESMTP id mBMGXFNm024038 for ; Mon, 22 Dec 2008 08:33:16 -0800 (PST) Original-Received: (from dann@localhost) by mothra.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id mBMGXFUe000186; Mon, 22 Dec 2008 08:33:15 -0800 (PST) Original-Lines: 20 X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: mBMGXFNm024038 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Mon, 22 Dec 2008 11:43:23 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:23433 Archived-At: Given that we want .dir-locals.el to become widely used, we should lead by example and add such a file to the distribution. Here's an example: ((nil . ((indent-tabs-mode . t) (tab-width . 8) (fill-column . 80))) (c-mode . ((c-file-style . "GNU"))) (change-log-mode . ((add-log-time-zone-rule . t))) ("lisp/mail/pmail*" . ((nil . ((change-log-default-name . "ChangeLog.pmail")))))) Some of the things it sets are the default, but some people might change them in their .emacs, so make sure the right values are used in the emacs tree. Another change is to make sure pmail* uses the right ChangeLog file.