From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-15?Q?Andreas_R=F6hler?= Newsgroups: gmane.emacs.help Subject: Re: Different behaviour while debugging? Date: Fri, 22 Feb 2013 19:56:29 +0100 Message-ID: <5127BF5D.2060402@easy-emacs.de> References: <87mwuzkp8i.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1361559389 3641 80.91.229.3 (22 Feb 2013 18:56:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 22 Feb 2013 18:56:29 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Feb 22 19:56:52 2013 Return-path: Envelope-to: geh-help-gnu-emacs@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 1U8xne-00036i-Vt for geh-help-gnu-emacs@m.gmane.org; Fri, 22 Feb 2013 19:56:51 +0100 Original-Received: from localhost ([::1]:54615 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U8xnK-0004DP-Dk for geh-help-gnu-emacs@m.gmane.org; Fri, 22 Feb 2013 13:56:30 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:46392) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U8xn8-0004C8-5d for help-gnu-emacs@gnu.org; Fri, 22 Feb 2013 13:56:25 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U8xmy-0000pH-OY for help-gnu-emacs@gnu.org; Fri, 22 Feb 2013 13:56:18 -0500 Original-Received: from moutng.kundenserver.de ([212.227.17.9]:62741) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U8xmy-0000p5-FX for help-gnu-emacs@gnu.org; Fri, 22 Feb 2013 13:56:08 -0500 Original-Received: from [192.168.178.21] (brln-4db9e7eb.pool.mediaWays.net [77.185.231.235]) by mrelayeu.kundenserver.de (node=mrbap2) with ESMTP (Nemesis) id 0MgI6w-1UTMBs2c7S-00Nw8t; Fri, 22 Feb 2013 19:56:06 +0100 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130105 Thunderbird/17.0.2 In-Reply-To: <87mwuzkp8i.fsf@gmail.com> X-Provags-ID: V02:K0:uq7TaFN9L5xHWRfq+qKYNCJe4zdC60djBxLCJD0yCio +ykCRndR/GCJ4U5SmLsWxcFBPee0EVacZj4lcIh/NbAUVYXpu8 16ccJaVvZNY6Yw3auThQJGcFiDHucF8GuVKEm8InuXMLyf1EtW 8B1yRewyYW1hDTxFFD42YEvdzTPhAHBz6sFHJPQl2BAco+9SGp ksGcX+dFatFhzx4T7c4SiBGtQe/Sr4rgvvG6jXRyYUWhaidMvx INbMBugVJlOneeCCwXyjL1xjLNBsmq5exRcK5iiWH+/nS68zip wnkWccDR9aH06GKxe9vPyHMX6hEtsC2A/4xLBFqEfnJ0Lz5n4P mMCmmwLvjMl+wazbMGj13zLPfjqGrUArhbMa+S127 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 212.227.17.9 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:89220 Archived-At: Am 20.02.2013 15:57, schrieb Thorsten Jolitz: > > Hi List, > > I have the very strange case that a program - in some special situation > - does not work as expected, but when I instrument the relevant > function(s) for edebug and single-step through them, everythings works > as expected and the output is fine. > > There are no errors involved, so 'toggle-debug-on-error does not help. > Its just that the program should put a buffer temporarily into a given > major-mode and uncomment some comment-lines with 'uncomment-region' before > turning-on Org-mode. > > With other modes it works fine, but in case of html-mode, this step is > simply omitted when running the program as-is, but is successfully > completed when single-stepping with edebug. > > How can that be? Has elisp become just *too* fast for correct program > execution and programs work only reliably when slowed down by debugging? > IMHO that's possible, for example if some function expects faces, which are only there if fontification is done try some (sit-for) then