From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.bugs Subject: Re: Byte-compile problem Date: Thu, 11 Nov 2004 14:11:14 +0100 Message-ID: References: <5065e290041111033052224445@mail.gmail.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1100178937 16543 80.91.229.6 (11 Nov 2004 13:15:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 11 Nov 2004 13:15:37 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Nov 11 14:15:26 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CSEnN-0005Z1-00 for ; Thu, 11 Nov 2004 14:15:26 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CSEvs-00066J-Jg for geb-bug-gnu-emacs@m.gmane.org; Thu, 11 Nov 2004 08:24:12 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CSEvo-00063h-Ew for bug-gnu-emacs@gnu.org; Thu, 11 Nov 2004 08:24:08 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CSEvo-00063G-0J for bug-gnu-emacs@gnu.org; Thu, 11 Nov 2004 08:24:08 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CSEvn-00063D-U6 for bug-gnu-emacs@gnu.org; Thu, 11 Nov 2004 08:24:07 -0500 Original-Received: from [195.135.220.2] (helo=Cantor.suse.de) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1CSEn8-0002NW-SD for bug-gnu-emacs@gnu.org; Thu, 11 Nov 2004 08:15:11 -0500 Original-Received: from hermes.suse.de (hermes-ext.suse.de [195.135.221.8]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by Cantor.suse.de (Postfix) with ESMTP id 424C2106B023; Thu, 11 Nov 2004 14:11:15 +0100 (CET) Original-To: Sun Yijiang X-Yow: I am having a pleasant time!! In-Reply-To: <5065e290041111033052224445@mail.gmail.com> (Sun Yijiang's message of "Thu, 11 Nov 2004 19:30:24 +0800") User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:9664 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:9664 Sun Yijiang writes: > Emacs version: CVS 2004-11-10 > > Problematic codes: > ;;++++++++++++++++++++++++++++++++++++++++ > 1170 (defun emacs-wiki-link-at-point (&optional pos) > "Return non-nil if a URL or Wiki link name is at point." > (if (or (null pos) > (and (char-after pos) > (not (eq (char-syntax (char-after pos)) ? )))) > (let ((case-fold-search nil) > (here (or pos (point)))) > (save-excursion > (goto-char here) > (skip-chars-backward "^'\"<>{}( [\t\n") > 1180 (or (and (search-backward "[[" (line-beginning-position)= t) > (looking-at emacs-wiki-name-regexp) > (<=3D here (match-end 0))) > (and (goto-char here) > (skip-chars-backward "^'\"<>{}( [\t\n") > (looking-at emacs-wiki-url-or-name-regexp))))))= ) > ;;++++++++++++++++++++++++++++++++++++++++ > Byte-compile Messages: > emacs-wiki.el:1170:44:Warning: attempt to inline `t' before it was defi= ned > emacs-wiki.el:1180:68:Warning: `t' called as a function I can't reproduce that, all I get is this: In emacs-wiki-link-at-point: x.el:12:32:Warning: reference to free variable `emacs-wiki-name-regexp' x.el:16:32:Warning: reference to free variable `emacs-wiki-url-or-name-re= gexp' Andreas. --=20 Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux AG, Maxfeldstra=DFe 5, 90409 N=FCrnberg, Germany Key fingerprint =3D 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."