all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Andreas Schwab <schwab@linux-m68k.org>
Cc: Nick Dokos <ndokos@gmail.com>,
	41864@debbugs.gnu.org, Stefan Kangas <stefankangas@gmail.com>
Subject: bug#41864: 28.0.50; funcall: attempting to call a macro does not always complain
Date: Sun, 18 Oct 2020 09:57:53 +0200	[thread overview]
Message-ID: <87y2k4kltq.fsf@gnus.org> (raw)
In-Reply-To: <87zh4k67yp.fsf@igel.home> (Andreas Schwab's message of "Sat, 17 Oct 2020 20:08:46 +0200")

Andreas Schwab <schwab@linux-m68k.org> writes:

> ELISP> (macroexpand-all (eval-sexp-add-defvars (elisp--eval-defun-1
> (macroexpand '(funcall (function mac/z))))))
> (progn "z")

And

(macroexpand-all (eval-sexp-add-defvars (elisp--eval-defun-1 (macroexpand '(funcall 'mac/z)))))
=> (funcall 'mac/z)                                         

Which is what the bug reporter is wondering about.  The doc string says

--
Like ‘quote’, but preferred for objects which are functions.
--

And it's not quite like `quote', as the examples show us, and the
documentation should mention this.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2020-10-18  7:57 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-15  2:20 bug#41864: 28.0.50; funcall: attempting to call a macro does not always complain Nick Dokos
2020-10-17 11:02 ` Lars Ingebrigtsen
2020-10-17 12:50 ` Andreas Schwab
2020-10-17 14:11   ` Stefan Kangas
2020-10-17 18:08     ` Andreas Schwab
2020-10-18  7:57       ` Lars Ingebrigtsen [this message]
2020-10-18  8:52         ` Andreas Schwab
2020-10-18  9:03           ` Lars Ingebrigtsen
2020-10-18  9:34             ` Andreas Schwab
2020-10-18  9:45               ` Lars Ingebrigtsen
2020-10-18  9:51                 ` Andreas Schwab
2020-10-19  8:19                   ` 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=87y2k4kltq.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=41864@debbugs.gnu.org \
    --cc=ndokos@gmail.com \
    --cc=schwab@linux-m68k.org \
    --cc=stefankangas@gmail.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.