GNU bug report logs - #2355
23.0.60; Enabling minor-mode disables major mode

Previous Next

Package: emacs;

Reported by: Leo <sdl.web <at> gmail.com>

Date: Tue, 17 Feb 2009 11:55:06 UTC

Severity: minor

Fixed in version 24.1

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #78 received at control <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Glenn Morris <rgm+emacsbugs <at> gnu.org>
To: 3430 <at> debbugs.gnu.org
Subject: Re: bug#3430: 23.0.94; cannot enable two minor modes in .dir-locals.el
Date: Wed, 17 Jun 2009 22:29:42 -0400
tags 2355 =
unmerge 3430
stop

Leo wrote (on Thu, 18 Jun 2009 at 02:40 +0100):

> Are you sure they are the same? If you put two minor modes at the end of
> a file in the local variables section, it works without any problem.

OK; unimagining, this is because dir-locals-collect-mode-variables has
the effect of filtering the dir-locals variables list so that only one
value is allowed for any given key, and the last one wins.



This bug report was last modified 14 years and 20 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.