From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Philippe Vaucher Newsgroups: gmane.emacs.bugs Subject: bug#24588: [PATCH 1/2] Restore command-debug-status functionality Date: Sun, 2 Oct 2016 18:59:54 +0200 Message-ID: <20161002165955.2160-2-philippe.vaucher@gmail.com> References: <20161002165955.2160-1-philippe.vaucher@gmail.com> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1475427693 32094 195.159.176.226 (2 Oct 2016 17:01:33 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 2 Oct 2016 17:01:33 +0000 (UTC) To: 24588@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Oct 02 19:01:29 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1bqk8d-0006ri-SG for geb-bug-gnu-emacs@m.gmane.org; Sun, 02 Oct 2016 19:01:20 +0200 Original-Received: from localhost ([::1]:60241 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bqk8c-0007CX-Fn for geb-bug-gnu-emacs@m.gmane.org; Sun, 02 Oct 2016 13:01:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38226) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bqk8R-0007BI-0n for bug-gnu-emacs@gnu.org; Sun, 02 Oct 2016 13:01:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bqk8M-0003Un-Ss for bug-gnu-emacs@gnu.org; Sun, 02 Oct 2016 13:01:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:35981) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bqk8M-0003Ud-PM for bug-gnu-emacs@gnu.org; Sun, 02 Oct 2016 13:01:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bqk8M-00045d-JV for bug-gnu-emacs@gnu.org; Sun, 02 Oct 2016 13:01:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Philippe Vaucher Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 02 Oct 2016 17:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 24588 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.147542761715626 (code B ref -1); Sun, 02 Oct 2016 17:01:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 2 Oct 2016 17:00:17 +0000 Original-Received: from localhost ([127.0.0.1]:42167 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bqk7d-00043v-1k for submit@debbugs.gnu.org; Sun, 02 Oct 2016 13:00:17 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:47150) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bqk7b-00043X-TB for submit@debbugs.gnu.org; Sun, 02 Oct 2016 13:00:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bqk7S-0003JM-L3 for submit@debbugs.gnu.org; Sun, 02 Oct 2016 13:00:07 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:60932) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bqk7S-0003JC-IR for submit@debbugs.gnu.org; Sun, 02 Oct 2016 13:00:06 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38099) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bqk7Q-000740-Hw for bug-gnu-emacs@gnu.org; Sun, 02 Oct 2016 13:00:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bqk7N-0003HM-EZ for bug-gnu-emacs@gnu.org; Sun, 02 Oct 2016 13:00:03 -0400 Original-Received: from mail-wm0-x241.google.com ([2a00:1450:400c:c09::241]:35092) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bqk7N-0003Gv-8b for bug-gnu-emacs@gnu.org; Sun, 02 Oct 2016 13:00:01 -0400 Original-Received: by mail-wm0-x241.google.com with SMTP id f193so6527105wmg.2 for ; Sun, 02 Oct 2016 10:00:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:in-reply-to:references; bh=CSeOYHS6jei9Ri3EhixTODuv/c5w1mybvie0MQFvwIA=; b=HMVmPRgwSOwBF8dyquFVIdJycAwO45XX7cFO4ONEiHDbi6FkuftplldynHf7pWbN4m rTYIpMEFaHPPmMfoB66IbcUr56QRUN2jsAdXdO2lHLhkmq3/hYLA/kh+fY5iZmJKK9DK EK1XF6A3deLU8gLYKmm49MmJPCkFPf3AZVdGA/TglDHfD5peDiqyv8Y+BE9D5aJPLqQR BqFs2LS0cJf+QHjWJLAR3GbuYumBo0JaLRAj7+y4ubf2mPLHtUYFQ+5DL0z+323YmnbE CBM2Ijh45b2KejQ5ceabn6BnMdvwLhHFnrpZgs/8sdh8xPByplGaJZ/64NPASdJbi3uH Fu9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=CSeOYHS6jei9Ri3EhixTODuv/c5w1mybvie0MQFvwIA=; b=beSTOi0QVOazAZLiHTc/bwaC9J+fzl/FkOTZ9D/KUQiU+6x4NL4FhxbwY0L/BCaVb/ YliGt9TZJFemwQGLXNn8rvv9MNoUIjnJTuT/npWDrCe8G0X3wwRv6MujtwQx2YYYQlDN x3+izBaSFn3e3d2R9Rlh3BHhVTYb2heS/Z84DJG0eyT1OlIUn1+CFdXdSwnL3q8M+Djw aFFTHZUe31eSuC3IZLCA8uAePq79FwbttaplHhcZJiA/4oJBUWYI9DqI/XdCsEjWeiqg jd2Mk6gkTjtE4c0KlHeBDocUcgFKSVcQkWjAQVZcT91JA9oEFPc5k58p1tcK5VTqMapn gy7w== X-Gm-Message-State: AA6/9Rlt0nQdu5rkdSpa029gWD8J+uVigvreP5bjWIAPgquM7dsf9CfeIkV0YIFB4vEmKQ== X-Received: by 10.194.84.144 with SMTP id z16mr3930252wjy.210.1475427600222; Sun, 02 Oct 2016 10:00:00 -0700 (PDT) Original-Received: from silex-laptop.fritz.box (adsl-62-167-58-91.adslplus.ch. [62.167.58.91]) by smtp.googlemail.com with ESMTPSA id iq2sm30234586wjb.19.2016.10.02.09.59.59 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 02 Oct 2016 09:59:59 -0700 (PDT) X-Mailer: git-send-email 2.10.0 In-Reply-To: <20161002165955.2160-1-philippe.vaucher@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:123908 Archived-At: --- src/callint.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/callint.c b/src/callint.c index 053ee6c..4652151 100644 --- a/src/callint.c +++ b/src/callint.c @@ -837,7 +837,10 @@ invoke it. If KEYS is omitted or nil, the return value of kset_last_command (current_kboard, save_last_command); { - Lisp_Object val = Ffuncall (nargs, args); + Lisp_Object val; + specbind (Vcommand_debug_status, Qnil); + + val = Ffuncall (nargs, args); val = unbind_to (speccount, val); SAFE_FREE (); return val; -- 2.10.0