From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Welsh Duggan Newsgroups: gmane.emacs.devel Subject: Re: Pseudovectors initialization Date: Tue, 26 Jun 2012 08:33:58 -0400 Message-ID: <87wr2utfpl.fsf@maru.md5i.com> References: <4FE9643E.6080004@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1340714063 5310 80.91.229.3 (26 Jun 2012 12:34:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 26 Jun 2012 12:34:23 +0000 (UTC) Cc: Emacs development discussions To: Dmitry Antipov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 26 14:34:22 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 1SjUyG-0004qz-1X for ged-emacs-devel@m.gmane.org; Tue, 26 Jun 2012 14:34:16 +0200 Original-Received: from localhost ([::1]:59648 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SjUyG-0001wN-1F for ged-emacs-devel@m.gmane.org; Tue, 26 Jun 2012 08:34:16 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:41701) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SjUyD-0001wI-4G for emacs-devel@gnu.org; Tue, 26 Jun 2012 08:34:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SjUy6-0000GU-Su for emacs-devel@gnu.org; Tue, 26 Jun 2012 08:34:12 -0400 Original-Received: from md5i.com ([75.151.244.229]:43060 helo=maru.md5i.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SjUy6-0000Fb-J1 for emacs-devel@gnu.org; Tue, 26 Jun 2012 08:34:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=md5i.com; s=dkim; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:References:Subject:Cc:To:From; bh=ycfluEWnCv1Svjh+LcU3c4d9yacZ5/XnP0yA3+AN43w=; b=Kyp6CaPg4hEV/GV9DyWyC0WFFhiFOPfs20R/F8+q523a41Unv7F7IN5IT2hH1y9J25nPRPq11+p+QMaUp9J7kuY6wu4sQGopn1rDgVLZaV/KPOY7JJJ5E+nTztpcJj4l; Original-Received: from md5i by maru.md5i.com with local (Exim 4.80) (envelope-from ) id 1SjUxz-0000oz-0R; Tue, 26 Jun 2012 08:33:59 -0400 In-Reply-To: <4FE9643E.6080004@yandex.ru> (Dmitry Antipov's message of "Tue, 26 Jun 2012 11:26:54 +0400") User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.1.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 75.151.244.229 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:151179 Archived-At: Dmitry Antipov writes: [...] > - f->focus_frame = Qnil; > - f->explicit_name = 0; > - f->can_have_scroll_bars = 0; > f->vertical_scroll_bar_type = vertical_scroll_bar_none; > - f->param_alist = Qnil; > - f->scroll_bars = Qnil; > - f->condemned_scroll_bars = Qnil; > - f->face_alist = Qnil; > - f->face_cache = NULL; > - f->menu_bar_items = Qnil; > - f->menu_bar_vector = Qnil; > - f->menu_bar_items_used = 0; > - f->buffer_predicate = Qnil; > - f->buffer_list = Qnil; > - f->buried_buffer_list = Qnil; > - f->namebuf = 0; > - f->title = Qnil; > - f->menu_bar_window = Qnil; > - f->tool_bar_window = Qnil; > - f->tool_bar_items = Qnil; Is it really safe to memset to zero that which should default to Qnil? -- Michael Welsh Duggan (md5i@md5i.com)