From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nikolaj Schumacher Newsgroups: gmane.emacs.help Subject: Re: Working with constansts Date: Mon, 18 May 2009 21:19:08 +0200 Message-ID: References: <87d4ahylp3.fsf@galatea.local> <000801c9d191$22a21340$0200a8c0@us.oracle.com> <874ovszuu3.fsf@galatea.local> <87zldkxicx.fsf@galatea.local> <7ceiuuczad.fsf@pbourguignon.informatimago.com> <7c7i0e8uvx.fsf@pbourguignon.anevia.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1242674384 32266 80.91.229.12 (18 May 2009 19:19:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 18 May 2009 19:19:44 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: pjb@informatimago.com (Pascal J. Bourguignon) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon May 18 21:19:37 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 1M68N6-0001rp-1o for geh-help-gnu-emacs@m.gmane.org; Mon, 18 May 2009 21:19:36 +0200 Original-Received: from localhost ([127.0.0.1]:56550 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M68N4-0004Vh-TX for geh-help-gnu-emacs@m.gmane.org; Mon, 18 May 2009 15:19:34 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M68Mj-0004VQ-EK for help-gnu-emacs@gnu.org; Mon, 18 May 2009 15:19:13 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M68Mh-0004V9-TC for help-gnu-emacs@gnu.org; Mon, 18 May 2009 15:19:13 -0400 Original-Received: from [199.232.76.173] (port=46501 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M68Mh-0004V6-QX for help-gnu-emacs@gnu.org; Mon, 18 May 2009 15:19:11 -0400 Original-Received: from dd18200.kasserver.com ([85.13.138.168]:50280) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M68Mh-0002IU-IH for help-gnu-emacs@gnu.org; Mon, 18 May 2009 15:19:11 -0400 Original-Received: from thursday (e176228187.adsl.alicedsl.de [85.176.228.187]) by dd18200.kasserver.com (Postfix) with ESMTP id 73FC618378DE4; Mon, 18 May 2009 21:19:15 +0200 (CEST) In-Reply-To: <7c7i0e8uvx.fsf@pbourguignon.anevia.com> (Pascal J. Bourguignon's message of "Mon, 18 May 2009 14:20:50 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.93 (darwin) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:64546 Archived-At: pjb@informatimago.com (Pascal J. Bourguignon) wrote: > Nikolaj Schumacher writes: > >> (defvar y '(foo . bar) >> (defconst x y) >> >> Now the compiler cannot assume that y will not change, it's just a >> reminder to the developer. > > Well, you shouldn't modify quoted literals either, since this is > modifying the program: What program? No form is stored in that case. regards, Nikolaj Schumacher