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: João Távora <joaotavora <at> gmail.com>
To: Psionic K <psionik <at> positron.solutions>
Cc: 68568 <at> debbugs.gnu.org, Jonas Bernoulli <jonas <at> bernoul.li>
Subject: bug#68568: transient.el interns potentially enormous symbols as commands
Date: Sun, 21 Jan 2024 08:33:00 +0000
Sun, Jan 21, 2024 at 8:26 AM Psionic K <psionik <at> positron.solutions> wrote:

> 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.

It should probably not intern that stuff in the obarray.
UNLESS you know of a reason to.  Do you?

> True, but the symbols in question contain "transient:" and ":--" strings that should be easy to filter out.  Lots of completion packages can filter those.

Why should a completion package know about "transient"
or this :-- and be slowed down by this crud?




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.