[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ad-disable-advice doesn't work.

From: 川幡 太一
Subject: ad-disable-advice doesn't work.
Date: Tue, 11 Feb 2003 19:29:58 +0900
User-agent: SEMI/1.14.5 (Awara-Onsen) FLIM/1.14.5 (Demachiyanagi) APEL/10.4 Emacs/21.3.50 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI)

This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your bug report will be posted to the address@hidden mailing list.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

Dear sirs, 

I've found that `ad-disable-advice' doesn't work as said in the
document.  Here is the example which I tried with newest CVS head
emacs with `-q -nw' options.

    (defun test-func (a)
      (+ 3 a))
    (test-func 3)
    (defadvice test-func 
      (before foobar first (arg) activate)
      (setq arg (+ 10 arg)))
    (test-func 3)
    (ad-disable-advice 'test-func 'before 'foobar)
    (test-func 3)

I appreciate if this problem be solved.  Thanks in advance.

In GNU Emacs (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2003-02-11 on myth
Important settings:
  value of $LC_ALL: C
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: C
  locale-coding-system: nil
  default-enable-multibyte-characters: t

Recent input:
<return> <return> ( d i DEL DEL a d - d i s a b l e 
- a d M-/ SPC t e s t - f u n c M-b M-b ' C-e SPC ' 
a DEL b e f o r e SPC ' h o g e h o g e ) C-a C-f C-f 
C-M-x M-: M-p RET C-x b * M e <tab> RET <down-mouse-1> 
<mouse-1> <down-mouse-1> <mouse-1> C-x b a d <tab> 
RET C-x C-s M-> RET C-x C-s <help-echo> <down-mouse-1> 
<mouse-1> M-x r e p o <tab> r <tab> e DEL RET

Recent messages:
Using try-expand-dabbrev-all-buffers
Wrote /home/kawabata/lisp/advice-test.el
Mark set
Wrote /home/kawabata/lisp/advice-test.el
Making completion list...
Loading emacsbug...done

KAWABATA, Taichi (address@hidden)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]