From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Robert Thorpe Newsgroups: gmane.emacs.help Subject: Re: Whats wrong with this defcustom? Date: Wed, 30 Jul 2014 02:32:30 +0100 Message-ID: <87ppgnzl5d.fsf@robertthorpeconsulting.com> References: <87ha1ziszz.fsf@debian.uxu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1406683985 14351 80.91.229.3 (30 Jul 2014 01:33:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 30 Jul 2014 01:33:05 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Emanuel Berg Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jul 30 03:32:58 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 1XCIlF-0004n1-S0 for geh-help-gnu-emacs@m.gmane.org; Wed, 30 Jul 2014 03:32:57 +0200 Original-Received: from localhost ([::1]:48598 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XCIlF-00016v-Ec for geh-help-gnu-emacs@m.gmane.org; Tue, 29 Jul 2014 21:32:57 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43881) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XCIkz-00015r-Uw for help-gnu-emacs@gnu.org; Tue, 29 Jul 2014 21:32:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XCIkr-0000za-Tf for help-gnu-emacs@gnu.org; Tue, 29 Jul 2014 21:32:41 -0400 Original-Received: from outbound-smtp06.blacknight.com ([81.17.249.39]:58361) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XCIkr-0000zS-Nb for help-gnu-emacs@gnu.org; Tue, 29 Jul 2014 21:32:33 -0400 Original-Received: from mail.blacknight.com (pemlinmail02.blacknight.ie [81.17.254.11]) by outbound-smtp06.blacknight.com (Postfix) with ESMTP id A851C98390 for ; Wed, 30 Jul 2014 01:32:02 +0000 (UTC) Original-Received: (qmail 27722 invoked from network); 30 Jul 2014 01:32:31 -0000 Original-Received: from unknown (HELO RTLaptop) (rt@robertthorpeconsulting.com@[109.76.57.124]) by 81.17.254.9 with ESMTPSA (DHE-RSA-AES128-SHA encrypted, authenticated); 30 Jul 2014 01:32:31 -0000 In-Reply-To: <87ha1ziszz.fsf@debian.uxu> (message from Emanuel Berg on Wed, 30 Jul 2014 02:34:56 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 81.17.249.39 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:98990 Archived-At: Emanuel Berg writes: > Robert Thorpe writes: > >>> () Robert Thorpe () >>> Tue, 29 Jul 2014 01:46:10 +0100 '(something) is just >>> an abbreviation for (quote something). This is not >>> correct. '(something) =E2=89=A1 (quote (something)) which >>> evals to a list of one element, the symbol >>> =E2=80=98something=E2=80=99 i.e., =3D> (something) >> >> I agree, you're right. > > I think you meant 'something is equal to (quote > something)? Because it is, right? What you quote above is mostly what Thien-Thi Nguyen wrote. He used =E2=89= =A1 which means "equivalent to" or "identical to". The lisp reader translates '(foo bar) into (quote (foo bar)) which is evaluated. The quote special form doesn't evaluate it's argument. So, evaluating it produces "(foo bar)". I wrote "returned" because quote is rather like a function that's called and returns something. (And in an interpreter that's a recursive evaluator it may be done by a function return.) Equality is something else, as you've found. BR, Robert Thorpe