From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: hector Newsgroups: gmane.emacs.help Subject: Re: unexpected byte-compiler behaviour Date: Thu, 9 Mar 2017 20:25:03 +0100 Message-ID: <20170309192503.GB2999@workstation> References: <20170309174614.GA3572@workstation> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1489087764 22311 195.159.176.226 (9 Mar 2017 19:29:24 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 9 Mar 2017 19:29:24 +0000 (UTC) User-Agent: Mutt/1.5.20 (2009-06-14) Cc: help-gnu-emacs@gnu.org To: John Mastro Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Mar 09 20:29:17 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cm3kR-0005C9-1t for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Mar 2017 20:29:15 +0100 Original-Received: from localhost ([::1]:35953 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cm3kW-0008Is-SQ for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Mar 2017 14:29:20 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58954) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cm3k1-0008IY-Ss for help-gnu-emacs@gnu.org; Thu, 09 Mar 2017 14:28:51 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cm3jy-0008RI-Of for help-gnu-emacs@gnu.org; Thu, 09 Mar 2017 14:28:49 -0500 Original-Received: from mail-wr0-x244.google.com ([2a00:1450:400c:c0c::244]:36567) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cm3jy-0008R1-8J for help-gnu-emacs@gnu.org; Thu, 09 Mar 2017 14:28:46 -0500 Original-Received: by mail-wr0-x244.google.com with SMTP id l37so9078573wrc.3 for ; Thu, 09 Mar 2017 11:28:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=OIYSlUgl2qj64jPUiL/zxJ8VLapltLC78GyEPpeRczw=; b=g7oxUETYe7Z2w2viVfZN8C7FxSlHdmadiFdTVhQ9iH/nxplyWYMgkJBot6B7RMDjN5 KUyEuFQ2/2SEYx1YJkrwJipcFeCQkjKe4MI8CwoVldEjy+E2qBYsNrxTKEwsJc0mmQdW d+l454ZJLfnE/NS3RENU9s+uvVqrw7ZM3gRcjEIYU014cTebwkfO/KPFORGjirAgsrQ/ ejYMhSnXydkTwK198KxZiLa35wSmTIsZK2WCGsuwfUUunN3vaBWSNRPQcIIvOTuYjVKS /6465uVr7mk9JRsM2nQ04AoFC5oB6kQIFJLhJMOsVkQSvgTZRye2TkA+jtLPm/iigyAe Ac0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=OIYSlUgl2qj64jPUiL/zxJ8VLapltLC78GyEPpeRczw=; b=p2/1i6hI0NhGeVaCl2b3UbN8XaBcG+LP6O1VKSfG2sYxexuyuadQw/kxd0/hoQ21jg NTy95oeJBepA8n3dBKNQC1kyTOIa/XQYXXODxt7XH3eMSDB/bY/5jOEzKQf92TyfHfMk d0J8GyXdnZ5Q146TkA8qIQrT6YYoWYryqXKXKTpxcZ7v/u7RP4b9EzqwPA1AzOQa5UBE t7bWt7tjhDmH7NNMPWZZ+hCKHFxM8Pyauk/wqRO4LvcodEMbSs6KAdG02Oy1ARUeBFW9 JwTq1Znp2nIFB6c0dIYbxWsVFFiknT1kQy/yIRwfEZvfW3R0b2qu3zjKUf6hBHlkZZqI CYJA== X-Gm-Message-State: AMke39lKGOfQmO+0VQqOq8Y9Ta8+bZW6yEXBzABTeku8rQSzKHKqDDLSWs5PSM4LZ+2YLw== X-Received: by 10.223.135.47 with SMTP id a44mr13317910wra.197.1489087724976; Thu, 09 Mar 2017 11:28:44 -0800 (PST) Original-Received: from workstation ([148.56.211.135]) by smtp.gmail.com with ESMTPSA id i82sm705249wmf.1.2017.03.09.11.28.43 (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 09 Mar 2017 11:28:43 -0800 (PST) X-Google-Original-From: hector Content-Disposition: inline In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::244 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:112499 Archived-At: Thank you for your reply. One of the problems here is that I'm thinking in C. That's where I come from and sometimes it's hard to get accustomed to a new language. You don't need to define a function before it is called. That's why the "function is not defined" message is delayed until the end of parsing. I think perhaps I should use "(require 'eieio): (defclass lyqi-abbrev () ((abbrev :initarg :abbrev) (collection :initarg :collection) (start-position :initarg :start-position))) But then, is "defclass" defined even if I don't require eieio?