From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: hash-table-{to, from}-alist Date: Thu, 04 Dec 2008 15:34:54 +0900 Message-ID: References: <863aknitfg.fsf@lifelogs.com> <86ej14vhvg.fsf@lifelogs.com> <20081122054510.GA28298@tomas> <873ahkkkt5.fsf@xemacs.org> <20081122152126.GA4142@tomas> <87vdufk6do.fsf@xemacs.org> <867i6tt4yz.fsf@lifelogs.com> <87bpw4k1z6.fsf@xemacs.org> <86bpw3d829.fsf@lifelogs.com> <87k5ari5jh.fsf@xemacs.org> <86prkiiia2.fsf@lifelogs.com> <86ej0ygr5j.fsf@lifelogs.com> <861vwygpc6.fsf@lifelogs.com> <868wqzd06x.fsf@lifelogs.com> <867i6hrrh9.fsf@lifelogs.com> <877i6gxxuo.fsf@uwakimon.sk.tsukuba.ac.jp> Reply-To: Miles Bader NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1228372526 27959 80.91.229.12 (4 Dec 2008 06:35:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 4 Dec 2008 06:35:26 +0000 (UTC) To: Stefan Monnier , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 04 07:36:29 2008 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 1L87p4-00013y-IK for ged-emacs-devel@m.gmane.org; Thu, 04 Dec 2008 07:36:26 +0100 Original-Received: from localhost ([127.0.0.1]:38905 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L87nt-0007gp-Ri for ged-emacs-devel@m.gmane.org; Thu, 04 Dec 2008 01:35:13 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L87nl-0007gM-A2 for emacs-devel@gnu.org; Thu, 04 Dec 2008 01:35:05 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L87nj-0007g7-8P for emacs-devel@gnu.org; Thu, 04 Dec 2008 01:35:04 -0500 Original-Received: from [199.232.76.173] (port=46936 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L87ni-0007fs-Sg for emacs-devel@gnu.org; Thu, 04 Dec 2008 01:35:02 -0500 Original-Received: from tyo201.gate.nec.co.jp ([202.32.8.193]:41397) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1L87nd-0003Ks-V6; Thu, 04 Dec 2008 01:34:58 -0500 Original-Received: from relay31.aps.necel.com ([10.29.19.54]) by tyo201.gate.nec.co.jp (8.13.8/8.13.4) with ESMTP id mB46YrNx011647; Thu, 4 Dec 2008 15:34:54 +0900 (JST) Original-Received: from relay11.aps.necel.com ([10.29.19.20] [10.29.19.20]) by relay31.aps.necel.com with ESMTP; Thu, 4 Dec 2008 15:34:54 +0900 Original-Received: from dhapc248.dev.necel.com ([10.114.113.195] [10.114.113.195]) by relay11.aps.necel.com with ESMTP; Thu, 4 Dec 2008 15:34:54 +0900 Original-Received: by dhapc248.dev.necel.com (Postfix, from userid 31295) id 14FDC455; Thu, 4 Dec 2008 15:34:54 +0900 (JST) System-Type: i686-pc-linux-gnu Blat: Foop In-Reply-To: <877i6gxxuo.fsf@uwakimon.sk.tsukuba.ac.jp> (Stephen J. Turnbull's message of "Thu, 04 Dec 2008 15:23:27 +0900") Original-Lines: 24 X-detected-operating-system: by monty-python.gnu.org: Solaris 8 (1) 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:106550 Archived-At: "Stephen J. Turnbull" writes: > > > + Lisp_Object ht = Fmake_hash_table (param_count, params); > > > + Lisp_Object key = Qnil; > > > > We recently decided it was OK to use ANSI C syntax for function headers, > > but I don't think ANSI C allows such variable declarations in the middle > > of a block. > > ISTR that C99 does allow those declarations (which is a GoodThang[tm] > IMHO), but C89 definitely does not allow them (and portability is a > GooderThang[tm], so let's not do that). BTW, is it now OK to use initializers with Lisp_Object variable declarations? As I understand it, those used to be proscribed in emacs because they didn't work correctly in some case (IIRC, some ancient IBM compiler generated incorrect code), but enforcement has always been spotty, and I expect the codebase is so chock full of such initializations now that it's very unlikely it's really still a problem... -Miles -- Suburbia: where they tear out the trees and then name streets after them.