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:05:27 +0200 Organization: Aioe.org NNTP Server Message-ID: <87d2b1vh2w.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> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1410480627 32640 80.91.229.3 (12 Sep 2014 00:10:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Sep 2014 00:10:27 +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:10:20 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 1XSERQ-0002fy-GD for geh-help-gnu-emacs@m.gmane.org; Fri, 12 Sep 2014 02:10:20 +0200 Original-Received: from localhost ([::1]:41742 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XSERP-0008DM-ST for geh-help-gnu-emacs@m.gmane.org; Thu, 11 Sep 2014 20:10:19 -0400 Original-Path: usenet.stanford.edu!goblin3!goblin2!goblin.stu.neva.ru!aioe.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 31 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:jPofD4SAp8qek+eYZ/NOGk2jfo8= Mail-Copies-To: never Original-Xref: usenet.stanford.edu gnu.emacs.help:207559 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:99834 Archived-At: "Pascal J. Bourguignon" writes: > list always return a new list or nil. quote always > return the very same object it has in argument. > > It's not the same at all! Of course list is not the same as quote in general. But those examples are the same in the sense that when I evaluate them I get the same result. You can try that yourself, here: '(1 2 3) ; (1 2 3) (quote (1 2 3)) ; same (list 1 2 3) ; same >> By the way, I thought I would make it even more >> pedagogical with `functionp' and `listp', but: >> (functionp '(lambda () (interactive) 1)) ; t (listp >> (lambda () (interactive) 1)) ; t > > This is wrong also. "Wrong"? Those are the results I get. Here: (functionp '(lambda () (interactive) 1)) ; t (listp (lambda () (interactive) 1)) ; t -- underground experts united