From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Luc Teirlinck Newsgroups: gmane.emacs.devel Subject: speedbar.el makes bootstrapping fail. Date: Sun, 22 Aug 2004 15:03:48 -0500 (CDT) Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: <200408222003.i7MK3m107911@raven.dms.auburn.edu> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1093205101 7719 80.91.224.253 (22 Aug 2004 20:05:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 22 Aug 2004 20:05:01 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Aug 22 22:04:53 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 1ByyaC-0000FA-00 for ; Sun, 22 Aug 2004 22:04:52 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Byyec-0007Qq-Pf for ged-emacs-devel@m.gmane.org; Sun, 22 Aug 2004 16:09:26 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1ByyeV-0007QZ-SS for emacs-devel@gnu.org; Sun, 22 Aug 2004 16:09:19 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1ByyeV-0007QG-9x for emacs-devel@gnu.org; Sun, 22 Aug 2004 16:09:19 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1ByyeV-0007QD-7m for emacs-devel@gnu.org; Sun, 22 Aug 2004 16:09:19 -0400 Original-Received: from [131.204.53.104] (helo=manatee.dms.auburn.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1ByyZc-0007hU-3d for emacs-devel@gnu.org; Sun, 22 Aug 2004 16:04:16 -0400 Original-Received: from raven.dms.auburn.edu (raven.dms.auburn.edu [131.204.53.29]) by manatee.dms.auburn.edu (8.12.10/8.12.10) with ESMTP id i7MK4FuE019111 for ; Sun, 22 Aug 2004 15:04:15 -0500 (CDT) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.6+Sun/8.11.6) id i7MK3m107911; Sun, 22 Aug 2004 15:03:48 -0500 (CDT) X-Authentication-Warning: raven.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: emacs-devel@gnu.org 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: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:26410 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:26410 `speedbar-supported-extension-expressions' and `speedbar-file-regexp' mutually use each other. `speedbar-supported-extension-expressions' used to be defined first. This gave a compiler warning, but no other trouble that I know of. A few hours ago Richard changed the order of the two functions, in as far as I know, to get rid of the compiler warning. But this makes bootstrapping fail. Interchanging the order again solves that problem. So I plan to do that, to make bootstrapping work. I am hesitant to put a `with-no-warnings' around the defcustom, because the elisp manual says that def{var,const,custom} should be at top level. The patch below first gives a "fake" defvar for `speedbar-file-regexp', then defcustoms `speedbar-supported-extension-expressions', then gives the real defvar for `speedbar-file-regexp'. The compiler seems happy with that. Any comments? I probably want to commit reasonably quickly, since bootstrapping is broken and any change I make can always be amended. Sincerely, Luc.