From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Warnings about keymaps Date: Fri, 18 Sep 2009 20:43:37 -0400 Message-ID: References: <83ocph26p7.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1253321044 22020 80.91.229.12 (19 Sep 2009 00:44:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 19 Sep 2009 00:44:04 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Glenn Morris Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 19 02:43:57 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Moo3Q-0000eW-Bb for ged-emacs-devel@m.gmane.org; Sat, 19 Sep 2009 02:43:56 +0200 Original-Received: from localhost ([127.0.0.1]:53374 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Moo3P-0001RA-P9 for ged-emacs-devel@m.gmane.org; Fri, 18 Sep 2009 20:43:55 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Moo3K-0001Qv-5Z for emacs-devel@gnu.org; Fri, 18 Sep 2009 20:43:50 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Moo3F-0001ON-IS for emacs-devel@gnu.org; Fri, 18 Sep 2009 20:43:49 -0400 Original-Received: from [199.232.76.173] (port=55310 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Moo3F-0001OG-GF for emacs-devel@gnu.org; Fri, 18 Sep 2009 20:43:45 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183]:52935 helo=ironport2-out.pppoe.ca) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Moo3D-0003MJ-50; Fri, 18 Sep 2009 20:43:43 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApsEAC/Gs0pLd/GK/2dsb2JhbACBUs09hBsFh34 X-IronPort-AV: E=Sophos;i="4.44,412,1249272000"; d="scan'208";a="46123368" Original-Received: from 75-119-241-138.dsl.teksavvy.com (HELO pastel.home) ([75.119.241.138]) by ironport2-out.pppoe.ca with ESMTP; 18 Sep 2009 20:43:37 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id C43D9801B; Fri, 18 Sep 2009 20:43:37 -0400 (EDT) In-Reply-To: (Glenn Morris's message of "Fri, 18 Sep 2009 18:25:27 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:115476 Archived-At: >>> (are you saying users should not add key bindings to >>> log-edit-mode-map, for example?). >> That's unrelated: defconst only says that the variable's binding won't >> change, not that the object it is bound to is immutable. > I don't understand that distinction. It's the same distinction that makes it possible for a function to modify an array passed as argument in C, even though arguments are passed "by value" (i.e. it receives a copy of the pointer to the array, so it can't change which array is pointed, but it can modify the array's contents). Stefan