From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= Newsgroups: gmane.emacs.devel Subject: Re: Attaching context info to an error Date: Fri, 29 Dec 2023 17:54:30 +0000 Message-ID: References: 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="16438"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Stefan Monnier , emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Dec 29 18:55:35 2023 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 1rJH55-000455-N8 for ged-emacs-devel@m.gmane-mx.org; Fri, 29 Dec 2023 18:55:35 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rJH4J-0006j0-IH; Fri, 29 Dec 2023 12:54:47 -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 1rJH4I-0006ik-DO for emacs-devel@gnu.org; Fri, 29 Dec 2023 12:54:46 -0500 Original-Received: from mail-lj1-x22e.google.com ([2a00:1450:4864:20::22e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rJH4G-0001Jh-Mu for emacs-devel@gnu.org; Fri, 29 Dec 2023 12:54:46 -0500 Original-Received: by mail-lj1-x22e.google.com with SMTP id 38308e7fff4ca-2cc7d2c1ff0so75963281fa.3 for ; Fri, 29 Dec 2023 09:54:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703872483; x=1704477283; darn=gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=bdTFJ0Hw0Y05ZKsWgk1fHDDdplDElDVqwbd7K3hvD7w=; b=kD6sxS0O35nfScuUdq9s2t6V1vaVx0sMF3jnYdGAJ2vf/kXBv1UYm3Qffdvews0XL4 ZPo40jza89M03H5eOWPOvQ6uAe+VEtEXs3EUn1ljXaQLliL4fxyofLBABhQaIarM/iYG A1wWgua9R0t8Gsp6rUzF3w5w9IVFraV1qngR+w0/u87KrAMatPpQkJKr5aMJK7GACgqg 1uCyTtSaGfm1A1nvFqiBy/BtiaWJWg2A0+Xfvp2wizlyWCxD3bUtgVhjIerF506I2V20 bD2Gp1pcEAq/XuRBzKlZoors58S1pWzhx86FLTwSBkoY+gTmqmAnklV7CYcTik4rv3PG 1hxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703872483; x=1704477283; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=bdTFJ0Hw0Y05ZKsWgk1fHDDdplDElDVqwbd7K3hvD7w=; b=UqOkgV51io73jrqQ4OMguSjCMkOXL8SnXH2E/Bie+oxVkn5WvBKcWURCsK9xwnWF9I 0/f1dGvEbCR2CKc5cHQ/+sz3+1g3yPEd8HpjfoEP9xZmq5hn5kMTu1DMWEbS7eSDZKX1 awxqItTbfmFfWV9eSaW6Rm4NKMtiiv5u7x2tzCNeMjlHue46AbIjhoPvnXSRk6x5co9X 2cJrE62GCL10ms1bNnesfe9fuxGxu/6hpyNcQYg9KVt7dmEN6v9Wq/5ZTO8VErzMTUS/ ZBYWu1Z0KxzTwpekgrchY9ykp+vVlge/jWlPgv81yw9g3SQzRPvoJf+h0gCBBQlJ/tnR lKew== X-Gm-Message-State: AOJu0YzCnptAkWGU1k1ngxIc/rgLHic460yfb1a3B9PeAj6H1feU4j62 late/hPyV50Z81AeHRFcSiQ3rCKgDGhlmmqjCUcurE6X X-Google-Smtp-Source: AGHT+IF8U0JoEXfoz3+GXorz2exSFR6HhElbdI0C5XGo0/D9KXuoeUmT/ksuL8Hs2jmQMsbDJ249EQRRfIXfi6KKtN0= X-Received: by 2002:a05:651c:507:b0:2cc:a586:8059 with SMTP id o7-20020a05651c050700b002cca5868059mr6959037ljp.42.1703872482557; Fri, 29 Dec 2023 09:54:42 -0800 (PST) In-Reply-To: Received-SPF: pass client-ip=2a00:1450:4864:20::22e; envelope-from=joaotavora@gmail.com; helo=mail-lj1-x22e.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, T_SCC_BODY_TEXT_LINE=-0.01 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:314336 Archived-At: On Fri, Dec 29, 2023 at 5:43=E2=80=AFPM Alan Mackenzie wrote: > > It's a similar object with a unique type. > > Similar to what? The object that signal() would craft and appear to Lisp is similar to how symbol-with-pos is passed to, say, compiler macros (breaking some of them, last I remember, but that's besides our discussion). > > So it's going to need more arguments than just being scared of generic > > functions. > > There's no fear involved at all. cl-lib is an exceptionally > controversial part of Emacs, as we established two or three weeks ago. > It's poorly documented, and likely buggy. It's not something to be > moved to the centre of the Emacs Lisp machine. generic functions aren't in cl-lib, and, once again, noone is proposing doing anything of the sort, so why you bring cl-lib up is mystery to me. > > Noone is advocating for calling generic functions from C or preloading > > them, etc, so don't worry about it. > > That's got no connection with what I wrote. What I'm asking you to > confirm is that you're not contemplating introducing error handling > machinery which, during bootstrap, will only work after Lisp code has > been loaded. I think I can confirm that yes. Jo=C3=A3o