GNU bug report logs - #64536
30.0.50; Make cl-print put buttons on ellipses

Previous Next

Package: emacs;

Reported by: Stefan Monnier <monnier <at> iro.umontreal.ca>

Date: Sun, 9 Jul 2023 04:44:01 UTC

Severity: normal

Found in version 30.0.50

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Ihor Radchenko <yantar92 <at> posteo.net>
Cc: Gemini Lasswell <gazally <at> runbox.com>, 64536 <at> debbugs.gnu.org
Subject: bug#64536: 30.0.50; Make cl-print put buttons on ellipses
Date: Sun, 13 Aug 2023 12:02:13 -0400
>> That's also what I thought at first, but the case of `inspect.el` made
>> me realize that it's likely that just letting them use
>> `backtrace-ellipsis` button is often not the right solution anyway.
> I am pretty sure that some uses of `backtrace-ellipsis' have nothing to
> do with printing Elisp values.

Could you expand on what makes you think so?
I grepped for it in Melpa and couldn't find any use of it at all, FWIW.

> At least, there is no reason why they should be limited to.

It was rather tightly integrated with `cl-print`, tho:
the button called `backtrace-expand-ellipsis` which itself looked for
a `cl-print-ellipsis` text-property and called
`cl-print-to-string-with-limit` and `cl-print-expand-ellipsis` on it.

>>> May it be possible to create an obsolete alias for this button type?
>> And I don't think we have such aliases.
> May it be added?

Patch welcome (especially if it comes together with some kind of
obsolescence mechanism).


        Stefan





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

Previous Next


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