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 14:53:11 -0400 Message-ID: References: <50365.130.55.132.97.1270318658.squirrel@webmail.lanl.gov> <622A6B6A-AC87-4229-B40D-CCD28A3B5C25@mit.edu> <7BC79A0C-3709-4FD4-A678-0F235B789213@mit.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1270407206 18143 80.91.229.12 (4 Apr 2010 18:53:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 4 Apr 2010 18:53:26 +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 20:53:22 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 1NyUwj-0002bP-HN for ged-emacs-devel@m.gmane.org; Sun, 04 Apr 2010 20:53:21 +0200 Original-Received: from localhost ([127.0.0.1]:46408 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NyUwi-0000x1-QU for ged-emacs-devel@m.gmane.org; Sun, 04 Apr 2010 14:53:20 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NyUwe-0000wk-IG for emacs-devel@gnu.org; Sun, 04 Apr 2010 14:53:16 -0400 Original-Received: from [140.186.70.92] (port=38967 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NyUwd-0000wc-95 for emacs-devel@gnu.org; Sun, 04 Apr 2010 14:53:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NyUwb-0007O5-Pm for emacs-devel@gnu.org; Sun, 04 Apr 2010 14:53:15 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:30477 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NyUwb-0007Nx-NK for emacs-devel@gnu.org; Sun, 04 Apr 2010 14:53:13 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAHJ8uEtFpZE8/2dsb2JhbACbTnKxVIUHBINAh2qDAA X-IronPort-AV: E=Sophos;i="4.51,363,1267419600"; d="scan'208";a="60191456" 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 14:53:12 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id F14F485F0; Sun, 4 Apr 2010 14:53:11 -0400 (EDT) In-Reply-To: <7BC79A0C-3709-4FD4-A678-0F235B789213@mit.edu> (Chad Brown's message of "Sun, 4 Apr 2010 09:19:39 -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:123173 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. > 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. Yes, we should advertise it more. Although I do not intend to get rid of turn-on/off-foo-modes, I do want to discourage their use (I'd like to obsolete them, but currently we don't have any good way to obsolete end-user-functions, since the obsolescence-info is only used by the byte-compiler which the end-user is likely to never run on his .emacs). Stefan