From unknown Fri Sep 05 14:42:33 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#12568 <12568@debbugs.gnu.org> To: bug#12568 <12568@debbugs.gnu.org> Subject: Status: 24.2.50; semantic parser and python conditional expressions Reply-To: bug#12568 <12568@debbugs.gnu.org> Date: Fri, 05 Sep 2025 21:42:33 +0000 retitle 12568 24.2.50; semantic parser and python conditional expressions reassign 12568 emacs submitter 12568 Stefan Reich=C3=B6r severity 12568 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 03 08:45:12 2012 Received: (at submit) by debbugs.gnu.org; 3 Oct 2012 12:45:12 +0000 Received: from localhost ([127.0.0.1]:38917 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TJOK7-0007X4-PY for submit@debbugs.gnu.org; Wed, 03 Oct 2012 08:45:11 -0400 Received: from eggs.gnu.org ([208.118.235.92]:53919) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TJOK6-0007Wy-0h for submit@debbugs.gnu.org; Wed, 03 Oct 2012 08:45:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TJOJQ-0002qE-CQ for submit@debbugs.gnu.org; Wed, 03 Oct 2012 08:44:32 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:56882) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJOJQ-0002qA-8t for submit@debbugs.gnu.org; Wed, 03 Oct 2012 08:44:28 -0400 Received: from eggs.gnu.org ([208.118.235.92]:32849) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJOJK-0007RD-LQ for bug-gnu-emacs@gnu.org; Wed, 03 Oct 2012 08:44:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TJOJE-0002ju-V9 for bug-gnu-emacs@gnu.org; Wed, 03 Oct 2012 08:44:22 -0400 Received: from moutng.kundenserver.de ([212.227.17.9]:62712) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJOJE-0002jU-L6 for bug-gnu-emacs@gnu.org; Wed, 03 Oct 2012 08:44:16 -0400 Received: from ubu.msc-ge.com (gw.msc.cust.net.lagis.at [83.164.197.134]) by mrelayeu.kundenserver.de (node=mreu3) with ESMTP (Nemesis) id 0Lh0JH-1To0Ao32Jj-00oVOD; Wed, 03 Oct 2012 14:43:53 +0200 From: Stefan =?iso-8859-1?Q?Reich=F6r?= To: bug-gnu-emacs@gnu.org Subject: 24.2.50; semantic parser and python conditional expressions User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) Date: Wed, 03 Oct 2012 14:43:51 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V02:K0:bo/HkqoeRDvhWbVfIdOSnPhK5Esh870o7NXZbTSntRg Z0LTVLsWK3oDcNQfS/i6rEPt4fKgOSTmJeJuB5jSvDZn1/jVfJ vNWW8zQHUsxCkqMkYHMbxCOXjml2TGG+qcVQOTbl9pbhNYoD3I vM4IhzMphf3jfF3k91mwav5B8pxna6IsD2uvW1pQ6Vq9ItTWUs +8CU9+YZH1SbGUe/mkdaTUx0DolwQJQzgeHeQpZ5q4PJr/6zHj jxUMRAe819cCqTbM3mmKnW8PtXMU8qB/MVKQTyJPd1R9vNkcv2 LZSZ0760XsnpDgoigMVKttJtx5NZNClqPdpGV+b9LmLEEooOxg RIZtHht3b0KG1/VrVJEDOvve+Tj23dUSatDQ0wUJb X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.2 (----) In GNU Emacs 24.2.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.10) of 2012-09-20 on ubu Windowing system distributor `The X.Org Foundation', version 11.0.11103000 Configured using: `configure '--prefix=/home/srei/prg/stow/emacs'' How to reproduce the bug: C-x C-f 1.py RET M-x semantic-mode RET >>> file content for 1.py etags_cmd = "c:/emacs/bin/etags.exe" if cRunningOnWindows else "etags" >>> end file content This gives the following error: Idle Parse Error: "# - wisent-python-lexer: endless loop at 13, after (STRING_LITERAL 13 . 13)" From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 06 17:41:03 2012 Received: (at 12568) by debbugs.gnu.org; 6 Oct 2012 21:41:03 +0000 Received: from localhost ([127.0.0.1]:58679 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TKc7L-000888-Af for submit@debbugs.gnu.org; Sat, 06 Oct 2012 17:41:03 -0400 Received: from randomsample.de ([83.169.19.17]:42166) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TKc7J-00087a-9V for 12568@debbugs.gnu.org; Sat, 06 Oct 2012 17:41:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=randomsample.de; s=a; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:Date:References:In-Reply-To:Subject:Cc:To:From; bh=cSFG7bSR9w9a2swFl3Zy/VBbGn0Fl6AgpCXeFr5Empg=; b=XMU5LbPZ3djVTQUvTzFGeFkaBnjPK6+MT5AwQI+b8tLybo1lpki6uX+Uvejllo82iCkP/TDR9LdqUoKqwYWv3d2puXqXRy+jtQ3aI4fJB/1V+dbWzA862xE1air1hlTW; Received: from dslc-082-083-042-151.pools.arcor-ip.net ([82.83.42.151] helo=spaten) by randomsample.de with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1TKc6y-0007sE-Lx; Sat, 06 Oct 2012 23:40:40 +0200 From: David Engster To: Stefan =?iso-8859-1?Q?Reich=F6r?= Subject: Re: bug#12568: 24.2.50; semantic parser and python conditional expressions In-Reply-To: ("Stefan \=\?iso-8859-1\?Q\?Reich\=F6r\?\= \=\?iso-8859-1\?Q\?\=22's\?\= message of "Wed, 03 Oct 2012 14:43:51 +0200") References: User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.1.50 (gnu/linux) Date: Sat, 06 Oct 2012 23:40:39 +0200 Message-ID: <87fw5r9t48.fsf@engster.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: 12568 Cc: 12568@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.3 (-) Stefan Reich=F6r writes: > How to reproduce the bug: > C-x C-f 1.py RET > M-x semantic-mode RET > >>>> file content for 1.py > etags_cmd =3D "c:/emacs/bin/etags.exe" if cRunningOnWindows else "etags" >>>> end file content > > This gives the following error: > > Idle Parse Error: "# - wisent-python-lexer: endless loop > at 13, after (STRING_LITERAL 13 . 13)" I'm afraid I currently cannot reproduce this, using Emacs from bzr, revno. 110397. Loading 1.py and enabling semantic-mode does not give me any error. Also, calling M-x semantic-lex-test correctly returns ((NAME 1 . 10) (ASSIGN 11 . 12) (STRING_LITERAL 13 . 37) (IF 38 . 40) (NAME 41 . 58) (ELSE 59 . 63) (STRING_LITERAL 64 . 71) (NEWLINE 71 . 72)) so the lexer seems to work fine. -David From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 08 03:18:51 2012 Received: (at 12568) by debbugs.gnu.org; 8 Oct 2012 07:18:52 +0000 Received: from localhost ([127.0.0.1]:60685 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TL7c3-00044k-Ja for submit@debbugs.gnu.org; Mon, 08 Oct 2012 03:18:51 -0400 Received: from moutng.kundenserver.de ([212.227.126.187]:54968) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TL7c0-00044S-Rl for 12568@debbugs.gnu.org; Mon, 08 Oct 2012 03:18:50 -0400 Received: from ubu.msc-ge.com (gw.msc.cust.net.lagis.at [83.164.197.134]) by mrelayeu.kundenserver.de (node=mrbap2) with ESMTP (Nemesis) id 0LjLuJ-1TxT5r0U4V-00csFA; Mon, 08 Oct 2012 09:18:16 +0200 From: Stefan =?iso-8859-1?Q?Reich=F6r?= To: David Engster Subject: Re: bug#12568: 24.2.50; semantic parser and python conditional expressions In-Reply-To: <87fw5r9t48.fsf@engster.org> (David Engster's message of "Sat, 06 Oct 2012 23:40:39 +0200") References: <87fw5r9t48.fsf@engster.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) Date: Mon, 08 Oct 2012 09:18:15 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V02:K0:yMuqiHTZkQJDtRtHJyPIlK7YM9iNU3ot7EGKqRyU+YX 7G2ATkBWKAvgGip2w6JkL4xqqgkJqBHuyU4gSQpKPPQ9/1nUQD 7y2FSK5fnacvpnhxEEnflhEgyXdrfSBli/EkPTo71VVbAitxIN oR6bMOBCWzxkm8kAHNa5jQRT2iqeCy59tIEgmu8RVmt3Tl1k8o dUTrciCci8TQhlN6zV9TlboH2JrYwfgAlZ4MU7AnDwBDvxEBAJ 6TH1dy0akW9fYndg0044+jVB2KheYkUMPH/4/37ZNbdffonBXo p7dU9ozP4T/y03IeXOr2Jh0cNep9aBwtbgVDvwrVh4A9N48TGr JWm/ZMRm7nCmcnGdeN6rTIXdWTaARSMo0gd9wXZ5D X-Spam-Score: 0.8 (/) X-Debbugs-Envelope-To: 12568 Cc: 12568@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.8 (/) Hello David! > Stefan Reich=F6r writes: >> How to reproduce the bug: >> C-x C-f 1.py RET >> M-x semantic-mode RET >> >>>>> file content for 1.py >> etags_cmd =3D "c:/emacs/bin/etags.exe" if cRunningOnWindows else "etags" >>>>> end file content >> >> This gives the following error: >> >> Idle Parse Error: "# - wisent-python-lexer: endless loop >> at 13, after (STRING_LITERAL 13 . 13)" > > I'm afraid I currently cannot reproduce this, using Emacs from bzr, > revno. 110397. > > Loading 1.py and enabling semantic-mode does not give me any > error. Also, calling > > M-x semantic-lex-test > > correctly returns > > ((NAME 1 . 10) > (ASSIGN 11 . 12) > (STRING_LITERAL 13 . 37) > (IF 38 . 40) > (NAME 41 . 58) > (ELSE 59 . 63) > (STRING_LITERAL 64 . 71) > (NEWLINE 71 . 72)) > > so the lexer seems to work fine. > > -David I can confirm that it works for me as well with a freshly compiled emacs. Thanks for your efforts, Stefan. From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 08 05:32:58 2012 Received: (at control) by debbugs.gnu.org; 8 Oct 2012 09:32:58 +0000 Received: from localhost ([127.0.0.1]:60797 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TL9hq-00080Y-BD for submit@debbugs.gnu.org; Mon, 08 Oct 2012 05:32:58 -0400 Received: from mail-pb0-f44.google.com ([209.85.160.44]:52054) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TL9ho-00080M-Em for control@debbugs.gnu.org; Mon, 08 Oct 2012 05:32:57 -0400 Received: by mail-pb0-f44.google.com with SMTP id ro8so3999736pbb.3 for ; Mon, 08 Oct 2012 02:32:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:subject:date:message-id:mime-version:content-type; bh=D9WwWsHTv/iGIECbhw3FWCt03erAl8IvnKU2Xkis1B4=; b=obGuBCTH3IapZguumFN/W91Ru1wOiN2QpxD21T2qh6NMTQE2Un56myPRxP9YN5SPlr S5Tsf9xfJ05wPXCsf85GaIYM+glj095HfkiHNw4F2dOvEr/disI8cKA8uQpzFodb52/4 N6cAYVG1n6VdVqsnK/i5h+xmE0ydw9+KL0COEx8/H5YnubFUlDX3ewGVh6YvYvckKKpg opDk+BFerpK0hAeLm3J65OuKqG4WE3rX6uhpr3Axd5Y3AeMLSTVgl4XkbyGdcUg4XYGT kTzCXC60sAO6WM/XWoFAwpxaMRnPDwQJAAFMsUd4mYNOqVnHihiNo/gLF/R/xWvWvRhR A7dQ== Received: by 10.66.85.8 with SMTP id d8mr41760023paz.30.1349688743701; Mon, 08 Oct 2012 02:32:23 -0700 (PDT) Received: from ulysses ([155.69.17.9]) by mx.google.com with ESMTPS id e9sm10593053pay.34.2012.10.08.02.32.20 (version=SSLv3 cipher=OTHER); Mon, 08 Oct 2012 02:32:22 -0700 (PDT) From: Chong Yidong To: control@debbugs.gnu.org Subject: close 12568 Date: Mon, 08 Oct 2012 17:32:17 +0800 Message-ID: <87a9vx71i6.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.1 (/) close 12568 thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 08 11:20:17 2012 Received: (at 12568-close) by debbugs.gnu.org; 8 Oct 2012 15:20:17 +0000 Received: from localhost ([127.0.0.1]:33710 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TLF7w-0001ut-Gi for submit@debbugs.gnu.org; Mon, 08 Oct 2012 11:20:17 -0400 Received: from randomsample.de ([83.169.19.17]:36727) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TLF7u-0001ul-6k for 12568-close@debbugs.gnu.org; Mon, 08 Oct 2012 11:20:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=randomsample.de; s=a; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:Date:References:In-Reply-To:Subject:Cc:To:From; bh=k52flLWMqfgMSlNHGlzoDMO7tGLKbIj31tlVJgYUgoQ=; b=qcBjzQqytP0oYPr2r76jRgYrBSCAZfubi0rQSMnYP6XxqlcqWwxN9NgvYHZKUg/+HVtcrF190pyAYDFtYVo64RghHhTMWhsuJRwcgFq509JggGdTxZCqgvYrM1J7YxHk; Received: from dslc-082-082-165-153.pools.arcor-ip.net ([82.82.165.153] helo=spaten) by randomsample.de with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1TLF7P-0001x0-1W; Mon, 08 Oct 2012 17:19:43 +0200 From: David Engster To: Stefan =?iso-8859-1?Q?Reich=F6r?= Subject: Re: bug#12568: 24.2.50; semantic parser and python conditional expressions In-Reply-To: ("Stefan \=\?iso-8859-1\?Q\?Reich\=F6r\?\= \=\?iso-8859-1\?Q\?\=22's\?\= message of "Mon, 08 Oct 2012 09:18:15 +0200") References: <87fw5r9t48.fsf@engster.org> User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.1.50 (gnu/linux) Date: Mon, 08 Oct 2012 17:19:42 +0200 Message-ID: <87bogd7zzl.fsf@engster.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: 12568-close Cc: 12568-close@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.3 (-) Stefan Reich=F6r writes: > I can confirm that it works for me as well with a freshly compiled emacs. Thanks for testing. I guess the problem was fixed with the recent CEDET update in Emacs. I'm closing this report then. -David From unknown Fri Sep 05 14:42:33 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 06 Nov 2012 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator