From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Anders Lindgren Newsgroups: gmane.emacs.bugs Subject: bug#16184: 24.3.50; edebug and eval-when-compiler don't work together Date: Fri, 20 Dec 2013 07:59:01 +0100 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e014942241be4cf04edf1d0b8 X-Trace: ger.gmane.org 1387522813 7724 80.91.229.3 (20 Dec 2013 07:00:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 Dec 2013 07:00:13 +0000 (UTC) Cc: 16184@debbugs.gnu.org To: Katsumi Yamaoka Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 20 08:00:19 2013 Return-path: Envelope-to: geb-bug-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 1Vtu4H-0000rd-NJ for geb-bug-gnu-emacs@m.gmane.org; Fri, 20 Dec 2013 08:00:17 +0100 Original-Received: from localhost ([::1]:48054 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vtu4H-0007HX-CH for geb-bug-gnu-emacs@m.gmane.org; Fri, 20 Dec 2013 02:00:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54139) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vtu49-0007HC-LT for bug-gnu-emacs@gnu.org; Fri, 20 Dec 2013 02:00:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vtu44-0004iy-Vl for bug-gnu-emacs@gnu.org; Fri, 20 Dec 2013 02:00:09 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:45358) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vtu44-0004iT-SZ for bug-gnu-emacs@gnu.org; Fri, 20 Dec 2013 02:00:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Vtu43-0004nr-I7 for bug-gnu-emacs@gnu.org; Fri, 20 Dec 2013 02:00:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Anders Lindgren Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 20 Dec 2013 07:00:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16184 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16184-submit@debbugs.gnu.org id=B16184.138752274618345 (code B ref 16184); Fri, 20 Dec 2013 07:00:03 +0000 Original-Received: (at 16184) by debbugs.gnu.org; 20 Dec 2013 06:59:06 +0000 Original-Received: from localhost ([127.0.0.1]:59375 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vtu37-0004lo-Ee for submit@debbugs.gnu.org; Fri, 20 Dec 2013 01:59:05 -0500 Original-Received: from mail-we0-f174.google.com ([74.125.82.174]:39202) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vtu34-0004lf-Dc for 16184@debbugs.gnu.org; Fri, 20 Dec 2013 01:59:03 -0500 Original-Received: by mail-we0-f174.google.com with SMTP id q58so2040702wes.19 for <16184@debbugs.gnu.org>; Thu, 19 Dec 2013 22:59:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=H0u4QFR5MDsLjCmSwu+gMtVR5pSZUI0nSDeAJlR2yyE=; b=niuAYddb/WAE2G2/WW/P6FPtprKrGYdLSNyycHESWrL+8bQ8eUDQQHDGlPvTccSHb9 xRgt/VH5N1wF+4DPkYSU7Rvou/dNHYzM3GSCxuApNhazpb4R3lIk6L9jgHSqh9PXeQvK 5M7vSxzxsvH4mbmOo+zleQwUkNukGUjr8TB8jK/eJ7e4B6c60fDKiqzKJehgr7nMDX5c f38zzoqK7YN0EH8h8stkHIospZVOocZmO+D5iqimAyIi7DvU4shnDYLTBQpRILYiXRiO ekQcDVtZw6Z0TyZq8k742+qXu7OnSeVb7vlej9tTac2Rqlr1h+S5M9fpvEKo/9TfhtSD WTGQ== X-Received: by 10.194.237.99 with SMTP id vb3mr5418312wjc.28.1387522741231; Thu, 19 Dec 2013 22:59:01 -0800 (PST) Original-Received: by 10.216.223.140 with HTTP; Thu, 19 Dec 2013 22:59:01 -0800 (PST) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:82262 Archived-At: --089e014942241be4cf04edf1d0b8 Content-Type: text/plain; charset=ISO-8859-1 Hi! Unfortunately, the problem still seems to be there. I tried this on latest trunk (as of yesterday) with the patch applied and I still get an error when I do C-u C-M-x on the code I originally supplied. -- Anders On Fri, Dec 20, 2013 at 1:01 AM, Katsumi Yamaoka wrote: > Anders Lindgren wrote: > > The construct 'eval-when-compile' seems to throw debug off. When > > pressing C-u C-M-x on the following, an error is issued. This worked > > correctly in 24.3. This makes it hard to use edebug on functions in > > cc-mode (like c-font-lock-declarations), as it makes heavy use of > > eval-when-compile. > > > (defun test (limit) > > (eval-when-compile > > (boundp 'parse-sexp-lookup-properties))) > > I'm not sure of it but the patch below seems to solve it. > This works for the bug#14646 case[1], too. WDYT? > > [1] > > --089e014942241be4cf04edf1d0b8 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi!

Unfortunately, the problem still se= ems to be there. I tried this on latest trunk (as of yesterday) with the pa= tch applied and I still get an error when I do C-u C-M-x on the code I orig= inally supplied.

=A0 =A0 -- Anders


On Fri, Dec 20, 2013 at 1:01 AM, Katsum= i Yamaoka <yamaoka@jpl.org> wrote:
Anders Lindgren wrote:
> The construct 'eval-when-compile' seems to throw debug off. Wh= en
> pressing C-u C-M-x on the following, an error is issued. This worked > correctly in 24.3. This makes it hard to use edebug on functions in > cc-mode (like c-font-lock-declarations), as it makes heavy use of
> eval-when-compile.

> (defun test (limit)
> =A0 (eval-when-compile
> =A0 =A0 (boundp 'parse-sexp-lookup-properties)))

I'm not sure of it but the patch below seems to solve it.
This works for the bug#14646 case[1], too. =A0WDYT?

[1] <http://thread.gmane.org/gmane.emacs.bugs/80778>


--089e014942241be4cf04edf1d0b8--