From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#6337: 24.0.50; doc of define-minor-mode incomplete wrt mode hooks Date: Wed, 02 Jun 2010 21:56:30 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1275530283 6209 80.91.229.12 (3 Jun 2010 01:58:03 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 3 Jun 2010 01:58:03 +0000 (UTC) Cc: 6337@debbugs.gnu.org To: "Drew Adams" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jun 03 03:58:01 2010 connect(): No such file or directory 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.69) (envelope-from ) id 1OJzh1-0006st-IB for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 Jun 2010 03:57:59 +0200 Original-Received: from localhost ([127.0.0.1]:48948 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OJzh0-0007mB-Es for geb-bug-gnu-emacs@m.gmane.org; Wed, 02 Jun 2010 21:57:58 -0400 Original-Received: from [140.186.70.92] (port=52932 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OJzgq-0007ip-SZ for bug-gnu-emacs@gnu.org; Wed, 02 Jun 2010 21:57:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OJzgp-0005jp-Og for bug-gnu-emacs@gnu.org; Wed, 02 Jun 2010 21:57:48 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33131) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OJzgp-0005jk-K7 for bug-gnu-emacs@gnu.org; Wed, 02 Jun 2010 21:57:47 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OJzg6-00089e-7S; Wed, 02 Jun 2010 21:57:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 03 Jun 2010 01:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6337 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6337-submit@debbugs.gnu.org id=B6337.127553019631337 (code B ref 6337); Thu, 03 Jun 2010 01:57:02 +0000 Original-Received: (at 6337) by debbugs.gnu.org; 3 Jun 2010 01:56:36 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OJzff-00089O-PL for submit@debbugs.gnu.org; Wed, 02 Jun 2010 21:56:36 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OJzfe-00089J-1V for 6337@debbugs.gnu.org; Wed, 02 Jun 2010 21:56:34 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAI6oBkxFpYiT/2dsb2JhbACeI3LAFoUWBIxW X-IronPort-AV: E=Sophos;i="4.53,350,1272859200"; d="scan'208";a="67127515" Original-Received: from 69-165-136-147.dsl.teksavvy.com (HELO pastel.home) ([69.165.136.147]) by ironport2-out.pppoe.ca with ESMTP; 02 Jun 2010 21:56:30 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 26FAA81F8; Wed, 2 Jun 2010 21:56:30 -0400 (EDT) In-Reply-To: (Drew Adams's message of "Wed, 2 Jun 2010 17:03:30 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 02 Jun 2010 21:57:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org 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:37497 Archived-At: > The doc (doc string and Elisp manual) speaks about the MODE-hook, where > MODE is the name of the minor mode. But it does not mention that there > is also a `MODE-on-hook' and a `MODE-off-hook'. That is, if you define > those hook variables they to will be processed by the mode command. They're only supported for historical reasons. We could/should probably get rid of them. Stefan