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: [Emacs-diffs] /srv/bzr/emacs/trunk r109864: Fix minor problems found by static checking. Date: Tue, 04 Sep 2012 15:19:15 -0400 Message-ID: References: <83392zf7bu.fsf@gnu.org> <504506E8.5070506@cs.ucla.edu> <83r4qieszx.fsf@gnu.org> <25F1A420-CE2F-432B-BDE3-3E973E1B2CC3@swipnet.se> <50459584.8020209@cs.ucla.edu> <87k3w9509k.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1346786368 10463 80.91.229.3 (4 Sep 2012 19:19:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 4 Sep 2012 19:19:28 +0000 (UTC) Cc: Eli Zaretskii , Paul Eggert , Jan =?iso-8859-1?Q?Dj=E4rv?= , "emacs-devel@gnu.org" To: Jason Rumney Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 04 21:19:29 2012 Return-path: Envelope-to: ged-emacs-devel@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 1T8yek-0002hH-90 for ged-emacs-devel@m.gmane.org; Tue, 04 Sep 2012 21:19:26 +0200 Original-Received: from localhost ([::1]:49918 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T8yeh-0000pd-4e for ged-emacs-devel@m.gmane.org; Tue, 04 Sep 2012 15:19:23 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:34861) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T8yee-0000oA-5Y for emacs-devel@gnu.org; Tue, 04 Sep 2012 15:19:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T8yed-0002pK-67 for emacs-devel@gnu.org; Tue, 04 Sep 2012 15:19:20 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:46602) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T8yeb-0002p4-PQ; Tue, 04 Sep 2012 15:19:17 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAG6Zu09FpYGP/2dsb2JhbABEtBGBCIIVAQEEAVYjEAs0EhQYDSSIHAW6CZBEA6MzgViDBQ X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="197477512" Original-Received: from 69-165-129-143.dsl.teksavvy.com (HELO pastel.home) ([69.165.129.143]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 04 Sep 2012 15:19:16 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id CD97D58B20; Tue, 4 Sep 2012 15:19:15 -0400 (EDT) In-Reply-To: <87k3w9509k.fsf@gnu.org> (Jason Rumney's message of "Tue, 04 Sep 2012 22:29:59 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.182 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:153012 Archived-At: >> Emacs tends to avoid 'const', though, partly >> because it predates 'const, and partly I expect because >> even in these other cases the readability advantage of >> omitting 'const' arguably trumps the minor advantages >> of using 'const'. > I think mostly because retrofitting const to a codebase the size of > Emacs is a huge task, and isn't something that can be done gradually. Indeed. I don't mind people using `const' in their code, but please don't go and add `const' all over the place. Stefan