all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Bremner <david@tethera.net>
To: Matt Armstrong <marmstrong@google.com>,
	John Mastro <john.b.mastro@gmail.com>
Cc: 24882@debbugs.gnu.org
Subject: bug#24882: 25.1; edebug-defun fails when lparen in string at BOL
Date: Wed, 30 Nov 2016 07:59:44 -0400	[thread overview]
Message-ID: <87h96pmb4f.fsf@tethera.net> (raw)
In-Reply-To: <qf5eg1tuzeg.fsf@marmstrong-macbookpro.roam.corp.google.com>

Matt Armstrong <marmstrong@google.com> writes:

> Indeed this heuristic appears to be intentional, justified by an apeal
> to efficiency.  The Emacs manual uses an example very similar to
> `edebug-fail' above as a "what not to do" case:
> https://www.gnu.org/software/emacs/manual/html_node/emacs/Left-Margin-Paren.html
>
> David, if you agree with this rationale, mind closing the bug?

For what it's worth, I don't agree with the rationale. The debugger
should work on all syntactically correct defuns. If left parens in the
left margin are forbidden in emacs lisp, then I expect a syntax error
during normal evaluation.

At minimum, the debugger should detect this situation, rather than
silently doing the wrong thing.






  reply	other threads:[~2016-11-30 11:59 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 [this message]
2018-02-10 14:03 ` Noam Postavsky

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87h96pmb4f.fsf@tethera.net \
    --to=david@tethera.net \
    --cc=24882@debbugs.gnu.org \
    --cc=john.b.mastro@gmail.com \
    --cc=marmstrong@google.com \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.