all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Heime <heimeborgia@protonmail.com>,
	Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 65064@debbugs.gnu.org
Subject: bug#65064: Macro definition using C-h f
Date: Sat, 05 Aug 2023 10:15:59 +0300	[thread overview]
Message-ID: <83leeqt0wg.fsf@gnu.org> (raw)
In-Reply-To: <HOLTlngAaVIrh1bmIYc3LMGjeeGsVVcGLOajlmFG0ht1VLVCR2kUwLsbVMghjSncfC9H9_17Dx1H9NIhfxcYpkq67jh5Au1OQA1iEPpadCA=@protonmail.com> (bug-gnu-emacs@gnu.org)

tags 65064 notabug
thanks

> Date: Sat, 05 Aug 2023 06:42:57 +0000
> From:  Heime via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
> 
> Have done the following macro, but calling `C-h f tak` shows the definition
> as 
> 
> (tak &rest ARGS)
> 
> rather than
> 
> (tak &rest _ARGS)
> 
> (defmacro tak (&rest _args)
>   "Performs no action, no matter how many arguments are passed."
> 
>   nil)

This is a feature: the leading '_' is an indication that the argument
is unused, but the argument's name is 'args', without the underscore.

This is not a bug.





  reply	other threads:[~2023-08-05  7:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-05  6:42 bug#65064: Macro definition using C-h f Heime via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-08-05  7:15 ` Eli Zaretskii [this message]
2023-08-05  7:39   ` Heime via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-08-09 12:53     ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-09-02 16:44   ` Stefan Kangas

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=83leeqt0wg.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=65064@debbugs.gnu.org \
    --cc=heimeborgia@protonmail.com \
    --cc=monnier@iro.umontreal.ca \
    /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.