🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.epoch.misc
Article #1304

disabled-command-hook error

#1304
From: Jerry
Date: Sat, 04 Jul 1992 10:33
51 lines
2391 bytes
When I attempt to invoke a disabled-command, I get the error

  Wrong number of arguments: #<subr =>, 3

I decided that dumping cl.elc in my epoch was *not* the thing to do
and so compiled event.el without the (require 'cl) statement but after
loading cl.elc.  I'm using jwz's optimizing byte compiler, if that
makes a difference.  BTW, there is almost no code difference between
the following files:

-rw-r--r--  1 jerry    staff       10785 Jun  4 13:06 event.el
-rw-r--r--  1 jerry    staff       10717 Apr 24 15:32 event.el.orig

with a diff output of:

23,26c23,26
< ;;; $Revision: 1.5 $
< ;;; $Source: /import/kaplan/stable/distrib/epoch-4.0p2/epoch-lisp/RCS/event.el,v $
< ;;; $Date: 92/06/02 02:19:21 $
< ;;; $Author: marca $
---
> ;;; $Revision: 1.4 $
> ;;; $Source: /home/kaplan/love/epoch/epoch-lisp/RCS/event.el,v $
> ;;; $Date: 92/04/22 20:15:34 $
> ;;; $Author: love $
31,34c31
< 
< ;; Changed from mini-cl (due to mdb@NSD.3Com.COM).
< ;;(require 'cl)
< 
---
> (require 'mini-cl)
205c202
<   (display-buffer *event-status-fdisplay-buffer*)
---
>   (display-buffer *event-status-buffer*)

and some blank lines (I commented out the require).  Could someone
please explain the reason for the change?  I have problems with cl.el
with some of the packages I use.  I don't think the modest changes to
the file justify inclusion of cl.el.  It would be nice if common lisp
support were built into Emacs, but it's not.  The cl.el code is
circular and changes some functions--I refuse to dump it in my Epoch
4.0p2 and that's that!!  The ASCII emacs runs disabled-command-hook
with no problem.  I'm not blaming cl.el for the error--I don't know
what's causing it.


                             Jerry Graves
                          UTEP Math Sysadmin
                       jerry@math.ep.utexas.edu
Technical Details
Message-ID: <9207041033.AA28779@banach.math.ep.utexas.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!math.ep.utexas.EDU!jerry

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fc7ee,6f2f8624a8cbc2d0,start
X-Google-Attributes: gidfc7ee,public
X-Google-ArrivalTime: 1992-07-03 23:02:52 PST
Newsgroups: gnu.epoch.misc
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!math.ep.utexas.EDU!jerry
From: jerry@math.ep.utexas.EDU (Jerry)
Subject: disabled-command-hook error
Message-ID: <9207041033.AA28779@banach.math.ep.utexas.edu>
Sender: daemon@cis.ohio-state.edu
Organization: GNUs Not Usenet
Distribution: gnu
Date: Sat, 4 Jul 1992 10:33:46 GMT
Lines: 52