From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.bugs Subject: bug#62009: 29.0.60; Emacs crashes on setf symbol-name Date: Fri, 10 Mar 2023 14:19:03 +0100 Message-ID: <87bkl0wxq0.fsf@gmail.com> References: <87o7p5of4n.fsf@daniel-mendler.de> <871qm01s6n.fsf@web.de> <9fcf05e8-506c-6566-e214-2ecf3194b85e@daniel-mendler.de> <83bkl45ul4.fsf@gnu.org> <87v8j9zl3i.fsf@posteo.net> <83a60l13p2.fsf@gnu.org> <16ecbe9ea8ba9d39d058@heytings.org> <16ecbe9ea85b22d008fd@heytings.org> <43460d2c-ba80-0f2f-656c-ef0aca5667b5@daniel-mendler.de> <87fsacx2qf.fsf@gmail.com> <83o7p0ztxy.fsf@gnu.org> 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="633"; mail-complaints-to="usenet@ciao.gmane.io" Cc: philipk@posteo.net, michael_heerdegen@web.de, mail@daniel-mendler.de, gregory@heytings.org, monnier@iro.umontreal.ca, 62009@debbugs.gnu.org, arstoffel@gmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Mar 10 14:20:21 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1pacfU-000AU8-N4 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 10 Mar 2023 14:20:20 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pacfD-0005MF-Lv; Fri, 10 Mar 2023 08:20:03 -0500 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 1pacfC-0005Ly-Hf for bug-gnu-emacs@gnu.org; Fri, 10 Mar 2023 08:20:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pacfC-0006A4-6j for bug-gnu-emacs@gnu.org; Fri, 10 Mar 2023 08:20:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pacfB-0001QM-Mx for bug-gnu-emacs@gnu.org; Fri, 10 Mar 2023 08:20:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 10 Mar 2023 13:20:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62009 X-GNU-PR-Package: emacs Original-Received: via spool by 62009-submit@debbugs.gnu.org id=B62009.16784543525405 (code B ref 62009); Fri, 10 Mar 2023 13:20:01 +0000 Original-Received: (at 62009) by debbugs.gnu.org; 10 Mar 2023 13:19:12 +0000 Original-Received: from localhost ([127.0.0.1]:54049 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1paceO-0001P6-Dy for submit@debbugs.gnu.org; Fri, 10 Mar 2023 08:19:12 -0500 Original-Received: from mail-wr1-f52.google.com ([209.85.221.52]:36352) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1paceM-0001Oo-4r for 62009@debbugs.gnu.org; Fri, 10 Mar 2023 08:19:10 -0500 Original-Received: by mail-wr1-f52.google.com with SMTP id l25so5015427wrb.3 for <62009@debbugs.gnu.org>; Fri, 10 Mar 2023 05:19:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678454344; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=dwpzvF+1XxK0Nny+o+jlGdxGIVq3ucx5TDpzsqFqttQ=; b=YpfVE4w2sISZ1cAGB++vRbYxyeqw3Cl6ImIopaEBjL49zupm/YCfAli5cMoZny6FBj SvSncxu5H3AFySUNT2KKbykAMl7s/A+ZvMA+F8ALCz4eJYvvEHLk7knyVeleeks6DMap NRalgafbAbJJrCKO+TPT+cNZc4BTIi3tK8qkc3BeWqsKON/RHDfpP0SbfuMp2ax2VqB3 kGOsyUvAfNOJyn2b5oyPYAqRrYN3GNL9P5I0oxDF4yYi1VxayksayBk0X/+1gb4CJqCo btbC67pkgj/fYPANzqySJ+AA5pBnh56o/rbLdiDYzY1pjLgrHESo8FzXmGbUuB0ofySs kvAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678454344; h=content-transfer-encoding:mime-version: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=dwpzvF+1XxK0Nny+o+jlGdxGIVq3ucx5TDpzsqFqttQ=; b=Xd0C/q5zhPf+XT/MPAiuw1KAfPQUN7wr+YsBPxEJ1Wf/jyOoPI/KFheD32symCqiKy qj82EqvKEegnGpAK5NG6lR4W7yG/KVt1G4o7UHyExQOQeSLzjkqpY5PjcTdiPTdWoo5r OYgrwyzyRATCMvDRAjC9lgncKcODKj5j/fethBgCjImf/0ARi890VWNoYoENXKQJXsdR ayz7m9iDQALyLx37l98AVfBIbQ+def/1S3NZVKWVieCcH64TzPrzlRxHpn3wJfO8r9ks V0HlKm1xCXqQwSJ37Uvi8WyByCiv2jZofzeRvVqkjYwV8rB+eBujWUCv7ClB62NOUC5N alLA== X-Gm-Message-State: AO0yUKV9+5jXkVbsXY53hWsHPG95qz/8C1FEmiQOtoe/is0sGnUpRJcY DD4IfthUrY69qwH8667RDSw= X-Google-Smtp-Source: AK7set9UbIRjzorO02hhGZtNQutU4eQ1dgE4lwb7eNLMXY5c132lTm9HD4ggA9T2Pxw0tBZ5XgVTBA== X-Received: by 2002:a5d:45c1:0:b0:2ca:554c:17ab with SMTP id b1-20020a5d45c1000000b002ca554c17abmr1927571wrs.25.1678454344125; Fri, 10 Mar 2023 05:19:04 -0800 (PST) Original-Received: from rltb ([82.66.8.55]) by smtp.gmail.com with ESMTPSA id j17-20020a5d4651000000b002c573cff730sm2196813wrs.68.2023.03.10.05.19.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Mar 2023 05:19:03 -0800 (PST) In-Reply-To: <83o7p0ztxy.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 10 Mar 2023 14:12:25 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:257697 Archived-At: >>>>> On Fri, 10 Mar 2023 14:12:25 +0200, Eli Zaretskii said: >> From: Robert Pluim >> Cc: Gregory Heytings , Philip Kaludercic >> , michael_heerdegen@web.de, >> monnier@iro.umontreal.ca, 62009@debbugs.gnu.org, Eli Zaretskii >> , Augusto Stoffel >> Date: Fri, 10 Mar 2023 12:30:48 +0100 >>=20 >> diff --git a/src/lisp.h b/src/lisp.h >> index 1276285e2f2..80bbb047824 100644 >> --- a/src/lisp.h >> +++ b/src/lisp.h >> @@ -1685,6 +1685,8 @@ SREF (Lisp_Object string, ptrdiff_t index) >> INLINE void >> SSET (Lisp_Object string, ptrdiff_t index, unsigned char new) >> { >> + if (XSTRING (string)->u.s.size_byte =3D=3D -2) >> + Fsignal (Qsetting_constant, string); Eli> "Setting constant" is misleading. True. I was lazy and picked the first one I found. Eli> And again, why do that at all? It's a waste of cycles, incurred on Eli> _everyone_, for an extremely rare use case that is explicitly Eli> discouraged. We are not the TSA, and should not adopt their polic= y of Eli> punishing the innocent 99.99% on behalf of a handful of villains. I wasn=CA=BCt seriously proposing it for inclusion, just pointing out that it was possible. Robert --=20