From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sascha Wilde Newsgroups: gmane.emacs.devel Subject: Wrong extra argument to make-obsolete-overload in semantic/tag-file.el Date: Wed, 28 Oct 2009 14:22:39 +0100 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: ger.gmane.org 1256736184 30955 80.91.229.12 (28 Oct 2009 13:23:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 28 Oct 2009 13:23:04 +0000 (UTC) Cc: Stefan Monnier To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 28 14:22:56 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1N38UI-00070i-H4 for ged-emacs-devel@m.gmane.org; Wed, 28 Oct 2009 14:22:54 +0100 Original-Received: from localhost ([127.0.0.1]:33853 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N38UH-00058Z-Sc for ged-emacs-devel@m.gmane.org; Wed, 28 Oct 2009 09:22:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N38UA-00056Z-6Z for emacs-devel@gnu.org; Wed, 28 Oct 2009 09:22:46 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N38U7-00053A-Ud for emacs-devel@gnu.org; Wed, 28 Oct 2009 09:22:45 -0400 Original-Received: from [199.232.76.173] (port=34581 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N38U7-00052u-Lj for emacs-devel@gnu.org; Wed, 28 Oct 2009 09:22:43 -0400 Original-Received: from mail2.sha-bang.de ([78.47.120.114]:34864 helo=mail.sha-bang.de) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N38U6-0005rF-LG for emacs-devel@gnu.org; Wed, 28 Oct 2009 09:22:42 -0400 Original-Received: from kenny.sha-bang.local (xdsldd016.osnanet.de [89.166.157.16]) by mail.sha-bang.de (Postfix) with ESMTPSA id E0F5154E; Wed, 28 Oct 2009 14:22:39 +0100 (CET) Original-Received: from wilde by kenny.sha-bang.local with local (Sha Bang MUA v.0711184.68) ID 1N38U3-00037X-I4; Wed, 28 Oct 2009 14:22:39 +0100 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:116434 Archived-At: --=-=-= Hi *, on Sun Oct 25 Stefan added a big bunch of `when' args to various function calls in the semantic code. This included the following change: --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff -r 580466ce1a98 -r 2cc681b53a29 lisp/cedet/semantic/tag-file.el --- a/lisp/cedet/semantic/tag-file.el Sun Oct 25 02:07:45 2009 +0000 +++ b/lisp/cedet/semantic/tag-file.el Sun Oct 25 02:55:27 2009 +0000 @@ -103,7 +103,7 @@ ) (make-obsolete-overload 'semantic-find-nonterminal - 'semantic-go-to-tag) + 'semantic-go-to-tag "23.2") ;;; Dependencies ;; @@ -177,7 +177,7 @@ ))) (make-obsolete-overload 'semantic-find-dependency - 'semantic-dependency-tag-file) + 'semantic-dependency-tag-file "23.2") ;;; PROTOTYPE FILE ;; --=-=-= which is wrong as the function make-obsolete-overload does only take two arguments and no third `when' arg. Simply reverting this change fixed semantic for me. cheers sascha -- Sascha Wilde "Computers are good at following instructions, but not at reading your mind." D. E. Knuth, The TeXbook, Addison-Wesley 1984, 1986, 1996, p. 9 --=-=-=--