unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Juanma Barranquero <lekktu@gmail.com>
To: 16868@debbugs.gnu.org
Subject: bug#16868: Instrumenting macro for edebug turns it "not documented"
Date: Mon, 24 Feb 2014 18:37:18 +0100	[thread overview]
Message-ID: <CAAeL0STeMFk=sJPBD0LO3S1PjOw1KgaRth8-FqVVAD4j423tQA@mail.gmail.com> (raw)

Package: emacs
Severity: minor

Is there any reason that instrumenting a macro for edebug "loses" its
docstring, which does not happen for functions?

emacs -Q
eval the following code:

(defmacro test-macro (&rest body)
  "This is a test macro."
  `(progn ,@body))

C-h f test-macro <RET> => This is a test macro
C-u C-M-x
C-h f test-macro <RET> => Not documented.

I can see that it is nothing new, it already happens in 21.X. But it's puzzling.





             reply	other threads:[~2014-02-24 17:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-24 17:37 Juanma Barranquero [this message]
2014-02-25 19:37 ` bug#16868: Instrumenting macro for edebug turns it "not documented" Glenn Morris
2014-02-25 20:49   ` Juanma Barranquero

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='CAAeL0STeMFk=sJPBD0LO3S1PjOw1KgaRth8-FqVVAD4j423tQA@mail.gmail.com' \
    --to=lekktu@gmail.com \
    --cc=16868@debbugs.gnu.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 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).