From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Robert Thorpe" Newsgroups: gmane.emacs.help Subject: Re: How to apply a minor mode to all buffers Date: 8 Feb 2007 08:26:46 -0800 Organization: http://groups.google.com Message-ID: <1170952006.340668.226190@k78g2000cwa.googlegroups.com> 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="iso-8859-1" X-Trace: sea.gmane.org 1170952922 12537 80.91.229.12 (8 Feb 2007 16:42:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 8 Feb 2007 16:42:02 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Feb 08 17:41:55 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 1HFCLG-0000Rw-J5 for geh-help-gnu-emacs@m.gmane.org; Thu, 08 Feb 2007 17:41:50 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HFCLG-0000Q7-1a for geh-help-gnu-emacs@m.gmane.org; Thu, 08 Feb 2007 11:41:50 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!k78g2000cwa.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 19 Original-NNTP-Posting-Host: 213.94.228.210 Original-X-Trace: posting.google.com 1170952011 24294 127.0.0.1 (8 Feb 2007 16:26:51 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Thu, 8 Feb 2007 16:26:51 +0000 (UTC) In-Reply-To: User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6,gzip(gfe),gzip(gfe) X-HTTP-Via: 1.0 EMF3ASPROXY03 Complaints-To: groups-abuse@google.com Injection-Info: k78g2000cwa.googlegroups.com; posting-host=213.94.228.210; posting-account=hWoAPxMAAAAnBKSBz1ZivwUPPjEuve7bvVCHZQ8rhrluPfwcBJd92w Original-Xref: shelby.stanford.edu gnu.emacs.help:145360 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:40966 Archived-At: On Feb 8, 12:30 pm, "Juanma Barranquero" wrote: > 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. Does that mean that fundamental-mode-hook will run whenever a temp- buffer is created in elisp code?