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: Q about staticvec declaration Date: Wed, 27 Mar 2024 14:03:14 +0100 Message-ID: <3108b9bf-d282-46fc-ac1d-a129cc744d4f@gmail.com> References: <06146E97-A917-4645-B29F-5E26E58A2B7F@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21562"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: emacs-devel@gnu.org To: =?UTF-8?Q?Mattias_Engdeg=C3=A5rd?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Mar 27 14:04:23 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 1rpSx5-0005Rg-97 for ged-emacs-devel@m.gmane-mx.org; Wed, 27 Mar 2024 14:04:23 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rpSwF-0000CO-2T; Wed, 27 Mar 2024 09:03: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 1rpSw4-0008VZ-Kb for emacs-devel@gnu.org; Wed, 27 Mar 2024 09:03:27 -0400 Original-Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rpSw2-0000Oa-TG for emacs-devel@gnu.org; Wed, 27 Mar 2024 09:03:20 -0400 Original-Received: by mail-wr1-x429.google.com with SMTP id ffacd0b85a97d-34175878e3cso4791459f8f.0 for ; Wed, 27 Mar 2024 06:03:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711544596; x=1712149396; darn=gnu.org; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to; bh=uOoXitQtuMSg6eEhQAMLc/ZTc4Gt3f0RD+O8Ec5JIbY=; b=A9uaJJNLMcGoxOwZmoFxsXF8ZsSNDpcQoBudcMerQuokqoUJnDUW68AZWmA4YgjF5f a4QvxuWC+sLxhT0t58bCxZI1WI8FCcFURtnIjRDwP+UkYCkmm74AuUnpqgkt5cxkkjfJ iVs0N+0SOKAsp1J7p7KiMMCXC63V+qDzNza/zJv+ro4QhQT9N2r7Z2IpINLCykKejLiK 9SVmLtwcSmR2gPy5Cmy6nbi/eWBFq1dipUQqJZgAxog5si6dy0nUXFHaArPqm3mrhRS+ E09/ndSR/Eliiwsk7YGy9da/JRajnqZOztjm7k9OvfzGQwnV+u9RN5aC24Q6+YniG2ZB DtTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711544596; x=1712149396; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=uOoXitQtuMSg6eEhQAMLc/ZTc4Gt3f0RD+O8Ec5JIbY=; b=uMYho0j9EkTlFpbY573hN1S8OIc6tx13jMDFK7W3Vb+u7QgWJcDyV2lyJ4JvCvQvok T8jHzi3seP5yKsTJdOy39OIrRFAfYE7FwTrzCntWmqFDMSBOxfBgJMJl7/PxD47623vM O6+kMuFPCnEqQ4Q61SqA/C/eUouKbYhW5iFqFj7WkpNtD5mJ5ZKOrrSXUvaYd6JSzZ6u vvXeOSCw+h3aOzrE79prjupthEW2LHZKIjtKWhBip2JOoomoTXGUmE653jJt6qnWyzYk 0R3esTsZM85vg/O9kzxbcgVWttkReb4exGkvIT5a2ufZwyVolLegWOzJ27ZPmZdTCdun Lgkg== X-Gm-Message-State: AOJu0YyYlCIGBhMRQ4vzJDAthpuSfJxsacXE7KEAV6uBJKuhEfwS5IKW nKZ62lNWU3TzkXFFRDNhy/4cjpNNVPihVkep/nWFTUUHGpi8x44w X-Google-Smtp-Source: AGHT+IFiLGO8d43Jdlf2jWjALgFueiXVW1tOULoCLPtX9WA+KpsRC4Jtwh9F5CKApCcTpmm7kEuEPg== X-Received: by 2002:a05:6000:1b09:b0:341:c31b:fdfd with SMTP id f9-20020a0560001b0900b00341c31bfdfdmr1597764wrz.48.1711544596490; Wed, 27 Mar 2024 06:03:16 -0700 (PDT) Original-Received: from [192.168.178.26] (p4fe3ac7d.dip0.t-ipconnect.de. [79.227.172.125]) by smtp.gmail.com with ESMTPSA id bt17-20020a056000081100b00341b5cf0527sm4712033wrb.11.2024.03.27.06.03.15 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 27 Mar 2024 06:03:16 -0700 (PDT) Content-Language: en-US, de-DE Autocrypt: addr=gerd.moellmann@gmail.com; keydata= xsFNBGK3Qz4BEADz6clhctm9qf4lh1IJMOGL8dEBtyR8ZvdCtv1m7Oj5BVmBrHbF/hp/R/7m VAPNsyfPKNuqlesBmh/hr5zEHdzHMvLj8Hf5Yp8Ufo0ZqOtCzvIe62PHKvjt59FMNH3fpnId g5/8Kea2plWwH2u2hwxkhgC1mlMQFCILPED7OIMA3y4QvVbHqGP+kFl0OVHc4BeJHEXpVZTq RZl7q6V0LaXZtYWNffvQ/BWa9gmc1HztQTSBx6f3Lf9VTf5gQK7k691U+Vgyz7asKkHKeMO5 cdHAwsN+G+oI4KB2YCm2UMMpUKnoFLxdmswQGu1z6D75YlfxDLZmOTphlFXvIstoJnAgcT1Z ubowXAlHbxGnTfugZfe19xJxRTZ9zOty6m0aNaT4MshBQRj18nkZiBjZIoVQmluVMSgQ3kKJ cDzv+IijRf/9ekOcCfM8PK2pxOHX/lXm4fVW8hS4OMp/IPGTvAvu2ZXUOJSZpTUYz0EY3Al9 3XArmICvatrX/ePgvonkWJuruIQ6pPoefCsJyWaZj4/nrlW2mweDfVBkTbblbLO98UHM1TYu 1Pc0eTZChk7+5F8dXj7Tfn2Ll4xMVoYbIV5yEr1wMq/9d6S2EckCZAnH7R1romvtJhcse+uz tB2nyqxvCwMzZ28RrJiXkR4QIMSJi1ZMHU0dFQlkwZ/sRN0asQARAQABzSlHZXJkIE3Dtmxs bWFubiA8Z2VyZC5tb2VsbG1hbm5AZ21haWwuY29tPsLBlAQTAQoAPhYhBIq2Hj6Yk/Nh45H7 aXPqGxmQxT5jBQJit0M+AhsDBQkHhh9SBQ In-Reply-To: Received-SPF: pass client-ip=2a00:1450:4864:20::429; envelope-from=gerd.moellmann@gmail.com; helo=mail-wr1-x429.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:317341 Archived-At: On 27.03.24 13:54, Mattias EngdegÄrd wrote: > 27 mars 2024 kl. 13.15 skrev Gerd Möllmann > : > >> What I meant to ask is why are the Lisp_Objects considered const >> when viewed through staticvec. > > Oh, I see. No idea, but it's not obvious that all static roots are > free game for a moving GC (for example, there could be other > references that expect the static roots to remain unchanged for all I > know). Yes, that's what I'm trying to understand, if there is something that depends on that. Without success, so far. But it could also be a mistake, of course. Something like "const *" where "* const" was meant. Who knows...