From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode type functions Date: Sun, 04 Apr 2010 10:26:45 -0400 Message-ID: References: <50365.130.55.132.97.1270318658.squirrel@webmail.lanl.gov> <622A6B6A-AC87-4229-B40D-CCD28A3B5C25@mit.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1270391299 5420 80.91.229.12 (4 Apr 2010 14:28:19 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 4 Apr 2010 14:28:19 +0000 (UTC) Cc: emacs-devel@gnu.org To: Chad Brown Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Apr 04 16:28:16 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NyQo9-00053X-T1 for ged-emacs-devel@m.gmane.org; Sun, 04 Apr 2010 16:28:14 +0200 Original-Received: from localhost ([127.0.0.1]:56557 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NyQo9-00017E-AE for ged-emacs-devel@m.gmane.org; Sun, 04 Apr 2010 10:28:13 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NyQmn-0000el-CP for emacs-devel@gnu.org; Sun, 04 Apr 2010 10:26:49 -0400 Original-Received: from [140.186.70.92] (port=45026 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NyQml-0000ea-Ll for emacs-devel@gnu.org; Sun, 04 Apr 2010 10:26:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NyQmk-0003aY-Ju for emacs-devel@gnu.org; Sun, 04 Apr 2010 10:26:47 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:63365 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NyQmk-0003aT-F4 for emacs-devel@gnu.org; Sun, 04 Apr 2010 10:26:46 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAFY+uEtFpZE8/2dsb2JhbACbTXKxAYUHBIsqgwA X-IronPort-AV: E=Sophos;i="4.51,361,1267419600"; d="scan'208";a="60182423" Original-Received: from 69-165-145-60.dsl.teksavvy.com (HELO pastel.home) ([69.165.145.60]) by ironport2-out.pppoe.ca with ESMTP; 04 Apr 2010 10:26:45 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 0ADFE85F0; Sun, 4 Apr 2010 10:26:45 -0400 (EDT) In-Reply-To: <622A6B6A-AC87-4229-B40D-CCD28A3B5C25@mit.edu> (Chad Brown's message of "Sat, 3 Apr 2010 12:43:51 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:123164 Archived-At: > I think either method suggested by Richard would be workable, but I > will point out that I have, in the past, wanted the additional forms > to turn *off* a minor mode in a hook. Of course (lambda () (foo-mode -1)) will still work just fine. Stefan