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: Sat, 3 Feb 2007 16:29:46 +0100 Message-ID: References: <877ivkjb66.fsf@trick.ulm.malte.spiess> <87lkjgs6lf.wl%leonardo.boiko@corp.orolix.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 1170516652 32534 80.91.229.12 (3 Feb 2007 15:30:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 3 Feb 2007 15:30:52 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: leonardo.boiko@corp.orolix.com Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Feb 03 16:30:46 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 1HDMqi-0000F3-Nq for geh-help-gnu-emacs@m.gmane.org; Sat, 03 Feb 2007 16:30:45 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HDMqi-0006OQ-2M for geh-help-gnu-emacs@m.gmane.org; Sat, 03 Feb 2007 10:30:44 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HDMpq-0006AX-B4 for help-gnu-emacs@gnu.org; Sat, 03 Feb 2007 10:29:50 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HDMpo-00069h-MB for help-gnu-emacs@gnu.org; Sat, 03 Feb 2007 10:29:49 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HDMpn-00069Z-Ux for help-gnu-emacs@gnu.org; Sat, 03 Feb 2007 10:29:48 -0500 Original-Received: from nz-out-0506.google.com ([64.233.162.229]) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HDMpn-0007K9-L9 for help-gnu-emacs@gnu.org; Sat, 03 Feb 2007 10:29:47 -0500 Original-Received: by nz-out-0506.google.com with SMTP id s1so1036149nze for ; Sat, 03 Feb 2007 07:29:47 -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=OkeQozNc/Nm0c0Vdm6brILMgIto0XapXQ5C4mI/7xb9aBgifU7VX/2J7cd47au6zZYTPH/nRDorhVr1zXKgbQQC7c/66miBIApbSHU9jBA60UlR5v2/B7HT2+uBUtdMNlosLO7CzOxJjaWWeXBBRCccBaJQGyhrxWuOjktW83T8= Original-Received: by 10.114.161.11 with SMTP id j11mr465753wae.1170516586506; Sat, 03 Feb 2007 07:29:46 -0800 (PST) Original-Received: by 10.114.234.15 with HTTP; Sat, 3 Feb 2007 07:29:46 -0800 (PST) In-Reply-To: <87lkjgs6lf.wl%leonardo.boiko@corp.orolix.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:40873 Archived-At: On 2/2/07, leoboiko@gmail.com wrote: > I want to be able to run arbitrary functions every time > a buffer is created. Wouldn't it work an `after' defadvice to `get-buffer-create' and `generate-new-buffer'? /L/e/k/t/u