From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "T.V. Raman" Newsgroups: gmane.emacs.devel Subject: unknown property special warnings was fix interactive spec for kill-region Date: Fri, 7 Sep 2012 09:14:14 -0700 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1347034466 23317 80.91.229.3 (7 Sep 2012 16:14:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 7 Sep 2012 16:14:26 +0000 (UTC) To: Stefan Monnier , Andreas Schwab , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 07 18:14:28 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TA1CN-0001BH-QG for ged-emacs-devel@m.gmane.org; Fri, 07 Sep 2012 18:14:27 +0200 Original-Received: from localhost ([::1]:37224 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TA1CK-0002MP-LS for ged-emacs-devel@m.gmane.org; Fri, 07 Sep 2012 12:14:24 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:48414) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TA1CC-0002Lk-GZ for emacs-devel@gnu.org; Fri, 07 Sep 2012 12:14:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TA1CB-00077J-8m for emacs-devel@gnu.org; Fri, 07 Sep 2012 12:14:16 -0400 Original-Received: from mail-iy0-f169.google.com ([209.85.210.169]:55095) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TA1CB-000779-3u for emacs-devel@gnu.org; Fri, 07 Sep 2012 12:14:15 -0400 Original-Received: by iagk10 with SMTP id k10so3874721iag.0 for ; Fri, 07 Sep 2012 09:14:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=KVq5VfsR/0PUT9FlSJycnXK1+Rux9Dhfy5kuzW8L3JM=; b=UhFl9CoVoeXoDOjGXL/0zYIHxgi5gGyMZdlen3oiRZ9wbhk9lugewhTv7xMzFMjMg7 FBcd8VzPKHOYsb352s6mxWTYxDUrs9abrK5t0KhWgIuB2NwWwxvSQIrvTtUay1EaZuvu ZJu6WQTyU8OqTQY7r2PQ5f93ZVFSjhp8YVbcHLoUQDKE4VOhLgmhu1tbrl+MHL48rnTr 2TdAymAtKdaRRLeW4Sv6sgP7HfUkwdblcYImFJELN2ZSkzyVkdbYLQZ8pdP5+0yDPfKW HC5oWieg3xHQd8lCJfeADr+MuMb5/obfzKWJOPE32serqvk35AYSRoyLTuSN57UiZJHU Quzg== Original-Received: by 10.42.18.193 with SMTP id y1mr7718350ica.0.1347034454512; Fri, 07 Sep 2012 09:14:14 -0700 (PDT) Original-Received: by 10.42.158.72 with HTTP; Fri, 7 Sep 2012 09:14:14 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.210.169 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:153160 Archived-At: P.S. Does anyone know what causes this warning: Warning: Unknown defun property special in emacspeak-should-i-fix-interactive-p -- -- On 9/7/12, T.V. Raman wrote: > Here is the byte-compiler warning: > > emacs -batch -q -no-site-file -eval '(setq vc-handled-backends nil > byte-compile-warnings t)' -l ".."/lisp/emacspeak-load-path.el -l > ".."/lisp/emacspeak-loaddefs.el -l ".."/lisp/emacspeak-cus-load.el -l > ".."/lisp/g-client/g-load-path.el -f batch-byte-compile > emacspeak-advice.el > Warning: Unknown defun property special in > emacspeak-should-i-fix-interactive-p > > In toplevel form: > emacspeak-advice.el:1607:52:Warning: ad-Orig-kill-region called with 3 > arguments, but accepts only 2 > > Line 1607 is the last line of this advice form: > > (defadvice kill-region (around emacspeak pre act) > "Indicate region has been killed. > Use an auditory icon if possible." > (cond > ((ems-interactive-p ) > (let ((count (count-lines (region-beginning) (region-end)))) > ad-do-it > (emacspeak-auditory-icon 'delete-object ) > (message "Killed region containing %s lines" count))) > (t ad-do-it)) > ad-return-value) > > I'll attach just the advice form that triggers the error: > -- > > -- > > > On 9/3/12, Stefan Monnier wrote: >>> The signature doesn't match, and you get byte compiler warnings. >> >> Please report the actual byte-compilation warnings instead, then. >> I have a strong feeling you're confused about the source of the problem >> (which probably comes from the fact that the 3 optional argument was >> made obsolete and is hidden by an advertised signature). >> >> >> Stefan >> >