unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Andreas Schwab <schwab@suse.de>
Cc: bug-gnu-emacs@gnu.org
Subject: Re: Byte-compile problem
Date: Thu, 11 Nov 2004 14:11:14 +0100	[thread overview]
Message-ID: <jeis8c7cp9.fsf@sykes.suse.de> (raw)
In-Reply-To: <5065e290041111033052224445@mail.gmail.com> (Sun Yijiang's message of "Thu, 11 Nov 2004 19:30:24 +0800")

Sun Yijiang <sunyijiang@gmail.com> 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)
>                         (<= 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 defined
> 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-regexp'

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

  reply	other threads:[~2004-11-11 13:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-11 11:30 Byte-compile problem Sun Yijiang
2004-11-11 13:11 ` Andreas Schwab [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-11-11 16:35 Luc Teirlinck

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jeis8c7cp9.fsf@sykes.suse.de \
    --to=schwab@suse.de \
    --cc=bug-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).