From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: request: make-frame-visible hook Date: Fri, 20 Feb 2009 21:23:32 -0500 Message-ID: References: <87zlgjis69.fsf@earthlink.net> <87vdr7i5cc.fsf@earthlink.net> <87ljs199so.fsf@catnip.gol.com> <877i3ky1wn.fsf@kfs-lx.rd.rdm> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1235183029 30052 80.91.229.12 (21 Feb 2009 02:23:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 21 Feb 2009 02:23:49 +0000 (UTC) Cc: emacs-devel@gnu.org, Miles Bader To: storm@cua.dk (Kim F. Storm) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Feb 21 03:25:04 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 1LahY7-00041k-CS for ged-emacs-devel@m.gmane.org; Sat, 21 Feb 2009 03:25:03 +0100 Original-Received: from localhost ([127.0.0.1]:50323 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LahWm-0005ls-VF for ged-emacs-devel@m.gmane.org; Fri, 20 Feb 2009 21:23:40 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LahWj-0005lh-0d for emacs-devel@gnu.org; Fri, 20 Feb 2009 21:23:37 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LahWh-0005lI-Sa for emacs-devel@gnu.org; Fri, 20 Feb 2009 21:23:36 -0500 Original-Received: from [199.232.76.173] (port=35809 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LahWh-0005lE-OV for emacs-devel@gnu.org; Fri, 20 Feb 2009 21:23:35 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:46350) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LahWg-0003jm-5q; Fri, 20 Feb 2009 21:23:34 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AuwEAMr0nklLd+0i/2dsb2JhbACBbtFphA8Gg0o X-IronPort-AV: E=Sophos;i="4.38,244,1233550800"; d="scan'208";a="34171664" Original-Received: from 75-119-237-34.dsl.teksavvy.com (HELO pastel.home) ([75.119.237.34]) by ironport2-out.teksavvy.com with ESMTP; 20 Feb 2009 21:23:33 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 012274B488; Fri, 20 Feb 2009 21:23:32 -0500 (EST) In-Reply-To: <877i3ky1wn.fsf@kfs-lx.rd.rdm> (Kim F. Storm's message of "Sat, 21 Feb 2009 03:11:36 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.90 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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:109268 Archived-At: > IMO, the real problem using post-command-hook is that there is no way to > control the sequence of things that is done via that hook - so if you have > two packages putting stuff on the hook - and they both do something which > modifies either buffer contents or visual appearence - then users may see > different results depending on which package is loaded first. Another problem with it is that it is not always sufficient: stuff can happen in Emacs without post-command-hook being run (e.g. process filters, sentinels, ...). Sometimes per/post-redisplay-hook would be closer to what is needed. Stefan