From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: jadamson@partners.org (Joel J. Adamson) Newsgroups: gmane.emacs.help Subject: Re: Speeding up hook function Date: Wed, 19 Mar 2008 13:31:23 -0400 Message-ID: <87zlsuei38.fsf@W0053328.mgh.harvard.edu> References: <87ve3p2xfz.fsf@W0053328.mgh.harvard.edu> <200803190100.m2J10OKp032451@localhost.localdomain> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1205947923 3776 80.91.229.12 (19 Mar 2008 17:32:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 19 Mar 2008 17:32:03 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Xavier Maillard Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Mar 19 18:32:29 2008 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 1Jc29L-0000gU-MU for geh-help-gnu-emacs@m.gmane.org; Wed, 19 Mar 2008 18:32:28 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jc28l-0002Kh-E0 for geh-help-gnu-emacs@m.gmane.org; Wed, 19 Mar 2008 13:31:51 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jc28R-0002KN-Qk for help-gnu-emacs@gnu.org; Wed, 19 Mar 2008 13:31:31 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jc28R-0002Jv-8C for help-gnu-emacs@gnu.org; Wed, 19 Mar 2008 13:31:31 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jc28R-0002Jr-3H for help-gnu-emacs@gnu.org; Wed, 19 Mar 2008 13:31:31 -0400 Original-Received: from phsmgmx10.partners.org ([155.52.251.101]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.60) (envelope-from ) id 1Jc28N-0000Bw-5G; Wed, 19 Mar 2008 13:31:27 -0400 X-IronPort-AV: E=Sophos;i="4.25,525,1199682000"; d="scan'208";a="116244213" Original-Received: from phsxcon3.mgh.harvard.edu (HELO PHSXCON3.partners.org) ([132.183.130.41]) by phsmgmx10.partners.org with ESMTP; 19 Mar 2008 13:31:25 -0400 Original-Received: from PHSXMB8.partners.org ([170.223.201.47]) by PHSXCON3.partners.org with Microsoft SMTPSVC(6.0.3790.3959); Wed, 19 Mar 2008 13:31:25 -0400 Original-Received: from W0053328.mgh.harvard.edu.partners.org ([132.183.29.121]) by PHSXMB8.partners.org with Microsoft SMTPSVC(6.0.3790.3959); Wed, 19 Mar 2008 13:31:24 -0400 In-Reply-To: <200803190100.m2J10OKp032451@localhost.localdomain> (Xavier Maillard's message of "Wed, 19 Mar 2008 02:00:27 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-OriginalArrivalTime: 19 Mar 2008 17:31:25.0218 (UTC) FILETIME=[0E679820:01C889E7] X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. 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:52543 Archived-At: Xavier Maillard writes: > Howdy, > > I've got the following function set as a hook for ibuffer. This closes > all filter groups when I enter ibuffer. > > Do you mean `ibuffer-mode-hook' ? No, ibuffer-hook. > If so, it runs "normally" here with your function. It runs okay, just sometimes it is really slow. What do you mean? Are you seeing something different? Joel -- Joel J. Adamson Biostatistician Pediatric Psychopharmacology Research Unit Massachusetts General Hospital Boston, MA 02114 (617) 643-1432 (303) 880-3109 Public key: http://pgp.mit.edu The information transmitted in this electronic communication is intended only for the person or entity to whom it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this information in error, please contact the Compliance HelpLine at 800-856-1983 and properly dispose of this information.