From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Psionic K Newsgroups: gmane.emacs.bugs Subject: bug#68568: transient.el interns potentially enormous symbols as commands Date: Sun, 21 Jan 2024 17:26:35 +0900 Message-ID: References: <87r0ibrwbd.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000004d75d8060f7079d4" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13695"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 68568@debbugs.gnu.org, Psionic K , Jonas Bernoulli To: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jan 21 09:27:18 2024 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 1rRTAk-0003KK-G8 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 21 Jan 2024 09:27:18 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rRTAT-0000OS-LD; Sun, 21 Jan 2024 03:27:01 -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 1rRTAR-0000Nz-8F for bug-gnu-emacs@gnu.org; Sun, 21 Jan 2024 03:26:59 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rRTAQ-0000iK-Vu for bug-gnu-emacs@gnu.org; Sun, 21 Jan 2024 03:26:58 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rRTAU-0007S2-86 for bug-gnu-emacs@gnu.org; Sun, 21 Jan 2024 03:27:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Psionic K Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 21 Jan 2024 08:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68568 X-GNU-PR-Package: emacs Original-Received: via spool by 68568-submit@debbugs.gnu.org id=B68568.170582561928631 (code B ref 68568); Sun, 21 Jan 2024 08:27:02 +0000 Original-Received: (at 68568) by debbugs.gnu.org; 21 Jan 2024 08:26:59 +0000 Original-Received: from localhost ([127.0.0.1]:36531 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rRTAR-0007Rj-27 for submit@debbugs.gnu.org; Sun, 21 Jan 2024 03:26:59 -0500 Original-Received: from mail-qt1-x833.google.com ([2607:f8b0:4864:20::833]:53396) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rRTAN-0007RT-29 for 68568@debbugs.gnu.org; Sun, 21 Jan 2024 03:26:57 -0500 Original-Received: by mail-qt1-x833.google.com with SMTP id d75a77b69052e-429fc7a1eacso23596991cf.2 for <68568@debbugs.gnu.org>; Sun, 21 Jan 2024 00:26:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=positron.solutions; s=google; t=1705825606; x=1706430406; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=dloEBZj3KdJzBPlHlMJA6ULDFy87atEumofpcuuYTa8=; b=IY4WE/v1/fj/pyhrSVkJyVU+towUfPm+dXeUZnPWTaLOXZzaklKKO2kXOtEahz6e1k 4yL2hKv381JBm8qS1lTGPBCJQUyQzTtssOne27OSPtQiZXIYEmryuqmBaHrzTaxy0ao0 dTCp/W1o57427GqZNgBvxi0Dq3hKnlbDcKltqhGoP56Lntf5srB6eX9MOUMPyzEyWaPz qtsNVNki8p+ALwpEBW748JolDxuy1bSErGg+zwd7/WwLevEwDxBwBORFvFuq3P5ZSsEU tYuQX78yjPg7aBsjF7r/yehFAc/YnYW+WNEVI7/nggJ/uCTGU8mtjLGFnqFQEnPeHy3c xRLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705825606; x=1706430406; h=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=dloEBZj3KdJzBPlHlMJA6ULDFy87atEumofpcuuYTa8=; b=dQ7QFyeFGAQBI7qAx9a5gjW/ufs4uG4mJ2osHFos2pO3nikwlKo2TWS7TvLbNnwMRw P1RhxYp+TzK3dOjuShsTrQhzQdAKjw8V5v4vxYLM8Khi2k5bviUlfQgAJ42QrNBNFvFs TrzHqqq5+y1Vyb+ATgpV280mBhsHjdVxydDzjPALfmmk5nZuJqYtiixMZaXNHlW1o8eN aCJ3kIDPx/zUF//EH6UFQGGPwsNESIOenj4FzorusH1pn9f7OvH7zNemCWGvB1Ahsw7A mEh7H1g+EBcmASLXuW2q8IusovFaNBHt9wA5bEcwzI/OaOjC62ZzHoeSgKBZK4NWRS8d I/Kg== X-Gm-Message-State: AOJu0Yzwto5ahU1TaEm8hNy+dUJ/7m4I4C8ya4BSDa2sADcD/HbawMJE WFZgw6hCGZyQrqROvdNIjnV3dzcI3iB2e8s6JE59ZtISi+I4LCC/7YXkHQkhMF3jxgFZhILxJ6v shnDV2RoDcVUnKvYF5i8DvlAK+gXkbtypo5axAw== X-Google-Smtp-Source: AGHT+IHq/r9lpx7MW5ah7e1m5P1wHo1UV/XEGtAj/lyRuB773W7EKPJNp6yMUTJpwkWqeHxSxjrZvpKr4pxVIaiuWVk= X-Received: by 2002:a05:622a:353:b0:42a:2a3b:12c5 with SMTP id r19-20020a05622a035300b0042a2a3b12c5mr3959341qtw.101.1705825606131; Sun, 21 Jan 2024 00:26:46 -0800 (PST) In-Reply-To: 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:278654 Archived-At: --0000000000004d75d8060f7079d4 Content-Type: text/plain; charset="UTF-8" > Not sure what you mean by "user" GPTel is on the user side of transient. Karthink or another contributor wrote GPTel to use transient that way. Perhaps they need to create new suffixes dynamically, but even that can be done with `define-suffix' etc. If someone calls `define-suffix' with a really long name, there's nothing transient can or should do about it. Actually, I recommend taking this to GPTel. You can ping me on their Github @psionic-k and I'll help Karthink or others consider an alternative approach that has sensible symbol names. > is highly likely to appear in the extremely long tail of the enormous symbol True, but the symbols in question contain "transient:" and ":--" strings that should be easy to filter out. Lots of completion packages can filter those. --0000000000004d75d8060f7079d4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
> Not sure what you mean by "user"<= /div>

GPTel is on the user side of transient.=C2=A0 Kart= hink or another contributor wrote GPTel to use transient that way.=C2=A0 Pe= rhaps they need to create new suffixes dynamically, but even that can be do= ne with `define-suffix' etc.=C2=A0 If someone calls `define-suffix'= with a really long name, there's nothing transient can or should do ab= out it.

Actually, I recommend taking this to GPTel.=C2=A0 You can pi= ng me on their Github @psionic-k and I'll help Karthink or others consi= der an alternative approach that has sensible symbol names.

> is highly likely to appear in the extremely long tail of the enormous symbol

Tru= e, but the symbols in question contain "transient:" and ":--= " strings that should be easy to filter out.=C2=A0 Lots of completion = packages can filter those.
--0000000000004d75d8060f7079d4--