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: Fundamental mode vs. special mode Date: Tue, 25 Oct 2011 16:02:51 -0400 Message-ID: References: <86sjmkvl80.fsf@googlemail.com> <878vob4zq0.fsf@gnu.org> <878vo9vlr5.fsf@gnu.org> <87obx5zq2b.fsf@gnu.org> <4EA6D1A3.5040604@cs.ucla.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; CHARSET=US-ASCII Content-Transfer-Encoding: 7BIT X-Trace: dough.gmane.org 1319572981 17784 80.91.229.12 (25 Oct 2011 20:03:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 25 Oct 2011 20:03:01 +0000 (UTC) Cc: emacs-devel@gnu.org To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 25 22:02:57 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 1RInD7-0008LS-7x for ged-emacs-devel@m.gmane.org; Tue, 25 Oct 2011 22:02:57 +0200 Original-Received: from localhost ([::1]:57751 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RInD6-000529-LP for ged-emacs-devel@m.gmane.org; Tue, 25 Oct 2011 16:02:56 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:39643) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RInD3-00051r-J4 for emacs-devel@gnu.org; Tue, 25 Oct 2011 16:02:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RInD2-0001Ua-N8 for emacs-devel@gnu.org; Tue, 25 Oct 2011 16:02:53 -0400 Original-Received: from relais.videotron.ca ([24.201.245.36]:42007) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RInD2-0001UV-HT for emacs-devel@gnu.org; Tue, 25 Oct 2011 16:02:52 -0400 Original-Received: from ceviche.home ([173.176.12.77]) by VL-VM-MR006.ip.videotron.ca (Oracle Communications Messaging Exchange Server 7u4-22.01 64bit (built Apr 21 2011)) with ESMTP id <0LTN000RJ10PBEB0@VL-VM-MR006.ip.videotron.ca> for emacs-devel@gnu.org; Tue, 25 Oct 2011 16:02:50 -0400 (EDT) Original-Received: by ceviche.home (Postfix, from userid 20848) id 69D2A660D4; Tue, 25 Oct 2011 16:02:51 -0400 (EDT) In-reply-to: <4EA6D1A3.5040604@cs.ucla.edu> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 24.201.245.36 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:145527 Archived-At: >> 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. 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). Stefan