From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: Fontification error backtrace [Was: Why is it so difficult to get a Lisp backtrace?] Date: Tue, 28 Jun 2022 13:43:22 +0200 Message-ID: <87pmitrp2d.fsf@gnus.org> References: <87edzchi3d.fsf@gnus.org> <83sfnsadow.fsf@gnu.org> <83o7yg9f0w.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5017"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jun 28 13:48:04 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o69hM-00011c-6i for ged-emacs-devel@m.gmane-mx.org; Tue, 28 Jun 2022 13:48:04 +0200 Original-Received: from localhost ([::1]:55036 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o69hK-0004Xx-Nj for ged-emacs-devel@m.gmane-mx.org; Tue, 28 Jun 2022 07:48:02 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47878) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o69dA-0008JU-AG for emacs-devel@gnu.org; Tue, 28 Jun 2022 07:43:44 -0400 Original-Received: from quimby.gnus.org ([2a01:4f9:2b:f0f::2]:37306) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o69d8-0007mx-MZ; Tue, 28 Jun 2022 07:43:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=fPEsWZyEooRpLDHgYZzKMgOTDMFQu+bEA+136VY4wZ8=; b=aafpXYM6C3YsFzPCw+irNg1tDA s+xiRdzojRJGnNpixGkR4/USY11IqfqyUnQXAnGZWb3eRTwfKOHZqtvX3NJiu8+B8g/gcN5jZB95Z BqDj8R7w5nvEu1AFHeuXg6wJOyhT2qyAxrIxhxCf4RyBmd1EsRClFPYGKNQsgLA625kU=; Original-Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o69cu-0001eq-5N; Tue, 28 Jun 2022 13:43:34 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAGFBMVEW3qJLax6z03774 5MXo1LaQhHNIQDv///+tiry0AAAAAWJLR0QHFmGI6wAAAAd0SU1FB+YGHAsWHJ2KScEAAAGkSURB VDjLnZQxdoQwDEShcOp4VxcIcICE5ALy6gBOATWNuf8RMpIMIbtsExfA0/doLFmPpu0+T1fTdo8L 8a8TMCSg8Q/oLcnYj50pxBZjX5h0NU0rBgaKHGMUuc2rr5JHUyDKkWLcQJmLAzYJUQUlh0VBEtZM yHWZneT4DY8mMXIxEXFqpkkTrUUVCoiZd48QSnGFIBOyMV8NTNlPBYDNsJeqQLoyeSoFJJFckeGR 3ZxYj8tVUX4BGkIDHr2BZd1SDcLeLldkVVVzrQT+7hF2gP04FJNc54LYCx61QBav8Taj8EVli5qj h4irx2X201YFgBzMQw478DCxH3cKWyrcHQrHa7/BdXknU3A0xfUeoBvW4YNCU5HuJ61wV0xujriO glAK1kL00C6KENIhYU6vTRtjg+9UAVw0oY4ettTZBdD70PkRTCk6I6kC7NPbSIIhtQboAH+YAvVp Njs4OTPwuDbA96A/KLYWwywlB3X/Fh5kGPpnHheAvIHjhssIEM8U3VPw9j+wV8C8fQ0KtHn3Pwdh BSd/EwN0AszjoEgj/if29f4Dg7Xeqqs2rt8AAAAldEVYdGRhdGU6Y3JlYXRlADIwMjItMDYtMjhU MTE6MjI6MjgrMDA6MDB19bP8AAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIyLTA2LTI4VDExOjIyOjI4 KzAwOjAwBKgLQAAAAABJRU5ErkJggg== X-Now-Playing: Rev. Moses Mason's _Anthology of American Folk Music: Social Music (2)_: "John the Baptist" In-Reply-To: (Alan Mackenzie's message of "Mon, 27 Jun 2022 19:48:45 +0000") Received-SPF: pass client-ip=2a01:4f9:2b:f0f::2; envelope-from=larsi@gnus.org; helo=quimby.gnus.org X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:291679 Archived-At: Alan Mackenzie writes: > What it does, on a fontification error during redisplay, is to write a > backtrace into the *Backtrace* buffer, attempts a pop-to-buffer (which > isn't working, not surprisingly), and aborts the redisplay. Sounds promising -- it's very difficult to debug fontification errors currently, so this would be very welcome. > As already noted, the *Backtrace* buffer doesn't appear on the screen, > yet. Any hints on how to achieve this would be most welcome. Is `inhibit-redisplay' non-nil at this point? In that case, `debug' will just exit immediately... -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no