From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Teemu Likonen Newsgroups: gmane.emacs.bugs Subject: bug#3430: 23.0.94; cannot enable two minor modes in .dir-locals.el Date: Mon, 15 Jun 2009 20:26:28 +0300 Message-ID: <8763exe7cr.fsf@iki.fi> References: Reply-To: Teemu Likonen , 3430@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 1245087554 13626 80.91.229.12 (15 Jun 2009 17:39:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 15 Jun 2009 17:39:14 +0000 (UTC) Cc: 3430@emacsbugs.donarmstrong.com To: Leo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jun 15 19:39:10 2009 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 1MGG9F-0003pj-KK for geb-bug-gnu-emacs@m.gmane.org; Mon, 15 Jun 2009 19:39:10 +0200 Original-Received: from localhost ([127.0.0.1]:54356 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MGG9F-0001Gu-2E for geb-bug-gnu-emacs@m.gmane.org; Mon, 15 Jun 2009 13:39:09 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MGG7e-0007Tf-Fk for bug-gnu-emacs@gnu.org; Mon, 15 Jun 2009 13:37:30 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MGG7Z-0007LT-AF for bug-gnu-emacs@gnu.org; Mon, 15 Jun 2009 13:37:29 -0400 Original-Received: from [199.232.76.173] (port=54956 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MGG7Y-0007L5-SN for bug-gnu-emacs@gnu.org; Mon, 15 Jun 2009 13:37:24 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:39571) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MGG7X-0000MK-6h for bug-gnu-emacs@gnu.org; Mon, 15 Jun 2009 13:37:23 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n5FHbKqY008567; Mon, 15 Jun 2009 10:37:21 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n5FHZ6Z2007910; Mon, 15 Jun 2009 10:35:06 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Teemu Likonen Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 15 Jun 2009 17:35:06 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 3430 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 3430-submit@emacsbugs.donarmstrong.com id=B3430.12450867956854 (code B ref 3430); Mon, 15 Jun 2009 17:35:06 +0000 Original-Received: (at 3430) by emacsbugs.donarmstrong.com; 15 Jun 2009 17:26:35 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from jenni2.inet.fi (mta-out.inet.fi [195.156.147.13]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n5FHQU1g006847 for <3430@emacsbugs.donarmstrong.com>; Mon, 15 Jun 2009 10:26:31 -0700 Original-Received: from mithlond.arda.local (80.220.180.181) by jenni2.inet.fi (8.5.014) id 49F5CB6401D109BF; Mon, 15 Jun 2009 20:26:29 +0300 Original-Received: from dtw by mithlond.arda.local with local (Exim 4.69) (envelope-from ) id 1MGFwy-0004CU-JB; Mon, 15 Jun 2009 20:26:28 +0300 In-Reply-To: (Leo's message of "Tue, 02 Jun 2009 22:29:44 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.94 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Mon, 15 Jun 2009 13:37:29 -0400 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:28721 Archived-At: On 2009-06-02 22:29 (+0100), Leo wrote: > On 2009-05-31 15:37 +0100, Leo wrote: >> Please describe exactly what actions triggered the bug >> and the precise symptoms of the bug: >> >> My LaTeX project setting looks like this: >> >> ((latex-mode . ((auto-fill-function . nil) >> (fill-column . 90) >> (mode . outline-minor) >> (mode . longlines) >> (coding . "latin-1")))) >> >> i.e. I want to enable two minor modes for all .TeX files among other >> things. >> >> I start with Emacs -q and open a .TeX in that project, only longlines is >> enabled. Do you think this is a bug? Thank you. >> >> This is tested on GNU Emacs 23.0.94.1 (i386-apple-darwin9.7.0, NS >> apple-appkit-949.46) of 2009-05-23 on 200.sub-75-216-116.myvzw.com >> >> Leo > > Any comment on this bug? Can you reproduce it? Thank you. I can reproduce this. Just create a file .dir-locals.el somewhere with content like this: ((nil . ((mode . auto-fill) (mode . outline-minor)))) When files in that directory are opened only the last mode (outline-minor) in the alist is turned on. A side note: It seems that directory local variables feature is still in a half-finished shape: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=1986 http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3572 http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3577