From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jim Ottaway Newsgroups: gmane.emacs.help Subject: puzzling byte-compile-file message: `=' called for effect Date: Tue, 15 Nov 2005 14:42:24 +0000 Message-ID: <871x1im0q7.fsf@lse.ac.uk> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1132069228 20857 80.91.229.2 (15 Nov 2005 15:40:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 15 Nov 2005 15:40:28 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Nov 15 16:40:27 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Ec2o6-0000SJ-T7 for geh-help-gnu-emacs@m.gmane.org; Tue, 15 Nov 2005 16:33:15 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ec2o6-0006uC-5A for geh-help-gnu-emacs@m.gmane.org; Tue, 15 Nov 2005 10:33:14 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ec218-0000jx-Nm for help-gnu-emacs@gnu.org; Tue, 15 Nov 2005 09:42:39 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ec214-0000ih-GS for help-gnu-emacs@gnu.org; Tue, 15 Nov 2005 09:42:35 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ec212-0000iW-95 for help-gnu-emacs@gnu.org; Tue, 15 Nov 2005 09:42:32 -0500 Original-Received: from [194.247.47.231] (helo=mailout.zetnet.co.uk) by monty-python.gnu.org with esmtp (TLS-1.0:RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1Ec212-0003tf-CN for help-gnu-emacs@gnu.org; Tue, 15 Nov 2005 09:42:32 -0500 Original-Received: from irwell.zetnet.co.uk ([194.247.47.48] helo=zetnet.co.uk) by mailout.zetnet.co.uk with esmtp (Exim 4.50) id 1Ec210-0005RG-5I for help-gnu-emacs@gnu.org; Tue, 15 Nov 2005 14:42:30 +0000 Original-Received: from runcible (53-186.adsl.zetnet.co.uk [194.247.53.186]) by zetnet.co.uk (8.13.4/8.13.4/Debian-3) with ESMTP id jAFEgTCs002639 for ; Tue, 15 Nov 2005 14:42:29 GMT Original-Received: from jeho by runcible with local (Exim 4.50) id 1Ec20u-000482-HF for help-gnu-emacs@gnu.org; Tue, 15 Nov 2005 14:42:24 +0000 Original-To: help-gnu-emacs@gnu.org User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:31064 Archived-At: When byte-compiling a file, I get this message: In nl-publish-markup-list: nested-lists.el:395:19:Warning: `=' called for effect What does this mean? I grepped for 'for effect' in Emacs's lisp/emacs-lisp subdirectory, and found the relevant parts of byte-opt.el, but I am no wiser. The code with the '=' in it is: (when (and nl-paras-fixed-p (save-excursion (goto-char nl-markup-start) (goto-char (muse-line-beginning-position)) (= (forward-line -1) 0) (looking-at "^\\S-"))) (with-current-buffer nl-temp-buffer (goto-char (point-min)) (insert "\n\n"))) Any ideas? Does it mean that the byte-compiler thinks that (forward-line -1) will always return 0 at that point? Or does 'for effect' mean something else? -- Jim Ottaway