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: MPS: Forwording symbols Date: Sun, 23 Jun 2024 06:10:41 +0200 Message-ID: References: <878qyy1f55.fsf@gmail.com> <87o77szwif.fsf@gmail.com> <877cegzu5j.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="27941"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Emacs Devel , Eli Zaretskii To: Helmut Eller Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jun 23 06:11:41 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 1sLEZo-00076p-Nz for ged-emacs-devel@m.gmane-mx.org; Sun, 23 Jun 2024 06:11:40 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sLEYz-0006iq-FU; Sun, 23 Jun 2024 00:10:49 -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 1sLEYx-0006iT-Es for emacs-devel@gnu.org; Sun, 23 Jun 2024 00:10:47 -0400 Original-Received: from mail-ej1-x634.google.com ([2a00:1450:4864:20::634]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sLEYv-0007x4-TN; Sun, 23 Jun 2024 00:10:47 -0400 Original-Received: by mail-ej1-x634.google.com with SMTP id a640c23a62f3a-a6f8ebbd268so711947166b.0; Sat, 22 Jun 2024 21:10:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719115843; x=1719720643; 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=jEAguZ0f/6bat8ZWjeY5QwPUNJu1jio5fPfFJR9l75w=; b=CDE48CX3G4f//5cGfufvRGG6ONSrpBYBgvhzzKaJhmrYnV3LWrPoJk3oTedHEvN7vu nQ4qwfAQY5SsCFcrV6nK4c19hRa73DTBbdiVdVdtW2+dKjDF10pVCkATvbvHqUAwzI2d sgVIorNrvOHMZVdepUOUkK69uFMDde+d2VurAH8C3qIKlAlUjeIJmZMVJW+JAvSPJrem 4JtHfle8uLJ5b5Tczakyr1vBvGONcPYnu1Iu0uZrkyOQnV3nRzfBntSMVBdulCWsC59Y Qcrm0Omn96TOAwjiTAjqAAv4nptdjDWiVO86BiCzE4AL+/lEMnex9ybEci+Od0Oce/nm QVpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719115843; x=1719720643; 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=jEAguZ0f/6bat8ZWjeY5QwPUNJu1jio5fPfFJR9l75w=; b=mVhojnh9+X8TGxCSuiO3sa/Sq0e8gYVa9jP3rO3rH3Z1grjSvAG9nFetnHLw2M5ggQ UvcKyD+CWcSBShs2D6Cv38ArfAcnXIN3Tb/nE/hCoYSVkxjOI34byuwscAJWFfB/y6Tr axkhTk0YdsTJo0wuQEVL5MbG3gAPKEAFu76YsB/txw9FYqu7FL88+OdBCBQgzPReN0Ra TaB3BwNW8dr87KMDOzaQC+oFJXCBDWC1XUS60XrAvDW4SqAUhiSuaR3oSJj+MHYGRU20 CrXYmTcVJ6Nt06cEo8DeYakwgOUyKcIpJQZhO4EY/W0Hz63s1nSJcJBbgbo7vlCKm5nA BcKQ== X-Forwarded-Encrypted: i=1; AJvYcCXcs7/uB1T4zNvEFvWoKynQR5DZfI6zCNDvpJn+rd0FdTfaRVP5wWC83a3blMc83sa8oRDwWAvDsO3LG64= X-Gm-Message-State: AOJu0YzLvBd0VROj2uvXoqrMdx/9AbbLwY2YSJUXMNw1vMtRH0hd1N2H eQPedTwsFzawzhzbcZX7ApesoqSq0uCB0AQ7hzIDtVxcYoCGT6a1G9pbAw== X-Google-Smtp-Source: AGHT+IGFAeQKs8ZfWdfjkiFsMIgYFaEqDw/mcXsbbkLtfVrVZfpbsk7eO/HAS1FQgm8/2JdlYzCIFQ== X-Received: by 2002:a17:907:cbc9:b0:a6f:b193:758e with SMTP id a640c23a62f3a-a70385e67dfmr174700866b.29.1719115842620; Sat, 22 Jun 2024 21:10:42 -0700 (PDT) Original-Received: from pro2.fritz.box (p4fe3abd0.dip0.t-ipconnect.de. [79.227.171.208]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a7240f37b16sm102632066b.109.2024.06.22.21.10.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 22 Jun 2024 21:10:42 -0700 (PDT) In-Reply-To: ("Gerd =?utf-8?Q?M=C3=B6llman?= =?utf-8?Q?n=22's?= message of "Sun, 23 Jun 2024 05:28:28 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::634; envelope-from=gerd.moellmann@gmail.com; helo=mail-ej1-x634.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:320494 Archived-At: Gerd M=C3=B6llmann writes: > Gerd M=C3=B6llmann writes: > >> Helmut Eller writes: >> >>> On Sat, Jun 22 2024, Gerd M=C3=B6llmann wrote: >>> >>>>> This would require translating symbols to enums and back. Or do you >>>>> think about something else? >>>> >>>> I haven't looked at all places. Could you please explain where that is >>>> needed? >>> >>> The symbol is needed in store_symval_forwarding. It looks in the plist >>> for 'choice and 'range. In addition to the five symbols mentioned in >>> the definition of Lisp_Buffer_Objfwd, predicate can also be >>> 'overwrite-mode, 'vertical-scroll-bar and 'fraction. I think those have >>> those properties; weird. >> >> I guess then it's better to leave the enum part out. That seems to >> become too much work. What an ugly corner. > > BTW, the latest HEAD doesn't build with --enable-checking, maybe > something with DEFVAR_NOPRO. I'll try to fix that. > > rm -f bootstrap-emacs.pdmp > ./temacs --batch -l loadup --temacs=3Dpbootstrap \ > --bin-dest /Users/gerd/emacs/github/tinker/nextstep/Emacs.app/C= ontents/MacOS/ --eln-dest /Users/gerd/emacs/github/tinker/nextstep/Emacs.ap= p/Contents/Frameworks/ > > alloc.c:6159: Emacs fatal error: assertion failed: staticvec[i] !=3D va= raddress That was in my fork only. Reason is that I need CL packages very early on to do anything interning symbol, of course. And *emacs-package* and *package* and so on need to be variables, too, later. I've made me a DEFVAR_NOPROX for such cases. And pushed.