From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Ekstrand Newsgroups: gmane.emacs.help Subject: Re: emacs evaluating Date: Sat, 07 Feb 2009 16:33:11 -0600 Organization: Aioe.org NNTP Server Message-ID: <87skmpzxlk.fsf@jehiel.elehack.net> References: <87prhufhzk.fsf@galatea.local> <868woinf00.fsf@timbral.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1234046562 10305 80.91.229.12 (7 Feb 2009 22:42:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 7 Feb 2009 22:42:42 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Feb 07 23:43:55 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LVvss-0006SA-0A for geh-help-gnu-emacs@m.gmane.org; Sat, 07 Feb 2009 23:42:46 +0100 Original-Received: from localhost ([127.0.0.1]:52256 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LVvrY-0003hv-PW for geh-help-gnu-emacs@m.gmane.org; Sat, 07 Feb 2009 17:41:24 -0500 Original-Path: news.stanford.edu!headwall.stanford.edu!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!oleane.net!oleane!news.ecp.fr!aioe.org!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 29 Original-NNTP-Posting-Host: 3k4OpuCxx2rBT/R1RUDefw.user.aioe.org Original-X-Complaints-To: abuse@aioe.org Original-NNTP-Posting-Date: Sat, 7 Feb 2009 22:34:59 +0000 (UTC) X-Notice: Filtered by postfilter v. 0.7.7 Cancel-Lock: sha1:ORXjCwmkQJateURH8SsunSeSRB8= sha1:7aPm9jGYl7GH1135yCrtvR8vaI4= User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.90 (gnu/linux) Original-Xref: news.stanford.edu gnu.emacs.help:166681 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:61988 Archived-At: Evans Winner writes: > pjb@informatimago.com (Pascal J. Bourguignon) writes: > > To compile a function: (byte-compile 'your-function) C-x > C-e > > I had never thought of this. I think I really must not > understand compilation very clearly. I think I grasp that > an entire file full of functions will load faster if it is > compiled first, but what does interactively compiling a > single function buy me? Does it exist in a different form > in the image when you do that? Does it execute faster? > (This is not a facetious question, by the way.) Er, maybe > it has to do with debugging macros or something...? It doesn't buy you anything useful that I know of for interactive experimentation. Byte compilation is useful for speeding up loading of large and relatively-immutable packages, but for experimenting using C-x C-e (evaluate last expression) and the scratch buffer are rather convenient. Compiling also makes debugging more difficult, as the debugger doesn't display overly useful information when it encounters byte-compiled code. - Michael -- mouse, n: A device for pointing at the xterm in which you want to type. Confused by the strange files? I cryptographically sign my messages. For more information see .