From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: emacs-devel@gnu.org
Subject: Re: [Emacs-diffs] master ed29d9f: Add edebug specs for inline.el
Date: Sat, 13 Jul 2019 18:30:18 -0400 [thread overview]
Message-ID: <jwvtvbpr2mi.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <20190713160724.DE848207EF@vcs0.savannah.gnu.org> (Lars Ingebrigtsen's message of "Sat, 13 Jul 2019 12:07:24 -0400 (EDT)")
> Add edebug specs for inline.el
>
> * lisp/emacs-lisp/inline.el (inline-quote)
> (inline-letevals): Add edebug specs (bug#31051).
I don't understand. Those macros already have edebug specs (in their
`declare` form).
(defmacro inline-quote (_exp)
"Similar to backquote, but quotes code and only accepts , and not ,@."
(declare (debug t))
(error "inline-quote can only be used within define-inline"))
(defmacro inline--leteval (_var-exp &rest _body)
(declare (indent 1) (debug (sexp &rest body)))
;; BEWARE: if we're here it's presumably via macro-expansion of
;; inline-letevals, so signal the error in terms of the user's code.
(error "inline-letevals can only be used within define-inline"))
I can't imagine how adding def-edebug-spec before will make any difference.
Stefan
next parent reply other threads:[~2019-07-13 22:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20190713160723.15224.93024@vcs0.savannah.gnu.org>
[not found] ` <20190713160724.DE848207EF@vcs0.savannah.gnu.org>
2019-07-13 22:30 ` Stefan Monnier [this message]
2019-07-14 11:55 ` [Emacs-diffs] master ed29d9f: Add edebug specs for inline.el Lars Ingebrigtsen
2019-07-15 14:41 ` Stefan Monnier
2019-07-15 14:47 ` Lars Ingebrigtsen
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=jwvtvbpr2mi.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
--cc=larsi@gnus.org \
/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.