GNU bug report logs - #4148
mode: for a minor mode should turn on, not toggle the mode

Previous Next

Package: emacs;

Reported by: Dan Nicolaescu <dann <at> ics.uci.edu>

Date: Sat, 15 Aug 2009 07:15:04 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (Emacs bug Tracking System)
To: Chong Yidong <cyd <at> stupidchicken.com>
Subject: bug#4148: marked as done (mode: for a minor mode should turn on,
 not toggle the mode)
Date: Thu, 20 Aug 2009 20:30:14 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 17 Aug 2009 19:51:39 -0400
with message-id <87prauhud0.fsf <at> stupidchicken.com>
and subject line Re: bug#4148: mode: for a minor mode should turn on, not toggle the mode
has caused the Emacs bug report #4148,
regarding mode: for a minor mode should turn on, not toggle the mode
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact help-debbugs <at> gnu.org
immediately.)


-- 
4148: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=4148
Emacs Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Dan Nicolaescu <dann <at> ics.uci.edu>
To: bug-gnu-emacs <bug-gnu-emacs <at> gnu.org>
Subject: mode: for a minor mode should turn on, not toggle the mode
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.


[Message part 3 (message/rfc822, inline)]
From: Chong Yidong <cyd <at> stupidchicken.com>
To: Dan Nicolaescu <dann <at> ics.uci.edu>
Cc: 4148-done <at> debbugs.gnu.org
Subject: Re: bug#4148: mode: for a minor mode should turn on, not toggle the mode
Date: Mon, 17 Aug 2009 19:51:39 -0400
Dan Nicolaescu <dann <at> ics.uci.edu> 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.

This bug report was last modified 15 years and 280 days ago.

Previous Next


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