Subject: bug#4148 closed by Chong Yidong <[email-masked]> (Re: bug#4148: mode: for a minor mode should turn on, not toggle the mode)

From: [email-masked] (Emacs bug Tracking System)
Date: Thu, 20 Aug 2009 20:30:14 +0000

This is an automatic notification regarding your bug report
which was filed against the emacs package:

#4148: mode: for a minor mode should turn on, not toggle the mode

It has been closed by Chong Yidong <[email-masked]>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Chong Yidong <[email-masked]> by
replying to this email.

-- 
4148: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=4148
Emacs Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#4148: mode: for a minor mode should turn on, not toggle the mode
From: Chong Yidong <[email-masked]>
To: Dan Nicolaescu <[email-masked]>
Cc: [email-masked]
Date: Mon, 17 Aug 2009 19:51:39 -0400

Dan Nicolaescu <[email-masked]> writes:

>   > I'm having trouble coming up with a test-case for testing this patch.
>   > Do you have one?
>
> Here's one:

Thanks.  I've checked in the patch.

Subject: mode: for a minor mode should turn on, not toggle the mode
From: Dan Nicolaescu <[email-masked]>
To: bug-gnu-emacs <[email-masked]>
Date: Sat, 15 Aug 2009 00:05:26 -0700 (PDT)

A well known long standing problem:
using 
mode: SOME_MINOR_MODE

in a local variable section (or in .dir-locals.el) toggles the minor
mode, it should turn it on.

So if the user sets a hook to turn on the minor mode in her emacs, when
using a file that sets the same minor mode, the minor mode ends up being
disable.