From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Karl Fogel Newsgroups: gmane.emacs.devel Subject: Re: fundamental-mode-hook Date: Thu, 08 Feb 2007 07:36:38 -0800 Message-ID: <87k5ysveyh.fsf@floss.red-bean.com> References: <45CA70FA.6020002@gmail.com> <877iutvu8v.fsf@floss.red-bean.com> <45CA7F9B.5080808@gmail.com> Reply-To: kfogel@red-bean.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1170916410 29364 80.91.229.12 (8 Feb 2007 06:33:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 8 Feb 2007 06:33:30 +0000 (UTC) Cc: Juanma Barranquero , Emacs Devel To: "Lennart Borgman \(gmail\)" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 08 07:33:26 2007 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.50) id 1HF2qS-0001Ep-L8 for ged-emacs-devel@m.gmane.org; Thu, 08 Feb 2007 07:33:24 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HF2qR-0000WL-Rd for ged-emacs-devel@m.gmane.org; Thu, 08 Feb 2007 01:33:23 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HF2qG-0000Vw-4w for emacs-devel@gnu.org; Thu, 08 Feb 2007 01:33:12 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HF2qD-0000VT-IQ for emacs-devel@gnu.org; Thu, 08 Feb 2007 01:33:10 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HF2qD-0000VN-FF for emacs-devel@gnu.org; Thu, 08 Feb 2007 01:33:09 -0500 Original-Received: from sanpietro.red-bean.com ([66.146.193.61]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1HF2qD-0002xH-5X for emacs-devel@gnu.org; Thu, 08 Feb 2007 01:33:09 -0500 Original-Received: from localhost ([127.0.0.1]:51988 helo=floss.red-bean.com ident=kfogel) by sanpietro.red-bean.com with esmtp (Exim 4.63) (envelope-from ) id 1HF2qC-0002KY-AR; Thu, 08 Feb 2007 00:33:08 -0600 In-Reply-To: <45CA7F9B.5080808@gmail.com> (Lennart Borgman's message of "Thu\, 08 Feb 2007 02\:40\:43 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.93 (gnu/linux) X-detected-kernel: Linux 2.6 (newer, 3) 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:66109 Archived-At: "Lennart Borgman (gmail)" writes: > Juanma Barranquero wrote: > I thought that a hook like (the now non-existent) > fundamental-mode-hook was meant for adding things for minor mode for > example. > > I can not really understand the rational for not having it. There can > still be minor mode active in a buffer with in fundamental-mode, or? > > (And currently Info is incorrect.) I've added the hook now. Thanks, Juanma Barranquero, for the timely archive pointers! 2007-02-08 Karl Fogel * emacs/lisp/simple.el (fundamental-mode-hook): Declare new hook. (fundamental-mode): Run the new dedicated hook, and don't run after-change-major-mode-hooks manually anymore. $ cvs ci -F msg simple.el ChangeLog /cvsroot/emacs/emacs/lisp/simple.el,v <-- simple.el new revision: 1.844; previous revision: 1.843 /cvsroot/emacs/emacs/lisp/ChangeLog,v <-- ChangeLog new revision: 1.10663; previous revision: 1.10662 Mailing notification to emacs-commit@gnu.org... sent. Mailing diffs to emacs-diffs@gnu.org... 2 sent. $ -Karl