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: Sat, 02 Apr 2011 10:36:28 +0200 Message-ID: <87oc4p9hir.fsf@gmail.com> References: <4D95F608.8020501@gmx.at> <87k4fd3kzh.fsf@gmail.com> <4D96C9F5.6020109@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1301733806 32616 80.91.229.12 (2 Apr 2011 08:43:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 2 Apr 2011 08:43:26 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Apr 02 10:43:22 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 1Q5wQR-0003sR-J7 for ged-emacs-devel@m.gmane.org; Sat, 02 Apr 2011 10:43:21 +0200 Original-Received: from localhost ([127.0.0.1]:33813 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q5wQQ-0007ri-Ax for ged-emacs-devel@m.gmane.org; Sat, 02 Apr 2011 04:43:18 -0400 Original-Received: from [140.186.70.92] (port=59937 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q5wPT-0007Hj-Og for emacs-devel@gnu.org; Sat, 02 Apr 2011 04:42:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q5wPR-0003NM-Pe for emacs-devel@gnu.org; Sat, 02 Apr 2011 04:42:18 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:41238) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q5wPR-0003NE-Jo for emacs-devel@gnu.org; Sat, 02 Apr 2011 04:42:17 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Q5wK0-0000pT-8q for emacs-devel@gnu.org; Sat, 02 Apr 2011 10:36:40 +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 ; Sat, 02 Apr 2011 10:36:40 +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 ; Sat, 02 Apr 2011 10:36:40 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 21 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:138055 Archived-At: 02/04/11 09:02, martin rudalics >> Ah, this is probably related to the bug I'm seeing >> (http://permalink.gmane.org/gmane.emacs.devel/137894). This setup should >> be easier to debug though. >> >> I think buffer-local post-command-hooks are messed up somehow (the other >> code that triggers the bug also uses local hooks), but I can't figure >> out the part that introduced it in > > Juanma and me suppose it's revno:103769 > (revid:monnier@iro.umontreal.ca-20110328202635-2t9ij68etiasfyy2). Yup, that's what I thought too. > Somewhere in run_hook_with_args, I suppose. Unfortunately, that change > also involves some code cleanup so I was not able so far to track this > down. Moreover it makes working with the trunk currently impossible for > me :-( Stefan should take a look, but I guess he's busy with the lexbind merge right now :) I'm simply using an old revision for the time being.