From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Antoine Levitt Newsgroups: gmane.emacs.devel Subject: Re: post-command-hook Date: Sun, 03 Apr 2011 00:00:37 +0200 Message-ID: <87pqp4l3ei.fsf@gmail.com> References: <4D95F608.8020501@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1301781674 28095 80.91.229.12 (2 Apr 2011 22:01:14 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 2 Apr 2011 22:01:14 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Apr 03 00:01:08 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 1Q68sV-0002YQ-Hd for ged-emacs-devel@m.gmane.org; Sun, 03 Apr 2011 00:01:07 +0200 Original-Received: from localhost ([127.0.0.1]:38947 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q68sU-0002hf-WD for ged-emacs-devel@m.gmane.org; Sat, 02 Apr 2011 18:01:07 -0400 Original-Received: from [140.186.70.92] (port=46904 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q68sM-0002hW-C4 for emacs-devel@gnu.org; Sat, 02 Apr 2011 18:01:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q68sH-0001Lt-OC for emacs-devel@gnu.org; Sat, 02 Apr 2011 18:00:58 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:52376) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q68sH-0001Lh-ER for emacs-devel@gnu.org; Sat, 02 Apr 2011 18:00:53 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Q68sF-0002Sl-Ti for emacs-devel@gnu.org; Sun, 03 Apr 2011 00:00:51 +0200 Original-Received: from uni14-1-82-233-220-106.fbx.proxad.net ([82.233.220.106]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 03 Apr 2011 00:00:51 +0200 Original-Received: from antoine.levitt by uni14-1-82-233-220-106.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 03 Apr 2011 00:00:51 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 11 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: uni14-1-82-233-220-106.fbx.proxad.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 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:138077 Archived-At: 02/04/11 23:40, Stefan Monnier >> (defun foo () >> (message "foo")) >> (defun bar () >> (message "bar")) >> (add-hook 'post-command-hook 'foo) >> (add-hook 'post-command-hook 'bar nil t) > > I think the patch below fixes it, It fixes my problems, thanks!