From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Gerd_M=C3=B6llmann?= Newsgroups: gmane.emacs.devel Subject: Re: Building the igc branch on MS-Windows Date: Fri, 26 Apr 2024 20:30:17 +0200 Message-ID: References: <86il063imh.fsf@gnu.org> <87ttjqghyd.fsf@gmail.com> <86zfti101u.fsf@gnu.org> <87pluegd4z.fsf@gmail.com> <86ttjp20je.fsf@gnu.org> <87y191fwnd.fsf@gmail.com> <87cyqcfv6k.fsf@gmail.com> <86o79wzi31.fsf@gnu.org> <86mspgza23.fsf@gnu.org> <867cgkz7e2.fsf@gnu.org> <87r0esdv7o.fsf@gmail.com> <87le50dmec.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30128"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Helmut Eller Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Apr 26 20:30:54 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1s0QLW-0007a1-1X for ged-emacs-devel@m.gmane-mx.org; Fri, 26 Apr 2024 20:30:54 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s0QL9-0003Lm-57; Fri, 26 Apr 2024 14:30:31 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s0QL0-0003KP-Vh for emacs-devel@gnu.org; Fri, 26 Apr 2024 14:30:24 -0400 Original-Received: from mail-ej1-x630.google.com ([2a00:1450:4864:20::630]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s0QKz-0002WJ-Ac; Fri, 26 Apr 2024 14:30:22 -0400 Original-Received: by mail-ej1-x630.google.com with SMTP id a640c23a62f3a-a557044f2ddso313222766b.2; Fri, 26 Apr 2024 11:30:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1714156218; x=1714761018; darn=gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=LunRY09bBSCgFVvKP+VaWbc+D2sYN3dGVQzkjIaJeX8=; b=XLbMkXsWJOmg+PMj1fnls5G9FtZWhzuxFuVJ7jAGjFjy+CoBCopAZ8p3GObXubIj1e M+8NO8QRPlyspSlZWPm/WR6nYmag6P6MLULejhqiG0FI7RyrR7v3Mw0eOiV1xMlbfrUL LmvVag4cAz8XmDsFMkvGodURaDFrwCZ9beUg6oUwa+Q1UuKZZzBHgQ8SCmwTsNyqafx5 3/kJC1/WMXykR+C0G7VWevxP3CkdVft8e8cFEwsia7NC2WibUvMfElU0j0K0VX030ZyM MCjvjR8PJZ7X+BwWuj6H3qQqaeyC3tjzUzk3j8NvquDQyNl34FRDW6gVhAvmia218cJF 0/Ng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714156218; x=1714761018; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=LunRY09bBSCgFVvKP+VaWbc+D2sYN3dGVQzkjIaJeX8=; b=Um4tA/vIbeeUFfK0KkTwKtyhN4exPefZfF4p0uuiHJwaqvMO5XTAACXLbo4v1Dx5i1 VCbmnfzuKdpZ5xDunxSeOeFKdGyZraILcdHOWi0RcTYDs5xTW0vXfFLCoqbbeKAS7bPa wGso76klmkj9wPKaUw9JHiW0IWD+7xyXZYyxoM76zIy8pfboeOU0OaP25rKq0CP5/8hw Ou7VRI/48HbD8O/Qz+JiHGzWXmM/KhyoIzneiH0z47KGY86aR7awMfq088s4zOUCLovS PU4wgP+agWgIxE09gOIB/IQkgILGXxE8iCM7ORFTWTy2MkMVUemAcSzr1sYZKXtdaAvX 9gyA== X-Forwarded-Encrypted: i=1; AJvYcCVrObqLPx00Y634yM1byteYNNF9+Ctvax0cj4c4TexfqLa+HDdiiktS8H+Vv89y+BGEfeAETMcp12L10FBNUC5sdaS5 X-Gm-Message-State: AOJu0YzF2W9gffP57x6ZDWJNlpQ83I30F9H4Lv14dtvIWj/H6DTSMsnw TRd4AQq4DHlDlXYdIa9g6rDWvhVo2+SsYIKvMCYhpHiDY8JKMeHqtNtUmQ== X-Google-Smtp-Source: AGHT+IELXZpPgrAsKP8akmLQxxoFksTuSdlacl7U3C4eOsnGJZvSFwKshD/zw8yL/sY+pBxa2BiDmg== X-Received: by 2002:a17:906:488e:b0:a52:71bf:925c with SMTP id v14-20020a170906488e00b00a5271bf925cmr259642ejq.62.1714156218255; Fri, 26 Apr 2024 11:30:18 -0700 (PDT) Original-Received: from pro2.fritz.box (p4fe3a4eb.dip0.t-ipconnect.de. [79.227.164.235]) by smtp.gmail.com with ESMTPSA id r6-20020a170906704600b00a58e0d1d5bfsm86864ejj.221.2024.04.26.11.30.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Apr 2024 11:30:17 -0700 (PDT) In-Reply-To: <87le50dmec.fsf@gmail.com> (Helmut Eller's message of "Fri, 26 Apr 2024 20:11:39 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::630; envelope-from=gerd.moellmann@gmail.com; helo=mail-ej1-x630.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:318150 Archived-At: Helmut Eller writes: > On Fri, Apr 26 2024, Gerd M=C3=B6llmann wrote: > >> For me, it's echo_area_window, which is AFAICS not staticpro'd (booooh >> to myself). That leads to XWINDOW accessing a window that has been moved >> away. Haven't had to look further. > > What are the rules for staticpro? Are they written up somewhere? I > never needed that before. You would put them in syms_of_xdisp, and that's basically it. x =3D Qnil; staticpro (&x); y =3D Qnil; staticpro (&y); It's probably a good idea to make sure the vars are initialized to something before there is any chance that MPS sees them, or we actually, when we trace them. The calls to igc_..._var would also go there, also with inits. Thanks!