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: Fri, 21 Jun 2024 18:25:25 +0200 Message-ID: References: <878qyy1f55.fsf@gmail.com> <87le2yuv9w.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6402"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Helmut Eller , Emacs Devel , Eli Zaretskii To: Ihor Radchenko Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jun 21 18:25:43 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 1sKh54-0001OH-SK for ged-emacs-devel@m.gmane-mx.org; Fri, 21 Jun 2024 18:25:42 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sKh4u-0002Qs-Sw; Fri, 21 Jun 2024 12:25:33 -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 1sKh4t-0002QN-Qb for emacs-devel@gnu.org; Fri, 21 Jun 2024 12:25:31 -0400 Original-Received: from mail-ej1-x62b.google.com ([2a00:1450:4864:20::62b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sKh4s-0004n1-6I; Fri, 21 Jun 2024 12:25:31 -0400 Original-Received: by mail-ej1-x62b.google.com with SMTP id a640c23a62f3a-a6fd4d1c173so97662266b.2; Fri, 21 Jun 2024 09:25:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718987127; x=1719591927; darn=gnu.org; h=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=pZvFrMq1VGeoR6FLT6EZond+Vk/no0yJukIJa/MKGBw=; b=kibKK3IJYyGLKUAEDTxw3S2Fp4wI3Qxc0cGLcqRY/xWIXkG3hbgSsOgrQoh0ODw4Xz txlBZe7zM7oyYspav/+4yPDIg7peLP5mCzqg9GySxxqt6GCNu6/1vmxc8MXIWoWNgPxy Y89nGGlzsx0blS6+9h6zLFP4V2A1jvSWJOGOjb6ba0nOz6Am2ueTHw6FD0X/e1HUT23i /NJAW572DSth6c5fzAn3Ktzw5Xwtj5peNEooSCde06QURpb+bQMS2p5TN683n1ELovUp yqDopET5Hpyxbqx+o/X9BuUJR2ePyFDTV8xfKHASVDzFn5vcH8W7JVkg0mSMDfDeaX3x 1CgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718987127; x=1719591927; h=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=pZvFrMq1VGeoR6FLT6EZond+Vk/no0yJukIJa/MKGBw=; b=Bvwf/L2jgG4yTk0babOxXzow/DnX5YXaOk74Kch+IDxiDB2Jo0AWjtsoPAcxRwzuV1 wzbY6qLZnnyNtCOJxIAIs1LGIyTzYfNrGEUyetZ0VpV7w1mAvcGsal10219ZtNY21EAy w1PIINZ//7x8mS5+zpvREPDocOlA/l/4+kc8EUfTNrCtfDPkwEtR7J0VLAIchPi8jF23 HgURoQ/uRbr6bpgM8FfJMD51+lKEN7KjV2AgB/Tq7NTRLKbmvQ0e4hhQU04bu8Bo+fbv so+ci9kNeUQRjbu10R/BZ2K6DSb3sikZpHD7++U1XdRbQ5wlGv5nxLfTFNoR+LYQTGTS DUAg== X-Forwarded-Encrypted: i=1; AJvYcCXYti7w4+OjdE0OkmpbSPZPcQnwV9guf8+61rinzTGoayn+dmRH7txWtCuUOgs2m5V9er7SirqBX1AvjZ/5v1blz1in9yy21myX/vRc85G9Z50= X-Gm-Message-State: AOJu0YwKURYGLCLYm1776r9UkgyQLJuxDJsb4SOSSPLv2T7LkPyUJ+OF EM5tbf1JwgCSPU0KZ77lxpMvf7XPcFBD+bGPE5NZV5vECyiFa353qdF7KA== X-Google-Smtp-Source: AGHT+IEpbJxS1ii7W/9oO59dKEahajoLUnDB68KoB3xh2miB+aaJze79jQmApMlU6RY6NaYyucEc+Q== X-Received: by 2002:a17:906:454c:b0:a6f:2448:a274 with SMTP id a640c23a62f3a-a6fab7792f7mr541985866b.59.1718987126480; Fri, 21 Jun 2024 09:25:26 -0700 (PDT) Original-Received: from pro2.fritz.box (p4fe3a72a.dip0.t-ipconnect.de. [79.227.167.42]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a6fcf56ece7sm99398266b.208.2024.06.21.09.25.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jun 2024 09:25:26 -0700 (PDT) In-Reply-To: <87le2yuv9w.fsf@localhost> (Ihor Radchenko's message of "Fri, 21 Jun 2024 16:15:39 +0000") Received-SPF: pass client-ip=2a00:1450:4864:20::62b; envelope-from=gerd.moellmann@gmail.com; helo=mail-ej1-x62b.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:320426 Archived-At: Ihor Radchenko writes: > Helmut Eller writes: > >> Can we use similar reasoning to remove fix_fwd? If predicate is >> guaranteed to be a builtin symbol, then we don't need to do anything for >> the Lisp_Buffer_Objfwd case. > > A side note: If some parts of the code now has to be careful about > handling built-in/non-builtin symbols, would it make sense to add some > relevant assertions to the debug build? Otherwise, future changes in > Emacs may accidentally introduce hard-to-debug crashes. That's why I'd much prefer an enum.