From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.bugs Subject: bug#4148: mode: for a minor mode should turn on, not toggle the mode Date: Sat, 15 Aug 2009 00:05:26 -0700 (PDT) Message-ID: <200908150705.n7F75QHF004092@godzilla.ics.uci.edu> Reply-To: Dan Nicolaescu , 4148@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 1250321229 26429 80.91.229.12 (15 Aug 2009 07:27:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 15 Aug 2009 07:27:09 +0000 (UTC) To: bug-gnu-emacs Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Aug 15 09:27:02 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 1McDfK-0000PW-7t for geb-bug-gnu-emacs@m.gmane.org; Sat, 15 Aug 2009 09:27:02 +0200 Original-Received: from localhost ([127.0.0.1]:35682 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1McDfJ-0001bG-LE for geb-bug-gnu-emacs@m.gmane.org; Sat, 15 Aug 2009 03:27:01 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1McDfF-0001bB-IH for bug-gnu-emacs@gnu.org; Sat, 15 Aug 2009 03:26:57 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1McDfA-0001ay-Oc for bug-gnu-emacs@gnu.org; Sat, 15 Aug 2009 03:26:56 -0400 Original-Received: from [199.232.76.173] (port=37357 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1McDfA-0001av-Ga for bug-gnu-emacs@gnu.org; Sat, 15 Aug 2009 03:26:52 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:47852) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1McDf9-0002SW-U6 for bug-gnu-emacs@gnu.org; Sat, 15 Aug 2009 03:26:52 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1McDf9-0004kL-1z for bug-gnu-emacs@gnu.org; Sat, 15 Aug 2009 03:26:51 -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 n7F7QnhH032513; Sat, 15 Aug 2009 00:26:49 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n7F7F4Rx030670; Sat, 15 Aug 2009 00:15:04 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Dan Nicolaescu Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 15 Aug 2009 07:15:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 4148 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.125032009829768 (code B ref -1); Sat, 15 Aug 2009 07:15:04 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 15 Aug 2009 07:08:18 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7F78Gpk029765 for ; Sat, 15 Aug 2009 00:08:17 -0700 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1McDNA-0000YS-AJ for bug-gnu-emacs@gnu.org; Sat, 15 Aug 2009 03:08:16 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1McDN4-0000YF-Qs for bug-gnu-emacs@gnu.org; Sat, 15 Aug 2009 03:08:15 -0400 Original-Received: from [199.232.76.173] (port=58623 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1McDN4-0000YC-Mj for bug-gnu-emacs@gnu.org; Sat, 15 Aug 2009 03:08:10 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:46952) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1McDN4-0000Td-44 for bug-gnu-emacs@gnu.org; Sat, 15 Aug 2009 03:08:10 -0400 Original-Received: from barrelv2.ics.uci.edu ([128.195.1.114]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1McDLb-0003rg-3Q for bug-gnu-emacs@gnu.org; Sat, 15 Aug 2009 03:06:39 -0400 Original-Received: from godzilla.ics.uci.edu (godzilla.ics.uci.edu [128.195.10.101]) by barrelv2.ics.uci.edu (8.13.8+Sun/8.13.8) with ESMTP id n7F75Qsq020616 for ; Sat, 15 Aug 2009 00:05:26 -0700 (PDT) Original-Received: (from dann@localhost) by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id n7F75QHF004092; Sat, 15 Aug 2009 00:05:26 -0700 (PDT) Original-Lines: 11 X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: n7F75Qsq020616 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@godzilla.ics.uci.edu X-Detected-Operating-System: by mx20.gnu.org: Solaris 10 (beta) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Detected-Operating-System: by mx20.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Resent-Date: Sat, 15 Aug 2009 03:26:56 -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:30192 Archived-At: 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.