From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Juanma Barranquero" Newsgroups: gmane.emacs.help Subject: Re: How to apply a minor mode to all buffers Date: Thu, 8 Feb 2007 13:30:30 +0100 Message-ID: References: <877ivkjb66.fsf@trick.ulm.malte.spiess> <873b5gj0ww.wl%leoboiko@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1170937893 16002 80.91.229.12 (8 Feb 2007 12:31:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 8 Feb 2007 12:31:33 +0000 (UTC) To: help-gnu-emacs@gnu.org, leoboiko@gmail.com Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Feb 08 13:31:17 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HF8Qm-0006dT-7C for geh-help-gnu-emacs@m.gmane.org; Thu, 08 Feb 2007 13:31:16 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HF8Ql-0000Hk-L4 for geh-help-gnu-emacs@m.gmane.org; Thu, 08 Feb 2007 07:31:15 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HF8Q4-0008Hu-QF for help-gnu-emacs@gnu.org; Thu, 08 Feb 2007 07:30:32 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HF8Q4-0008Gu-CG for help-gnu-emacs@gnu.org; Thu, 08 Feb 2007 07:30:32 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HF8Q3-0008GG-Lq for help-gnu-emacs@gnu.org; Thu, 08 Feb 2007 07:30:31 -0500 Original-Received: from wr-out-0506.google.com ([64.233.184.234]) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HF8Q3-0001EE-AZ for help-gnu-emacs@gnu.org; Thu, 08 Feb 2007 07:30:31 -0500 Original-Received: by wr-out-0506.google.com with SMTP id 68so486597wri for ; Thu, 08 Feb 2007 04:30:30 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=PgWIMpQ2bicthO4qC3HUXbsAlWNs102JYTqgOFct7MDEAwLeYIqzrlN3tLSyCsMuRJnxhgU0d0S9y/u5ia/jgA5+AX5M17TIZnhlf4I4CNxE5O4LN1rDltYQvtBIbbacTgIV2U60kdwChws1E+bfzcNjc6joUeTSvdDZDZ4Caxk= Original-Received: by 10.114.169.2 with SMTP id r2mr3871500wae.1170937830181; Thu, 08 Feb 2007 04:30:30 -0800 (PST) Original-Received: by 10.114.234.16 with HTTP; Thu, 8 Feb 2007 04:30:30 -0800 (PST) In-Reply-To: <873b5gj0ww.wl%leoboiko@gmail.com> Content-Disposition: inline X-detected-kernel: Linux 2.4-2.6 (Google crawlbot) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:40958 Archived-At: On 2/8/07, Leonardo Boiko wrote: > My argument is: fundamental-mode-hook would be a nice thing to have > because people might want to run elisp code (not just to set > variables) every time a buffer is created. Karl Fogel just checked in such a change: 2007-02-08 Karl Fogel * 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. /L/e/k/t/u