From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] emacs-25 db436e9: Don't call debug on failed cl-assert Date: Fri, 27 Jan 2017 20:59:56 -0500 Message-ID: References: <20161105015720.6371.89806@vcs.savannah.gnu.org> <20161105015720.88A6322012D@vcs.savannah.gnu.org> <4f7ad1cf-7632-abea-e15e-a3fdfff795c6@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1485568853 31324 195.159.176.226 (28 Jan 2017 02:00:53 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 28 Jan 2017 02:00:53 +0000 (UTC) Cc: Stefan Monnier , Emacs developers To: =?UTF-8?B?Q2zDqW1lbnQgUGl0LS1DbGF1ZGVs?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 28 03:00:49 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cXIJi-0006VU-PU for ged-emacs-devel@m.gmane.org; Sat, 28 Jan 2017 03:00:38 +0100 Original-Received: from localhost ([::1]:49604 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cXIJj-0005J3-D8 for ged-emacs-devel@m.gmane.org; Fri, 27 Jan 2017 21:00:39 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41340) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cXIJ4-0005Ik-KC for emacs-devel@gnu.org; Fri, 27 Jan 2017 20:59:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cXIJ3-0006NY-UO for emacs-devel@gnu.org; Fri, 27 Jan 2017 20:59:58 -0500 Original-Received: from mail-oi0-x231.google.com ([2607:f8b0:4003:c06::231]:35812) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cXIJ3-0006Mr-Og for emacs-devel@gnu.org; Fri, 27 Jan 2017 20:59:57 -0500 Original-Received: by mail-oi0-x231.google.com with SMTP id j15so167440160oih.2 for ; Fri, 27 Jan 2017 17:59:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-transfer-encoding; bh=aYW+A9LeZywSmpIcQ+h2Nf2cffY3K8QxHK6mjHR/mY8=; b=WofvjbG3+34L4GfDU19HZE5E8/jj3DQo5WlBOsKMWHEdY+T4zBInBe4tEsxpgFG/hy vwNLQgSf9q7UlvmblnaB1ELpT06S6fMC54TSaHFm/mshFdNCxf/y8+NIOV1w5RakTD0F ct7WbtDE0N/hvFoa4jOvsHApp+TVI02oSUQAVzXpax19w1pdzY5Bdt7rLAoC+cMvqV0H +e0wBLp0OO9wNOzOm3p5kW2LXO+U2pNK3pCvoxs5KLnt9ukAjdUpBRRfhnfool7mYWpo RUDnkaOhEJwhBFs9/hvcriJIi/YL9/k+dLI6NuKzqr2Gvs8Pl9hIHEiU1jF0UBAI3sDs 2P4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-transfer-encoding; bh=aYW+A9LeZywSmpIcQ+h2Nf2cffY3K8QxHK6mjHR/mY8=; b=b+kqegb7ALDgeBcq/d9tP6HIc0nhA4BJU3kmKNhPlc67BrmNwvUWHLayVtsbKGBIwh ha0DKnEH2b+z3aRV8WJFYrgFvhBDAY0UDeeOlSn7fMv4s6ndcrGFqJofm9YBjYPEf/y6 Mtt9bF/NR0wPglCPzkWXD2VRalaJE+pUY59WRZmQqO9cxCLkPzwQW6jbYVSRJbFOI3HJ tJYZfUhBnkhR5seGk9I+vnMNi9wSkc1EEtgPpcnQRPahFIS7oRsLnno1oUTpOsIDvGA5 LTUh5fHxUUKcf9p42+6QeH2qB+uNO8o3e2Y6yejm4FyvCSlhFugtbDNWvpF6IiI8KIjx TMzQ== X-Gm-Message-State: AIkVDXLxnbIpo925HEoKi1N1jtp7fUjrGlKxeUFM24W51dnRCVEhiK0rgVNPT6ELDv1NvBVnb6tZCwxpUrgDNA== X-Received: by 10.202.4.84 with SMTP id 81mr6061348oie.127.1485568796949; Fri, 27 Jan 2017 17:59:56 -0800 (PST) Original-Received: by 10.157.21.117 with HTTP; Fri, 27 Jan 2017 17:59:56 -0800 (PST) In-Reply-To: <4f7ad1cf-7632-abea-e15e-a3fdfff795c6@gmail.com> X-Google-Sender-Auth: 28bc-0babTdJfnAuApWHoRoEBEs X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4003:c06::231 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:211666 Archived-At: On Fri, Jan 27, 2017 at 8:16 PM, Cl=C3=A9ment Pit--Claudel wrote: > On 2016-11-08 19:55, Noam Postavsky wrote: >> [...] Meanwhile, I've pushed the (funcall debugger...) solution to >> emacs-25 since that is less of a change vs 25.1 than what's there >> currently. > > Hi Noam and Stefan, > > Given the current implementation, how does one catch a failed assertion i= n a condition-case block (when debug-on-error is true)? If there is no eas= y way, could we add a defvar to make this behavior of cl-assertion-failed (= calling the debugger directly) optional? I guess let-binding `debugger' to a function which performs the logging should do the trick? > > (The broader context is that I'm trying to log all errors produced by an = Emacs server that doesn't have a terminal to write to, and I can't easily c= atch failed assertions.) > > Thanks! > Cl=C3=A9ment. >