all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Teemu Likonen <tlikonen@iki.fi>
To: Leo <sdl.web@gmail.com>
Cc: 3430@emacsbugs.donarmstrong.com
Subject: bug#3430: 23.0.94; cannot enable two minor modes in .dir-locals.el
Date: Mon, 15 Jun 2009 20:26:28 +0300	[thread overview]
Message-ID: <8763exe7cr.fsf@iki.fi> (raw)
In-Reply-To: <xbaitz2ynx2v.fsf@cam.ac.uk> (Leo's message of "Tue, 02 Jun 2009 22:29:44 +0100")

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





  reply	other threads:[~2009-06-15 17:26 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4k3a9s21ka.fsf@fencepost.gnu.org>
2009-05-31 14:37 ` bug#3430: 23.0.94; cannot enable two minor modes in .dir-locals.el Leo
2009-06-02 21:29   ` Leo
2009-06-15 17:26     ` Teemu Likonen [this message]
2009-06-18  0:42       ` Glenn Morris
2009-06-18  0:50         ` Processed (with 1 errors): " Emacs bug Tracking System
2009-06-18  1:40         ` Leo
2009-06-18  2:29           ` Glenn Morris
2009-06-18  2:35             ` Processed: " Emacs bug Tracking System
2009-06-18  2:40             ` Glenn Morris
2009-06-18 10:43               ` Leo
2009-06-18 10:38             ` Leo
2009-06-22  7:05   ` bug#3430: marked as done (23.0.94; cannot enable two minor modes in .dir-locals.el) Emacs bug Tracking System

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=8763exe7cr.fsf@iki.fi \
    --to=tlikonen@iki.fi \
    --cc=3430@emacsbugs.donarmstrong.com \
    --cc=sdl.web@gmail.com \
    /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.