From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: post-command-hook Date: Fri, 01 Apr 2011 17:58:00 +0200 Message-ID: <4D95F608.8020501@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1301673548 17963 80.91.229.12 (1 Apr 2011 15:59:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 1 Apr 2011 15:59:08 +0000 (UTC) To: emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Apr 01 17:59:03 2011 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.69) (envelope-from ) id 1Q5gkX-0003cL-9D for ged-emacs-devel@m.gmane.org; Fri, 01 Apr 2011 17:59:02 +0200 Original-Received: from localhost ([127.0.0.1]:58735 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q5gkL-0002tZ-Mb for ged-emacs-devel@m.gmane.org; Fri, 01 Apr 2011 11:58:49 -0400 Original-Received: from [140.186.70.92] (port=46503 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q5gk3-0002f0-Nx for emacs-devel@gnu.org; Fri, 01 Apr 2011 11:58:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q5gjd-0002v3-E8 for emacs-devel@gnu.org; Fri, 01 Apr 2011 11:58:06 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.23]:40301) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1Q5gjd-0002uK-0f for emacs-devel@gnu.org; Fri, 01 Apr 2011 11:58:05 -0400 Original-Received: (qmail invoked by alias); 01 Apr 2011 15:58:01 -0000 Original-Received: from 62-47-38-252.adsl.highway.telekom.at (EHLO [62.47.38.252]) [62.47.38.252] by mail.gmx.net (mp007) with SMTP; 01 Apr 2011 17:58:01 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX18eRWBcPLgeReQd3Bg8SaeP1X6xI0XyDfPGcybCSV b3SVjD/m/CCRma User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 213.165.64.23 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:138008 Archived-At: After updating my trunk I'm completely lost with the following issue: With emacs -Q, switch to the buffer *Messages*, make it empty and evaluate the following forms in it: (defun foo () (message "foo")) (defun bar () (message "bar")) (add-hook 'post-command-hook 'foo) (add-hook 'post-command-hook 'bar nil t) Now move around that buffer. Here it only runs the local hook function "bar". It does _not_ run the global hook function "foo". All my earlier Emacs versions run both hooks alternately. GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600) of 2011-04-01 on NESTOR Help appreciated, martin