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: Fri, 9 Feb 2007 13:46:16 +0100 Message-ID: References: <877ivkjb66.fsf@trick.ulm.malte.spiess> <873b5gj0ww.wl%leoboiko@gmail.com> <1170952006.340668.226190@k78g2000cwa.googlegroups.com> <1171021686.086446.176640@m58g2000cwm.googlegroups.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 1171025199 3729 80.91.229.12 (9 Feb 2007 12:46:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 9 Feb 2007 12:46:39 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: "Robert Thorpe" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Feb 09 13:46:32 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 1HFV96-0000dB-9S for geh-help-gnu-emacs@m.gmane.org; Fri, 09 Feb 2007 13:46:32 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HFV95-0006Gq-PS for geh-help-gnu-emacs@m.gmane.org; Fri, 09 Feb 2007 07:46:31 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HFV8u-0006Gj-IB for help-gnu-emacs@gnu.org; Fri, 09 Feb 2007 07:46:20 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HFV8s-0006GX-6z for help-gnu-emacs@gnu.org; Fri, 09 Feb 2007 07:46:19 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HFV8s-0006GU-29 for help-gnu-emacs@gnu.org; Fri, 09 Feb 2007 07:46:18 -0500 Original-Received: from nz-out-0506.google.com ([64.233.162.230]) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HFV8r-0004WO-P6 for help-gnu-emacs@gnu.org; Fri, 09 Feb 2007 07:46:17 -0500 Original-Received: by nz-out-0506.google.com with SMTP id s1so742725nze for ; Fri, 09 Feb 2007 04:46:17 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=oxjHyzLnfriqkG/5fFPw2EzdnVuVA74qdQFcfPEAj+DxOCa9E48HZ3ECTUnP5chLTodGKzu80PA/EGgJnkAwBPRcfUPxA6JwwMa+0mHTqsuB/Hmtrm9FzyzXak98GTL9yoJYKPiIlZlsDBDO8TN3GPMVc/SS+aL5qfEhUGSrF04= Original-Received: by 10.114.195.19 with SMTP id s19mr5781012waf.1171025177036; Fri, 09 Feb 2007 04:46:17 -0800 (PST) Original-Received: by 10.114.234.16 with HTTP; Fri, 9 Feb 2007 04:46:16 -0800 (PST) In-Reply-To: <1171021686.086446.176640@m58g2000cwm.googlegroups.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:41011 Archived-At: On 9 Feb 2007 03:48:06 -0800, Robert Thorpe wrote: > Possible solution that would keep elisp programmers and users > happy ... > * Create a new mode, something like absolutely-fundamental-mode. Make > this the mode that get-buffer-create gives a buffer when it is > created, give it no hooks. This should sort out elisp problems. I'd recommend sending this suggestion to the emacs-devel list. > * Put the patch back that you have just reverted I hope that's the generic you, because I didn't revert it :) Anyway, I think the patch wasn't exactly working. At least I tried it and the hook didn't get run in all cases that I would've expected it to. /L/e/k/t/u