From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: owner@emacsbugs.donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs 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-ID: References: <87prauhud0.fsf@stupidchicken.com> <200908150705.n7F75QHF004092@godzilla.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1250800214-15864-0" X-Trace: ger.gmane.org 1250803897 14435 80.91.229.12 (20 Aug 2009 21:31:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 20 Aug 2009 21:31:37 +0000 (UTC) To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Aug 20 23:31:29 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 1MeFEG-0004hD-P7 for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Aug 2009 23:31:29 +0200 Original-Received: from localhost ([127.0.0.1]:43895 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MeFEG-00013F-77 for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Aug 2009 17:31:28 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MeFEA-00011c-EF for bug-gnu-emacs@gnu.org; Thu, 20 Aug 2009 17:31:22 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MeFE6-000114-Ry for bug-gnu-emacs@gnu.org; Thu, 20 Aug 2009 17:31:22 -0400 Original-Received: from [199.232.76.173] (port=50203 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MeFE6-000111-Oe for bug-gnu-emacs@gnu.org; Thu, 20 Aug 2009 17:31:18 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:52315) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MeFE4-0007El-Ed for bug-gnu-emacs@gnu.org; Thu, 20 Aug 2009 17:31:18 -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 n7KKkpqC019227; Thu, 20 Aug 2009 13:48:12 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n7KKUEbg015930; Thu, 20 Aug 2009 13:30:14 -0700 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: closed 4148 X-Emacs-PR-Package: emacs X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:30383 Archived-At: This is a multi-part message in MIME format... ------------=_1250800214-15864-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Mon, 17 Aug 2009 19:51:39 -0400 with message-id <87prauhud0.fsf@stupidchicken.com> and subject line Re: bug#4148: mode: for a minor mode should turn on, not t= oggle 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 owner@emacsbugs.donarmstrong.com immediately.) --=20 4148: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D4148 Emacs Bug Tracking System Contact owner@emacsbugs.donarmstrong.com with problems ------------=_1250800214-15864-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 15 Aug 2009 07:08:18 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-5.4 required=4.0 tests=AWL,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 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 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 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 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 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 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 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) 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) Date: Sat, 15 Aug 2009 00:05:26 -0700 (PDT) Message-Id: <200908150705.n7F75QHF004092@godzilla.ics.uci.edu> From: Dan Nicolaescu To: bug-gnu-emacs Subject: mode: for a minor mode should turn on, not toggle the mode X-Debbugs-No-Ack: yes Lines: 11 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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) 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. ------------=_1250800214-15864-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 4148-done) by emacsbugs.donarmstrong.com; 17 Aug 2009 23:51:46 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-1.9 required=4.0 tests=AWL,HAS_BUG_NUMBER, MURPHY_DRUGS_REL8 autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from pantheon-po44.its.yale.edu (pantheon-po44.its.yale.edu [130.132.50.78]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7HNpiEI031635 for <4148-done@emacsbugs.donarmstrong.com>; Mon, 17 Aug 2009 16:51:46 -0700 Received: from furry (dhcp128036014244.central.yale.edu [128.36.14.244]) (authenticated bits=0) by pantheon-po44.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id n7HNpd8R021943 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 17 Aug 2009 19:51:39 -0400 Received: by furry (Postfix, from userid 1000) id 7CF5CC070; Mon, 17 Aug 2009 19:51:39 -0400 (EDT) From: Chong Yidong To: Dan Nicolaescu Cc: 4148-done@emacsbugs.donarmstrong.com Subject: Re: bug#4148: mode: for a minor mode should turn on, not toggle the mode References: <874os9vuvd.fsf@cyd.mit.edu> <200908151854.n7FIsSHk009145@godzilla.ics.uci.edu> <87tz07gsap.fsf@cyd.mit.edu> <200908170149.n7H1nrbV022668@godzilla.ics.uci.edu> Date: Mon, 17 Aug 2009 19:51:39 -0400 In-Reply-To: <200908170149.n7H1nrbV022668@godzilla.ics.uci.edu> (Dan Nicolaescu's message of "Sun, 16 Aug 2009 18:49:53 -0700 (PDT)") Message-ID: <87prauhud0.fsf@stupidchicken.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) Dan Nicolaescu 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. ------------=_1250800214-15864-0--