🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #99370

defmacro overriding defun

#99370
From: Stavros Macrakis
Date: Thu, 04 Oct 1990 13:56
11 lines
1088 bytes
GNU Emacs 18.53.11 on NeXT 1.0.1

Suppose F is a function defined using defun.
Now suppose G is another function which calls F, and which is
bytecompiled.

If you redefine F as a defmacro, then when G calls F, you get an
invalid function error, since it's trying to call a macro as though it
were a subr.  Shouldn't it be possible for a macro and a subr
definition to coexist?  (Usually, of course, the subr should shadow
the macro.)
Technical Details
Message-ID: <9010041356.AA02043@.diderot.gr.osf.org.>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!DIDEROT.GR.OSF.ORG!macrakis

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,f31261636a9e28ce,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1990-10-05 06:41:18 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!DIDEROT.GR.OSF.ORG!macrakis
From: macrakis@DIDEROT.GR.OSF.ORG (Stavros Macrakis)
Newsgroups: gnu.emacs.bug
Subject: defmacro overriding defun
Message-ID: <9010041356.AA02043@.diderot.gr.osf.org.>
Date: 4 Oct 90 13:56:41 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 11
Posted: Thu Oct  4 14:56:41 1990
X-Unparsable-Date: Thu, 4 Oct 90 14:56:20 GMT+0100