From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chad Brown Newsgroups: gmane.emacs.devel Subject: Re: turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode type functions Date: Sun, 4 Apr 2010 09:19:39 -0700 Message-ID: <7BC79A0C-3709-4FD4-A678-0F235B789213@mit.edu> 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 (Apple Message framework v1078) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1270398001 23935 80.91.229.12 (4 Apr 2010 16:20:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 4 Apr 2010 16:20:01 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Apr 04 18:19:57 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 1NySYE-0000OG-KZ for ged-emacs-devel@m.gmane.org; Sun, 04 Apr 2010 18:19:54 +0200 Original-Received: from localhost ([127.0.0.1]:56280 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NySYD-0007tX-UG for ged-emacs-devel@m.gmane.org; Sun, 04 Apr 2010 12:19:54 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NySY8-0007sV-EK for emacs-devel@gnu.org; Sun, 04 Apr 2010 12:19:48 -0400 Original-Received: from [140.186.70.92] (port=59554 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NySY5-0007qQ-Ol for emacs-devel@gnu.org; Sun, 04 Apr 2010 12:19:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NySY3-0004Hj-JA for emacs-devel@gnu.org; Sun, 04 Apr 2010 12:19:45 -0400 Original-Received: from dmz-mailsec-scanner-7.mit.edu ([18.7.68.36]:46518) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NySY3-0004Hf-H5 for emacs-devel@gnu.org; Sun, 04 Apr 2010 12:19:43 -0400 X-AuditID: 12074424-b7b9dae000002832-4b-4bb8bc1e5de8 Original-Received: from mailhub-auth-4.mit.edu (MAILHUB-AUTH-4.MIT.EDU [18.7.62.39]) by dmz-mailsec-scanner-7.mit.edu (Symantec Brightmail Gateway) with SMTP id 84.58.10290.E1CB8BB4; Sun, 4 Apr 2010 12:19:42 -0400 (EDT) Original-Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103]) by mailhub-auth-4.mit.edu (8.13.8/8.9.2) with ESMTP id o34GJgVg017919; Sun, 4 Apr 2010 12:19:42 -0400 Original-Received: from [10.0.1.6] (c-98-247-149-76.hsd1.wa.comcast.net [98.247.149.76]) (authenticated bits=0) (User authenticated as yandros@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id o34GJdL1008944 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Sun, 4 Apr 2010 12:19:41 -0400 (EDT) In-Reply-To: X-Mailer: Apple Mail (2.1078) X-Brightmail-Tracker: AAAAAA== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:123168 Archived-At: On Apr 4, 2010, at 7:26 AM, Stefan Monnier wrote: >> 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. Absolutely. I'm just suggesting that if we get rid of turn-off-foo-mode, then we place emphasis on putting something like the above in the documentation and making it findable, especially in the context of hooks. I was going to suggest just placing a note or ref in whatever spots we current mention turn-off-foo-mode, but grep'ing for turn-off in the current Info tree turns up only turn-off-backup in gnus. Thanks, *Chad