From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Leo Newsgroups: gmane.emacs.devel Subject: Re: Why post-command-hook so difficult to debug? Date: Fri, 24 Aug 2012 15:59:35 +0800 Message-ID: References: <87y5l5sbcq.fsf@thinkpad.tsdh.de> <87r4qwddku.fsf@thinkpad.tsdh.de> <87ipc8dbeq.fsf@thinkpad.tsdh.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1345795203 7633 80.91.229.3 (24 Aug 2012 08:00:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 24 Aug 2012 08:00:03 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 24 10:00:02 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1T4ooE-0000lS-6v for ged-emacs-devel@m.gmane.org; Fri, 24 Aug 2012 10:00:02 +0200 Original-Received: from localhost ([::1]:37681 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T4ooC-00028H-MK for ged-emacs-devel@m.gmane.org; Fri, 24 Aug 2012 04:00:00 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:37601) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T4ooA-000286-F1 for emacs-devel@gnu.org; Fri, 24 Aug 2012 03:59:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T4oo9-0002OX-4u for emacs-devel@gnu.org; Fri, 24 Aug 2012 03:59:58 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:49042) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T4oo8-0002OR-UT for emacs-devel@gnu.org; Fri, 24 Aug 2012 03:59:57 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1T4oo3-0000V8-FI for emacs-devel@gnu.org; Fri, 24 Aug 2012 09:59:51 +0200 Original-Received: from 119.255.41.67 ([119.255.41.67]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 24 Aug 2012 09:59:51 +0200 Original-Received: from sdl.web by 119.255.41.67 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 24 Aug 2012 09:59:51 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 13 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 119.255.41.67 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (OS X 10.8) Cancel-Lock: sha1:GUm2oBCa3G/pOVMPGzltPfRjQzg= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:152792 Archived-At: On 2012-08-24 14:58 +0800, Tassilo Horn wrote: > Yes. To be extra sure, I added a > > (assert (null (remove-if 'stringp completions))) > > which doesn't trigger any error, but the error in > `completion-in-region--postch' is still there... In that case I have no idea. I was lucky because I found the error in the completion functions. post-command-hook is difficult to debug (I did it by guesswork). Leo