From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.help Subject: RE: package not needed to byte-compile Date: Sun, 22 Feb 2015 20:00:49 -0800 (PST) Message-ID: <74832ae1-3ae9-4c33-8db6-ed4faea079b9@default> References: <20150222185751.5e3f9e2c@gauss> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1424664090 11653 80.91.229.3 (23 Feb 2015 04:01:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 23 Feb 2015 04:01:30 +0000 (UTC) To: Joe Riel , Help GNU Emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Feb 23 05:01:18 2015 Return-path: Envelope-to: geh-help-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 1YPkCr-0000DX-3M for geh-help-gnu-emacs@m.gmane.org; Mon, 23 Feb 2015 05:01:17 +0100 Original-Received: from localhost ([::1]:41952 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YPkCq-0003Ja-7b for geh-help-gnu-emacs@m.gmane.org; Sun, 22 Feb 2015 23:01:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40295) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YPkCe-0003JV-LH for help-gnu-emacs@gnu.org; Sun, 22 Feb 2015 23:01:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YPkCb-0001tL-FI for help-gnu-emacs@gnu.org; Sun, 22 Feb 2015 23:01:04 -0500 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:44951) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YPkCb-0001tE-93 for help-gnu-emacs@gnu.org; Sun, 22 Feb 2015 23:01:01 -0500 Original-Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id t1N40vPY003175 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 23 Feb 2015 04:00:58 GMT Original-Received: from aserz7022.oracle.com (aserz7022.oracle.com [141.146.126.231]) by ucsinet22.oracle.com (8.14.5+Sun/8.14.5) with ESMTP id t1N40uJ8026121 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Mon, 23 Feb 2015 04:00:57 GMT Original-Received: from abhmp0001.oracle.com (abhmp0001.oracle.com [141.146.116.7]) by aserz7022.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id t1N40uSs021086; Mon, 23 Feb 2015 04:00:56 GMT In-Reply-To: <20150222185751.5e3f9e2c@gauss> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8.2 (807160) [OL 12.0.6691.5000 (x86)] X-Source-IP: ucsinet22.oracle.com [156.151.31.94] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 141.146.126.69 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:102842 Archived-At: > Is there a way to tell Emacs that package B > is required to run package A, but not to > compile package A? Using (require B) > causes an error during byte-compilation because the > package is not available then. It's not clear (to me) what you're asking. `require' does not byte-compile anything. If A needs B then putting (require 'B) in A loads B. That compiles neither A nor B. If you don't want to compile A, don't compile it. Likewise, B. Causes an error during byte compilation of what? You said that you do not want to compile A. What error? Your question is completely unclear to me. I suggest that you start over. Tell us (a) what you did, specifically, (b) what happened, specifically, including what error you saw, and (c) what you expected to happen instead.