From: Noam Postavsky <npostavs@users.sourceforge.net>
To: David Bremner <david@tethera.net>
Cc: 24882@debbugs.gnu.org
Subject: bug#24882: 25.1; edebug-defun fails when lparen in string at BOL
Date: Sat, 10 Feb 2018 09:03:30 -0500 [thread overview]
Message-ID: <87vaf5aqml.fsf@users.sourceforge.net> (raw)
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")
tags 24882 fixed
close 24882 27.1
quit
David Bremner <david@tethera.net> 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
prev parent reply other threads:[~2018-02-10 14:03 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-05 13:33 bug#24882: 25.1; edebug-defun fails when lparen in string at BOL David Bremner
2016-11-06 0:05 ` John Mastro
2016-11-30 8:48 ` Matt Armstrong
2016-11-30 11:59 ` David Bremner
2018-02-10 14:03 ` Noam Postavsky [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87vaf5aqml.fsf@users.sourceforge.net \
--to=npostavs@users.sourceforge.net \
--cc=24882@debbugs.gnu.org \
--cc=david@tethera.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).