From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Emanuel Berg Newsgroups: gmane.emacs.help Subject: Re: how to add button to emacs that play a elisp code Date: Fri, 12 Sep 2014 02:50:06 +0200 Organization: Aioe.org NNTP Server Message-ID: <87wq99u0g1.fsf@debian.uxu> References: <04dd6007-693a-4e56-9e2a-e930e51a9563@googlegroups.com> <21521.22678.640570.26495@mail.eng.it> <21521.24551.904371.551048@mail.eng.it> <21521.37886.262510.961741@mail.eng.it> <87vbotx3ht.fsf@debian.uxu> <87ioktn2qp.fsf@kuiper.lan.informatimago.com> <87d2b1vh2w.fsf@debian.uxu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1410483024 25336 80.91.229.3 (12 Sep 2014 00:50:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Sep 2014 00:50:24 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 12 02:50:18 2014 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 1XSF46-0004Ph-6K for geh-help-gnu-emacs@m.gmane.org; Fri, 12 Sep 2014 02:50:18 +0200 Original-Received: from localhost ([::1]:41831 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XSF45-0000YT-SQ for geh-help-gnu-emacs@m.gmane.org; Thu, 11 Sep 2014 20:50:17 -0400 Original-Path: usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!news.stack.nl!aioe.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 27 Original-NNTP-Posting-Host: P0uMB9BthHuWo8+BJXB4Mw.user.speranza.aioe.org Original-X-Complaints-To: abuse@aioe.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-Notice: Filtered by postfilter v. 0.8.2 Cancel-Lock: sha1:6U7sndnR+bGWC9PIt7iDmchMzPg= Mail-Copies-To: never Original-Xref: usenet.stanford.edu gnu.emacs.help:207562 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:99837 Archived-At: Michael Heerdegen writes: > I think what Pascal means is that these are not the > "same" in the sense that when you replace one of > these expressions with the other in a program, the > result after evaluation may change. It's important to > state that, because this issue is a common pitfall in > Lisp. Aha, yes, that property even has a name - something that can be placed anywhere and still produce the same result, even if invoked repeatedly...? How common this pitfall is in Lisp one has to wonder though... do you have an example? I never had a problem, but perhaps that is because I only recently started to byte-compile all my code. Not that I experienced anything, actually, save for the warning messages on compilation that perhaps served to clean up the code. And the system feels a tiny bit faster (perhaps my imagination). -- underground experts united