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: Wed, 26 Oct 2011 09:11:53 +0800 Message-ID: <87hb2wlfom.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 1319591538 7666 80.91.229.12 (26 Oct 2011 01:12:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 26 Oct 2011 01:12:18 +0000 (UTC) Cc: Paul Eggert , Stefan Monnier , emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 26 03:12:10 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 1RIs2L-00030H-6q for ged-emacs-devel@m.gmane.org; Wed, 26 Oct 2011 03:12:09 +0200 Original-Received: from localhost ([::1]:53484 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RIs2K-0005eB-Ae for ged-emacs-devel@m.gmane.org; Tue, 25 Oct 2011 21:12:08 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:50890) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RIs2H-0005dv-5V for emacs-devel@gnu.org; Tue, 25 Oct 2011 21:12:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RIs2G-0006Ti-0T for emacs-devel@gnu.org; Tue, 25 Oct 2011 21:12:05 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:53246) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RIs2F-0006Te-VH for emacs-devel@gnu.org; Tue, 25 Oct 2011 21:12:03 -0400 Original-Received: from bb116-14-207-132.singnet.com.sg ([116.14.207.132]:55008 helo=furball) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1RIs2E-0005a1-U0; Tue, 25 Oct 2011 21:12:03 -0400 In-Reply-To: <20111025203051.GA23228@acm.acm> (Alan Mackenzie's message of "Tue, 25 Oct 2011 20:30:51 +0000") 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:145537 Archived-At: Alan Mackenzie writes: >>>> Perhaps something like `first-hook-after-new-major-mode-hook'. >>> >>> Or 'first-after-change-major-mode-hook'? I'd rather not have >>> two 'hook's in the same name. >> >> 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'? I'd rather have something related to the existing hook names. How about `change-major-mode-after-body-hook'? Then the sequence would be change-major-mode-hook change-major-mode-after-body-hook after-change-major-mode-hook