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: Sat, 3 Apr 2010 12:43:51 -0700 Message-ID: <622A6B6A-AC87-4229-B40D-CCD28A3B5C25@mit.edu> References: <50365.130.55.132.97.1270318658.squirrel@webmail.lanl.gov> 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 1270323856 13337 80.91.229.12 (3 Apr 2010 19:44:16 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 3 Apr 2010 19:44:16 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Apr 03 21:44:10 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 1Ny9GI-00049K-RL for ged-emacs-devel@m.gmane.org; Sat, 03 Apr 2010 21:44:07 +0200 Original-Received: from localhost ([127.0.0.1]:52865 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ny9GH-0006vD-W6 for ged-emacs-devel@m.gmane.org; Sat, 03 Apr 2010 15:44:06 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ny9GA-0006n3-CS for emacs-devel@gnu.org; Sat, 03 Apr 2010 15:43:58 -0400 Original-Received: from [140.186.70.92] (port=57901 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ny9G9-0006ih-0k for emacs-devel@gnu.org; Sat, 03 Apr 2010 15:43:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ny9G7-0006kr-Ss for emacs-devel@gnu.org; Sat, 03 Apr 2010 15:43:56 -0400 Original-Received: from dmz-mailsec-scanner-3.mit.edu ([18.9.25.14]:47912) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ny9G7-0006kn-QA for emacs-devel@gnu.org; Sat, 03 Apr 2010 15:43:55 -0400 X-AuditID: 1209190e-b7b82ae000005260-2e-4bb79a7bcbbc Original-Received: from mailhub-auth-2.mit.edu (MAILHUB-AUTH-2.MIT.EDU [18.7.62.36]) by dmz-mailsec-scanner-3.mit.edu (Symantec Brightmail Gateway) with SMTP id 9D.1B.21088.B7A97BB4; Sat, 3 Apr 2010 15:43:55 -0400 (EDT) Original-Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103]) by mailhub-auth-2.mit.edu (8.13.8/8.9.2) with ESMTP id o33JhsKu019933 for ; Sat, 3 Apr 2010 15:43:55 -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 o33Jhq01002162 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT) for ; Sat, 3 Apr 2010 15:43:54 -0400 (EDT) X-Priority: 3 (Normal) In-Reply-To: <50365.130.55.132.97.1270318658.squirrel@webmail.lanl.gov> 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:123144 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. I don't expect this to be the most common use case, so if we don't want to leave in/create more turn-off-minor-mode functions, we could perhaps provide explicit instructions for a turn-off in hook form in the documentation? For example, when looking at hideshow recently, I saw that it included a suggestion to consider adding to .emacs: (add-hook 'ediff-prepare-buffer-hook 'turn-off-hideshow) If this has already been covered I apologize for wasting time. Thanks, *Chad