delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/01/17/12:42:32

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Fri, 17 Jan 2003 10:42:07 -0700
Message-Id: <200301171742.h0HHg7AF004679@wolf.cimsoft.com>
From: Robert Mecklenburg <mecklen AT cimsoft DOT com>
To: Cygwin Users List <cygwin AT cygwin DOT com>
Subject: emacs error ad-Orig-documentation called with 5 arguments

I'm getting the following error in the x-enabled version of cygwin
emacs:  

  ** ad-Orig-documentation called with 5 arguments, but accepts only 1-2

The bug is very reproduceable by defining the following two lisp
functions:

(defun foo ()
  (interactive)
  (message "hi"))

(defadvice foo (before example-advice act comp))

Here is what little I know of the problem:

1.  The error is advice on the documentation function rather than on
    the function I advised, foo.  The advice.el documentation says:
    "Once Advice has been started ... it generates an advised
    definition of the `documentation' function".  So most likely, here
    lies the error.  No reason to suspect ntsec.

2.  The error does not occur with the same source code with either nt
    emacs (non-cygwin version) or "/bin/emacs-nox -q".

3.  It does occur with "/bin/emacs -q -nw".

4.  The advice suggested recently here of completely deleting and
    reinstalling a clean cygwin (because of possible ntsec issues)
    does not solve the problem for me.

5.  A google search for "ad-Orig-documentation" yields 6 results, none
    of which are helpful.

I'm not sure how to continue debugging this issue.  I'm studying
advice.el now.

Cheers,
-- 
Robert


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019