From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.bugs Subject: bug#11821: 24.1.50; Slime doesn't batch compile anymore Date: Thu, 05 Jul 2012 13:07:36 +0200 Message-ID: <871ukqo493.fsf@gmail.com> References: <87y5n6ugj9.fsf@googlemail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1341486565 32579 80.91.229.3 (5 Jul 2012 11:09:25 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 5 Jul 2012 11:09:25 +0000 (UTC) To: 11821@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 05 13:09:23 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1Smjw0-0007bO-Iw for geb-bug-gnu-emacs@m.gmane.org; Thu, 05 Jul 2012 13:09:20 +0200 Original-Received: from localhost ([::1]:49503 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Smjvz-0006W3-HW for geb-bug-gnu-emacs@m.gmane.org; Thu, 05 Jul 2012 07:09:19 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:38061) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Smjvs-0006VP-Pa for bug-gnu-emacs@gnu.org; Thu, 05 Jul 2012 07:09:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Smjvr-0001Co-2r for bug-gnu-emacs@gnu.org; Thu, 05 Jul 2012 07:09:12 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40259) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Smjvq-0001Ca-Vo for bug-gnu-emacs@gnu.org; Thu, 05 Jul 2012 07:09:11 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Smk0Y-0002hr-DB for bug-gnu-emacs@gnu.org; Thu, 05 Jul 2012 07:14:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <87y5n6ugj9.fsf@googlemail.com> Resent-From: Thierry Volpiatto Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 05 Jul 2012 11:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11821 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.134148678810332 (code B ref -1); Thu, 05 Jul 2012 11:14:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 5 Jul 2012 11:13:08 +0000 Original-Received: from localhost ([127.0.0.1]:49805 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Smjzf-0002ga-UP for submit@debbugs.gnu.org; Thu, 05 Jul 2012 07:13:08 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:32844) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Smjzc-0002gR-NR for submit@debbugs.gnu.org; Thu, 05 Jul 2012 07:13:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Smjuo-0000du-9U for submit@debbugs.gnu.org; Thu, 05 Jul 2012 07:08:12 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:58295) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Smjuo-0000dm-6J for submit@debbugs.gnu.org; Thu, 05 Jul 2012 07:08:06 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:37489) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Smjui-00063t-3W for bug-gnu-emacs@gnu.org; Thu, 05 Jul 2012 07:08:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Smjuc-0000cO-J5 for bug-gnu-emacs@gnu.org; Thu, 05 Jul 2012 07:07:59 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:45466) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Smjuc-0000cI-C6 for bug-gnu-emacs@gnu.org; Thu, 05 Jul 2012 07:07:54 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SmjuW-00054L-MD for bug-gnu-emacs@gnu.org; Thu, 05 Jul 2012 13:07:48 +0200 Original-Received: from lbe83-2-78-243-104-167.fbx.proxad.net ([78.243.104.167]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 05 Jul 2012 13:07:48 +0200 Original-Received: from thierry.volpiatto by lbe83-2-78-243-104-167.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 05 Jul 2012 13:07:48 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 46 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: lbe83-2-78-243-104-167.fbx.proxad.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) Cancel-Lock: sha1:PXgS8evysfQSKYsVrM45hwl14zk= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:61607 Archived-At: Stefan Monnier writes: >> slime-repl.el:19:13:Error: Don't know how to compile nil >> slime-repl.el:19:13:Error: Don't know how to compile nil > > Apparently, some of the code in slime-repl.el ends up calling > (byte-compile ) where is a function that's > not yet defined. Indeed modifying all files containing such a form like this works: --- a/contrib/slime-repl.el +++ b/contrib/slime-repl.el @@ -1725,12 +1725,12 @@ If the current buffer is not a REPL, don't do anything." (remove-hook 'slime-cycle-connections-hook 'slime-change-repl-to-default-connection)) (let ((byte-compile-warnings '())) - (mapc #'byte-compile - '(slime-repl-event-hook-function - slime-write-string - slime-repl-write-string - slime-repl-emit - slime-repl-show-maximum-output))) + (loop for obj in '(slime-repl-event-hook-function + slime-write-string + slime-repl-write-string + slime-repl-emit + slime-repl-show-maximum-output) + when (and obj (boundp obj)) do (byte-compile obj))) > Earlier, Emacs would just silently ignore such erroneous situations, > > > Stefan > > > > -- Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997