From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: Fundamental mode vs. special mode Date: Thu, 27 Oct 2011 10:25:47 +0800 Message-ID: <87aa8n891w.fsf@gnu.org> References: <86sjmkvl80.fsf@googlemail.com> <878vob4zq0.fsf@gnu.org> <878vo9vlr5.fsf@gnu.org> <87obx5zq2b.fsf@gnu.org> <4EA6D1A3.5040604@cs.ucla.edu> <20111025203051.GA23228@acm.acm> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1319682382 24510 80.91.229.12 (27 Oct 2011 02:26:22 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 27 Oct 2011 02:26:22 +0000 (UTC) Cc: Alan Mackenzie , eggert@cs.ucla.edu, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 27 04:26:17 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RJFfb-0008LQ-Ur for ged-emacs-devel@m.gmane.org; Thu, 27 Oct 2011 04:26:16 +0200 Original-Received: from localhost ([::1]:51334 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RJFfb-0006hn-24 for ged-emacs-devel@m.gmane.org; Wed, 26 Oct 2011 22:26:15 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:57647) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RJFfY-0006hh-A4 for emacs-devel@gnu.org; Wed, 26 Oct 2011 22:26:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RJFfX-0000oT-GL for emacs-devel@gnu.org; Wed, 26 Oct 2011 22:26:12 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:34308) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RJFfX-0000oN-Ev for emacs-devel@gnu.org; Wed, 26 Oct 2011 22:26:11 -0400 Original-Received: from bb116-14-207-132.singnet.com.sg ([116.14.207.132]:53017 helo=furball) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1RJFfO-0003cz-Uz; Wed, 26 Oct 2011 22:26:03 -0400 In-Reply-To: (Richard Stallman's message of "Wed, 26 Oct 2011 07:50:39 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.10 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:145615 Archived-At: Richard Stallman writes: > > Keep going guys, this is improving. > > Here's my best so far: `before-major-mode-hook' (after all, it's the > > hook run before the major mode's). > > How about `new-major-mode-hook'? > > Why do we want this, given that there is already > change-major-mode-hook and each major mode has a hook? It's used in a change to define-globalized-minor-mode that allows enabled global minor modes to be turned off locally in mode hooks.