From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lynbech Christian Newsgroups: gmane.emacs.devel Subject: Re: request: make-frame-visible hook Date: Thu, 19 Feb 2009 14:24:00 +0100 Message-ID: References: <87zlgjis69.fsf@earthlink.net> <87vdr7i5cc.fsf@earthlink.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1235049876 5769 80.91.229.12 (19 Feb 2009 13:24:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 19 Feb 2009 13:24:36 +0000 (UTC) Cc: emacs-devel@gnu.org To: John J Foerch Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 19 14:25:51 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1La8uU-0005x5-B0 for ged-emacs-devel@m.gmane.org; Thu, 19 Feb 2009 14:25:50 +0100 Original-Received: from localhost ([127.0.0.1]:38293 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1La8t8-0006na-Ax for ged-emacs-devel@m.gmane.org; Thu, 19 Feb 2009 08:24:26 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1La8sq-0006nB-EB for emacs-devel@gnu.org; Thu, 19 Feb 2009 08:24:08 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1La8so-0006mz-6k for emacs-devel@gnu.org; Thu, 19 Feb 2009 08:24:07 -0500 Original-Received: from [199.232.76.173] (port=47356 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1La8sn-0006mq-7K for emacs-devel@gnu.org; Thu, 19 Feb 2009 08:24:05 -0500 Original-Received: from ebb06.tieto.com ([131.207.168.38]:60767 helo=ebb06.tietoenator.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1La8sm-0003Es-C7 for emacs-devel@gnu.org; Thu, 19 Feb 2009 08:24:04 -0500 X-AuditID: 83cfa826-a7b56bb000000814-1a-499d5d737179 Original-Received: from camaro.eu.tieto.com (unknown [192.176.143.43]) by ebb06.tietoenator.com (SMTP Mailer) with ESMTP id 2584536A4A4; Thu, 19 Feb 2009 15:24:03 +0200 (EET) Original-Received: from ul000205.eu.tieto.com ([10.48.99.12]) by camaro.eu.tieto.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 19 Feb 2009 14:24:02 +0100 In-Reply-To: <87vdr7i5cc.fsf@earthlink.net> (John J. Foerch's message of "Wed, 18 Feb 2009 20:27:15 -0500") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux) X-OriginalArrivalTime: 19 Feb 2009 13:24:02.0764 (UTC) FILETIME=[54D298C0:01C99295] X-Brightmail-Tracker: AAAAAQ2ublk= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:109218 Archived-At: I do not know if you caught this, just want to make sure that you do, but as Stefan hinted you can fix the problem yourself. Just make sure dframe is loaded, overwrite the entry with your own function which runs a hook where you then stores anything that was in special-event-map before you put your own little function there. Alternatively you can consider using post-command-hook, this is run all the time and this particular problem should not pose a performance problem. ------------------------+----------------------------------------------------- Christian Lynbech | christian #\@ defun #\. dk ------------------------+----------------------------------------------------- Hit the philistines three times over the head with the Elisp reference manual. - petonic@hal.com (Michael A. Petonic)