From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: David Palma Newsgroups: gmane.emacs.bugs Subject: bug#36521: 26.2; CEDET/Semantic - Semantic constantly entering debugger with scheme Date: Mon, 8 Jul 2019 22:50:15 +0100 Message-ID: <1a871d73-20d5-4020-ef60-7ba19bd2fe01@gmail.com> References: <87lfx82ssb.fsf@mouse.gnus.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------4367DA92B5B90A8B1F2A59EF" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="9666"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Icedove/60.6.1 Cc: 36521@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 09 00:40:13 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hkcIu-0002Mt-0x for geb-bug-gnu-emacs@m.gmane.org; Tue, 09 Jul 2019 00:40:12 +0200 Original-Received: from localhost ([::1]:45396 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hkcIt-00017m-1e for geb-bug-gnu-emacs@m.gmane.org; Mon, 08 Jul 2019 18:40:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52789) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hkcIn-00016x-RK for bug-gnu-emacs@gnu.org; Mon, 08 Jul 2019 18:40:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hkcIl-0004ZA-T6 for bug-gnu-emacs@gnu.org; Mon, 08 Jul 2019 18:40:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51055) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hkcIk-0004Ys-K0 for bug-gnu-emacs@gnu.org; Mon, 08 Jul 2019 18:40:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hkcIk-0006UL-Er for bug-gnu-emacs@gnu.org; Mon, 08 Jul 2019 18:40:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: David Palma Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 08 Jul 2019 22:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36521 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed Original-Received: via spool by 36521-submit@debbugs.gnu.org id=B36521.156262557024900 (code B ref 36521); Mon, 08 Jul 2019 22:40:02 +0000 Original-Received: (at 36521) by debbugs.gnu.org; 8 Jul 2019 22:39:30 +0000 Original-Received: from localhost ([127.0.0.1]:59876 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hkcIC-0006TW-CT for submit@debbugs.gnu.org; Mon, 08 Jul 2019 18:39:29 -0400 Original-Received: from mail-wr1-f45.google.com ([209.85.221.45]:38048) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hkbWi-00035Y-9f for 36521@debbugs.gnu.org; Mon, 08 Jul 2019 17:50:24 -0400 Original-Received: by mail-wr1-f45.google.com with SMTP id g17so8589678wrr.5 for <36521@debbugs.gnu.org>; Mon, 08 Jul 2019 14:50:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language; bh=L5Fg1haui2AyjvEn1f4MAV7+OLey5D7sFA3C9zuqSiQ=; b=qbUUFqBasaKn2alegVD6x6mICrHAiZc3FRbrtGpu1x9iwdSAWMHD0AYTW/Sj6klbjQ WwIJK743gNc30Zbwi0tFp0zpBvc96Ix4/fVxTqnRO25pHMKRnzQNL7cjpVGAkFSErg2o OIy+F5/lNqTGVzj/KfNT4ZkTp28LbmStUB16E/bD85LOzFA3zmPFL+1YUnwB0MJJrtMi bbcPVuivEibKCH4U+Q9cvrCI5sVm2aFMsTYluARsd6lY8oetKmqRyAurlmc1mU0TAXKv nDyW03B/C4KAt9CAUF5YNaup01d7MddmAA/ulDBnrHkgV6Nq+Kvk8MAZjOV2Nk9vkU90 K2Pg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=L5Fg1haui2AyjvEn1f4MAV7+OLey5D7sFA3C9zuqSiQ=; b=UdEOOGXVwjvN5Rc31XRDsNsNv/Rt825p0zUDgCePTslnC7s7bnSRBqFJ4kMB1PdzS9 OC3hh/78FK/OatoEwh6Iyqlk/nFJZUPXfQdlffwoei2Y1yYCBBwy4N+0rMKJp3nNqh9/ y+urkrrpcvy6wcrjXaCXVms2sknfOFEUks5TQK/0QHPGv/d9p0WChaBjDMGOsspBctBY iY5JVSgyZeUzvvyt4VNkXzSlqOdqy9uw1KtHJNIIeg9EZVDrtiwnyRcCtb97wn7BRMfr vsRQVKPjZ06EYzxB4XB1KG4qeq3K0cjc9xnRKsAnJTOfkN2P692cQRbJ/SUQpHrSj4Hg klKQ== X-Gm-Message-State: APjAAAXMh1Vzm24TI6xGcTCuenb3OtwlE9VObXPuQy7yWRYqEwN9UHs7 vKhE5vPXqx2DTJpyvxvJ1LGIIO0P X-Google-Smtp-Source: APXvYqwAgwDanSGtG4kq11JjrGDWs4yC8eIV0YwL9sHwOlWcFFNEAOeYe1YEsiY4yTRACmCphUl+Nw== X-Received: by 2002:a05:6000:118a:: with SMTP id g10mr8678792wrx.175.1562622617950; Mon, 08 Jul 2019 14:50:17 -0700 (PDT) Original-Received: from [192.168.1.4] (a109-48-81-134.cpe.netcabo.pt. [109.48.81.134]) by smtp.gmail.com with ESMTPSA id v15sm14929159wrt.25.2019.07.08.14.50.16 (version=TLS1_3 cipher=AEAD-AES128-GCM-SHA256 bits=128/128); Mon, 08 Jul 2019 14:50:16 -0700 (PDT) In-Reply-To: <87lfx82ssb.fsf@mouse.gnus.org> Content-Language: pt-PT X-Mailman-Approved-At: Mon, 08 Jul 2019 18:39:26 -0400 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: 209.51.188.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:162393 Archived-At: This is a multi-part message in MIME format. --------------4367DA92B5B90A8B1F2A59EF Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit I do, I have attached a scheme source example file. 1. Start emacs with "emacs -Q". 2. Enable semantic-mode with M-x semantic-mode 3. Open bugtest.scm And emacs should enter the debugger when semantic-idle-scheduler starts working. Thanks, David On 7/8/19 9:08 PM, Lars Ingebrigtsen wrote: > David Palma writes: > >> Semantic enters the debugger whenever it's parsing invalid scheme code with >> matching parentheses. The error code is "A Rule must return a single >> tag-line list!" >> >> To trigger this simply write >> (define ) >> >> with electric matching pair mode active, the ending parenthesis is >> automatically put and semantic constantly tries to enter the debugger, >> making it unusable. > Do you have a recipe for how to reproduce this bug, starting with > "emacs -Q"? > --------------4367DA92B5B90A8B1F2A59EF Content-Type: text/x-scheme; name="bugtest.scm" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="bugtest.scm" (define (accumulate op init seq) (if (null? seq) init (op (car seq) (accumulate op init (cdr seq))))) (define) --------------4367DA92B5B90A8B1F2A59EF--