GNU bug report logs - #68568
transient.el interns potentially enormous symbols as commands

Previous Next

Package: emacs;

Reported by: João Távora <joaotavora <at> gmail.com>

Date: Thu, 18 Jan 2024 11:51:01 UTC

Severity: normal

Tags: wontfix

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Psionic K <psionik <at> positron.solutions>
To: João Távora <joaotavora <at> gmail.com>
Cc: 68568 <at> debbugs.gnu.org, Psionic K <psionik <at> positron.solutions>, Jonas Bernoulli <jonas <at> bernoul.li>
Subject: bug#68568: transient.el interns potentially enormous symbols as commands
Date: Sun, 21 Jan 2024 17:26:35 +0900
[Message part 1 (text/plain, inline)]
> 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.
[Message part 2 (text/html, inline)]

This bug report was last modified 1 year and 111 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.