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 05:28:28 +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="25782"; 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 05:29:25 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 1sLDuv-0006cq-Bp for ged-emacs-devel@m.gmane-mx.org; Sun, 23 Jun 2024 05:29:25 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sLDu7-0007ar-Sy; Sat, 22 Jun 2024 23:28:35 -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 1sLDu6-0007aI-7Z for emacs-devel@gnu.org; Sat, 22 Jun 2024 23:28:34 -0400 Original-Received: from mail-ej1-x62c.google.com ([2a00:1450:4864:20::62c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sLDu4-0000aS-Mf; Sat, 22 Jun 2024 23:28:34 -0400 Original-Received: by mail-ej1-x62c.google.com with SMTP id a640c23a62f3a-a724e067017so2678166b.0; Sat, 22 Jun 2024 20:28:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719113310; x=1719718110; 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=N9SBR0skRM+x6AfeBPDYRZTZSZQI7xPhDyou7EuxIrw=; b=A8C0sBPoYqSJOOqiAwh2TjZu6P4GSC+tLc8WHTOGz4ypXh6Tthv/rSn2F/u8yfsK3B 9q5b7ycEQ8cFNYmATvwFFxIVsT9WAVVjpucDZpC/KUAHXfxBbRCCq3ZHwYlLuv/7OkdK 6nueGWRS+OYQmXGsmJHSBSMtf98Zm47ulkgK00IuFrHb+F1+rYHuadHTiQjl9JclinRp u2J5QI8HaPZAZLDokP7lk0llVv27TNH9XVlEPAjgy4469xjh/WVPjBBMKIy18v+zisJ+ /Afbu3+wHVAFfjIaPYFBQmDP5M29QPbcAYrtqhSyLWZc8KBFG6n1gQx43jr9IwmdFiSz Pthg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719113310; x=1719718110; 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=N9SBR0skRM+x6AfeBPDYRZTZSZQI7xPhDyou7EuxIrw=; b=KcpcB3+kQkR98AHEOD+MmZnscrcr6lLUd9OZtyQx47Bpn8Znn1GBxmMv/1oe5icjhb 3OlCeQ5rWkVOA+kYPaAAgWrjWDT4bb4UTgePdCRiyK4L831tV7hEAr/de9M0q8cwR+cw hBbr88X+HHCF2Dud2c2scrcxQO7CW9+DdG7CQadZuW4iJ9QulPtawQTbHU7lZwkW6Uu+ 6By2GBnP6A19Vj7hnanqutX8RJ1I2T95vEkgLjcEyZsaOz0FhbkgnXTm23+X0Y+pnKYe ZRyjfVIqRmYrPS0dElx4UcptH1kRVUix/8/usE2ilnmsc7iXfCmRqpyzxusgqIpfoGme ac0w== X-Forwarded-Encrypted: i=1; AJvYcCXu8uHv0qsA2uGIMvKCBVcnUpraJ3pveBKhdATeSPH1FP7vux5M7bG0zOZYAMs2tDwRvO+IS1/eL3MXsLM= X-Gm-Message-State: AOJu0Yxs1PTI+TzB1mHo6CvGhmKNfuIwNwlGS0sV58b1Y+E5Tvhhbh9u /Uks3J7c6f05vyMQE/ABs4/6wJpQwFHqxxwoVk2Ots2BGhwuD94FapmvPA== X-Google-Smtp-Source: AGHT+IH8zw6/1vyqaeLqWLE2i7umzycemaIFjTrJSDKFyd30vQryj7mGP9SR6tOyoQcl1kf+fDwxkA== X-Received: by 2002:a17:906:ad6:b0:a6e:f997:7d91 with SMTP id a640c23a62f3a-a7245b812e7mr58047966b.38.1719113309956; Sat, 22 Jun 2024 20:28:29 -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-a6fcf429a64sm259448666b.26.2024.06.22.20.28.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 22 Jun 2024 20:28:29 -0700 (PDT) In-Reply-To: ("Gerd =?utf-8?Q?M=C3=B6llman?= =?utf-8?Q?n=22's?= message of "Sat, 22 Jun 2024 21:26:31 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::62c; envelope-from=gerd.moellmann@gmail.com; helo=mail-ej1-x62c.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:320493 Archived-At: 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/Con= tents/MacOS/ --eln-dest /Users/gerd/emacs/github/tinker/nextstep/Emacs.app/= Contents/Frameworks/ alloc.c:6159: Emacs fatal error: assertion failed: staticvec[i] !=3D vara= ddress