From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#24882: 25.1; edebug-defun fails when lparen in string at BOL Date: Sat, 10 Feb 2018 09:03:30 -0500 Message-ID: <87vaf5aqml.fsf@users.sourceforge.net> References: <87k2cidpbb.fsf@zancas.i-did-not-set--mail-host-address--so-tickle-me> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1518271360 31058 195.159.176.226 (10 Feb 2018 14:02:40 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 10 Feb 2018 14:02:40 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) Cc: 24882@debbugs.gnu.org To: David Bremner Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 10 15:02:35 2018 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 1ekVjI-0006Jb-Ke for geb-bug-gnu-emacs@m.gmane.org; Sat, 10 Feb 2018 15:02:12 +0100 Original-Received: from localhost ([::1]:45711 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekVlK-00054c-6c for geb-bug-gnu-emacs@m.gmane.org; Sat, 10 Feb 2018 09:04:18 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46990) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekVl8-00053D-L9 for bug-gnu-emacs@gnu.org; Sat, 10 Feb 2018 09:04:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ekVl4-0003oI-4u for bug-gnu-emacs@gnu.org; Sat, 10 Feb 2018 09:04:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:56582) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ekVl4-0003o5-14 for bug-gnu-emacs@gnu.org; Sat, 10 Feb 2018 09:04:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ekVl3-00059I-QG for bug-gnu-emacs@gnu.org; Sat, 10 Feb 2018 09:04:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 10 Feb 2018 14:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24882 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24882-submit@debbugs.gnu.org id=B24882.151827142019761 (code B ref 24882); Sat, 10 Feb 2018 14:04:01 +0000 Original-Received: (at 24882) by debbugs.gnu.org; 10 Feb 2018 14:03:40 +0000 Original-Received: from localhost ([127.0.0.1]:36246 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ekVki-00058a-81 for submit@debbugs.gnu.org; Sat, 10 Feb 2018 09:03:40 -0500 Original-Received: from mail-it0-f45.google.com ([209.85.214.45]:39811) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ekVkf-00058H-OV; Sat, 10 Feb 2018 09:03:38 -0500 Original-Received: by mail-it0-f45.google.com with SMTP id c80so1715636itb.4; Sat, 10 Feb 2018 06:03:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=mCXOrfTxgRlMHVrddWgjwo+tWXssc/WzKAts3H7uC3s=; b=g7PLLXF4/m39ZxAUgxFV2c5Uy18TqvLeLbIMLtQMc2Qm/xIaRdUhhOw4Lkb0WF9sW6 s2NtSyehAT6JiKbb2MD/CWo7pHTgI2Un5gc8urpCNzYiTcxa61uM1KTtQ1opp7JcnHtC sZHLGS5ZZaeqOVdaouiwNZZ7MIAi+a8agwBkg3tlpibdfaeuZ4ur/6t2/ymKH9RUj1HM xGwZP8ID/gkzzUmfhVk0rOqezE+mkueaV3ublaETXDBVvwx96puVkjLeD6TtRpqAlHQz BVC0qan9WemtadQiPOwDCE6Hi3fpfKt4SsRS5GP+uMSZL4vc4n8eskfxIL3Zez6KAC3O rNqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=mCXOrfTxgRlMHVrddWgjwo+tWXssc/WzKAts3H7uC3s=; b=TyvSCBmlEzcifWcNUSO4t9wosY6aXNU3MnpB/va8xrY2DU7iWSNQ+M+BTM9q6CgskB z7kf0T8GaM+Kuo60WVTqx+SYfq6Ml4uFqUbEVIt/V2zZXkqMnqh9fL/hUUbEXd2rQcCp ZI/2cVCsnlTvyYsWimWDy29kev95kB6JEgZ2YiJhYdVu41PslBsO3uupkEM1EdV/mBhG DpiUm6pUxCp6Ehm3RLYNM/IfWhHlptMjr4a037U3eSoRNS5CHXQD/OpdassfHhz/trSo zEIXWidyr/tH0iECn09q8KvHCC6WEXvDZAXsV+1/+q07wOaBj01MClU0I+lf81ytxJAJ Gcww== X-Gm-Message-State: APf1xPA4qDgTO+4cD0nKyJNRYJHYNZ8CGprrrRLsjNimyizuPXtNlQHF MPzT150QC3+RcpTI8VpN0sm8Og== X-Google-Smtp-Source: AH8x226m/IgLCk71ELQGbEeRznFAZbMmoCvn5x2/viSL06je4OVqq9yQj2vNxW4JS021hrqVLwqjqA== X-Received: by 10.36.26.71 with SMTP id 68mr4746188iti.148.1518271412124; Sat, 10 Feb 2018 06:03:32 -0800 (PST) Original-Received: from zebian (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id l68sm422142ith.37.2018.02.10.06.03.30 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 10 Feb 2018 06:03:31 -0800 (PST) In-Reply-To: <87k2cidpbb.fsf@zancas.i-did-not-set--mail-host-address--so-tickle-me> (David Bremner's message of "Sat, 05 Nov 2016 10:33:12 -0300") 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:143095 Archived-At: tags 24882 fixed close 24882 27.1 quit David Bremner writes: > 1) save the following definitions into a file edebug-fail.el > > (defun edebug-fail () > "blah" > (glub "foo > (bar)")) > > (defun edebug-success () > "blah" > (glub "foo (bar)")) > > 2) emacs -Q edebug-defun.el > > 3) place the point after the defun for edebug fail > > 4) run M-x edebug-defun ; observe the next defun, for edebug-success is > evaled. > > 5) Add a space before (bar), repeat step 4. Observe the correct function > definition is evaluated This is fixed in master. [1: 14b9558752]: 2017-12-12 23:03:00 -0500 * src/syntax.c (find_defun_start): Use syntax-ppss https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=14b95587520959c5b54356547a0a69932a9bb480